• Installs:
  • Today: 0
  • All Time: 612
8 Answers
Follow conversation
Bad Request error

Something has changed in this API?

Because I was usually using it and today I'm receiving "Bad Request" error.

Could you verify, please?

Thank you!
wirefreethoughtresponded with an answer
The only recent change happened on March 18. See this blog entry: http://geodb-developer.wirefreethought.com/entries/feature/sort-cities-get-the-user-s-current-city--and-more. Nothing has changed since then.

Can you paste the specific request you're making? I'll have a look shortly.
wirefreethoughtresponded with an answer
Yes, unfortunately, your call was affected by those changes. I had tried to send out a message to existing users asking if they may be affected and didn't hear anything back, so assumed no one was using those parameters. In the future, any such potentially breaking changes will be scoped by an API version, so your existing code will continue to work. Sorry about that.

To summarize, the changes are:
- nearLocationRadius -> radius
- nearLocationRadiusUnit -> distanceUnit

See updated API docs here:

Sorry again.
mzerbinattiresponded with an answer
Oh ok, I have read theses changes now..

I will update my code to solve it!!

Thank you for your fast answser !!
wirefreethoughtresponded with an answer
My pleasure! Let me know once things are working so I can close this ticket.

Please feel free to also write about any suggested improvements or desired features.

Thanks for your valued support!
mzerbinattiresponded with an answer

Oh, one suggestion !!

When we find cities, they are one returned when we type their name corretly, with accent mark, for example:

- São Paulo (the cities are returned)

But if I type:

- Sao Paulo (without accent mark at "a")

The cities are not returned..

It would be better if the cities are returned with both (São Paulo and Sao Paulo), desconsidering de accents marks of the names of cities,

Thank you!!
mzerbinattiresponded with an answer
Oh, and I have updated my code, and now it is working with the new parameters (radius and distanceUnit)
wirefreethoughtresponded with an answer
Glad it's working for you. And great suggestion about the search normalization regarding accent marks and such. I will look into that.
userHello developer, Please Sign in to post an answer
GeoDB Cities
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.


Why sign up to RapidAPI?

  • integrate
    Integrate APIs into your app
    Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
  • keys
    Save all API keys in one place
  • notifications
    Get notifications about API changes
  • stats
    Get stats and monitor API connections
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view


    esccloses this view