Sign Up

Log In

GeoDB Cities

By wirefreethought
Updated 5 months ago
Popularity Score
Success Rate
mzerbinatti8 months ago
Bad Request errorHi, 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!
wirefreethought8 months ago
Glad it's working for you. And great suggestion about the search normalization regarding accent marks and such. I will look into that.
mzerbinatti8 months ago
Oh, and I have updated my code, and now it is working with the new parameters (radius and distanceUnit)
mzerbinatti8 months ago
] 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!!
wirefreethought8 months ago
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!
mzerbinatti8 months ago
Oh ok, I have read theses changes now.. I will update my code to solve it!! Thank you for your fast answser !!
wirefreethought8 months ago
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.
mzerbinatti8 months ago
Oh, yes.. One of request is: Thank you.
wirefreethought8 months ago
The only recent change happened on March 18. See this blog entry: Nothing has changed since then. Can you paste the specific request you're making? I'll have a look shortly.
Hi Developer, feel free to post your answer:
Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard