Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 403 and Error 15, Access denied #12

Open
10ken opened this issue Jul 16, 2024 · 1 comment
Open

Error 403 and Error 15, Access denied #12

10ken opened this issue Jul 16, 2024 · 1 comment

Comments

@10ken
Copy link

10ken commented Jul 16, 2024

I am working with your API locally.

When I first ran data = get_property_list_by_city("Toronto, Ontario"), it returned an error,

HTTPError: 403 Client Error: Forbidden for url: https://nominatim.openstreetmap.org/search?q=Toronto,%20Ontario&format=json

I reviewed the url by openstreetmap, it did provide me with the correct information each time I ran it, although it had returned a client error.

I manually copied the json results from the website to get the boundingbox values and saved it as coords, I ran

get_property_list( coords[0], coords[1], coords[2], coords[3], current_page=1)

Error 403: Rate limited

and as well as

When i ran get_property_list for the first time, I got a
Screen Shot 2024-07-16 at 12 06 37 PM

Is this an active API that can be used by anyone?

@lRIP
Copy link

lRIP commented Jul 20, 2024

I have the same issues, started happening about a month ago.

For https://nominatim.openstreetmap.org HTTPError: 403 Client Error: Forbidden I had to start rotating a fake user agent in, using fake_useragent module. No issues seen since then.

For the realtor api itself I'm getting the same Access denied using 'https://api2.realtor.ca/Listing.svc/PropertySearch_Post', I'm assuming the API blocked some users or the API is no longer active?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants