GeoDB Cities

FREEMIUM
By wirefreethought
Updated 3 months ago
Data
9.6/10
Popularity Score
128ms
Latency
100%
Success Rate
SemVC9 months ago
Free tier pricingHi there, The information is not the same for free tier: http://geodb-cities-api.wirefreethought.com/pricing => the free tier can have 432,000 request / day && https://market.mashape.com/wirefreethought/geodb-cities/pricing => the free tier can have 1,000 request / day Which one is correct? I guess the 432,000 request/day? Best regards, Sem
wirefreethoughta month ago
Hi Audrie. Just saw your reply on this thread. That's a RapidAPI requirement. They will not allow you to subscribe to any plan, even one that's free, without a valid credit card. Note you will only actually be charged if subscribing to paid plan.
audrie6 months ago
Why do I need to supply a credit card for the free subscription?
SemVC9 months ago
Allright, that explains! Thanks alot ;-)
wirefreethought9 months ago
Hi Sem. Thanks for noticing that! What is meant on the Portal site is there is a free INSTANCE that allows the 432,000 requests/day (with certain other limitations as detailed on the pricing page). This is distinct from the Basic plan described on the Mashape pricing page, which is really intended as a trial plan before subscribing to a Pro tier. Admittedly, this is a bit confusing, so I have changed the wording slightly on the Portal site to say 'free instance'. Michael
Hi Developer, feel free to post your answer:

Install SDK for NodeJS

Installing

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

unirest.get("https://wft-geo-db.p.rapidapi.com/v1/locale/locales")
.header("X-RapidAPI-Host", "wft-geo-db.p.rapidapi.com")
.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