GeoDB Cities

By wirefreethought
Updated 3 months ago
Popularity Score
Success Rate
simon.mercier59a month ago
Language tagHello, When i search for "Paris" (for example) with "FR" languageCode i got nothing. Wheter I do this in the demo page or in my application. This this a get request from the demo page : GET /v1/geo/cities?limit=5&offset=0&namePrefix=Paris&languageCode=fr What did I miss ? Thanks
wirefreethoughta month ago
You got it! Thanks for helping improve the api.
simon.mercier59a month ago
Thansk ! It works in the demo page.
wirefreethoughta month ago
This fix has been deployed. Please try again.
wirefreethoughta month ago
Ah yes. At some point, I made an optimization to ignore translations where the literal text matched the default English. This is one such case. However, I did not simultaneously update the code to return the default language if the requested one wasn't found. Will update here once the fix is deployed.
Hi Developer, feel free to post your answer:

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-Host", "")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication