World Cities

FREEMIUM
By andruxnet
Updated 7 months ago
Location
8.4/10
Popularity Score
490ms
Latency
100%
Success Rate

World Cities API Documentation

Get a list of cities that match a search criteria. Results in JSON and include city, state and country. Search criteria is also applied to states and countries.

Optionally, provide a "searchby" parameter that can be one of "city", "state" or "country" to narrow the results.

View API Details
GETQuery
GETQuery

Use a query with at least 3 characters to search for a city, state or country matching the query

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
querySTRING
OPTIONALIt can be part of the name of a city, state or country. At least 3 characters are needed.
searchbySTRING
OPTIONALOptionally search by city, state or country to narrow the results.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication