City Location API

Opentripmap city location API for fetching geographic coordinates for the given placename
The Opentripmap city location API has data for the purpose of fetching geographic coordinates for the given placename. There are countless platforms which are being developed with the use of the city population API. Programmers keep coming with new ideas for using the API, let’s provide you with a few possible cases; building map features, displaying city information on websites, worldwide population analysis, applications, website plugins, travel platforms and websites and more and most certainly there are much more you can come up with. You may filter this API to get the output based on lang, name and country. Customers use the API within the geolocation, travel, and location intelligence sector. Some examples of the type of business using the data are geolocation data services, travel and booking websites, mobile app developers, map platforms, location analysis platforms and more, generally the customers might be small business, medium business and enterprises. This API has global data coverage available.

City Location API endpoints

GET /{lang}/places/geoname
To be able to get a data output as in the example response, you need to connect to the city location data endpoint by sending a GET request to the endpoint; /{lang}/places/geoname with the right parameters. All leading coding languages work with the data output. Customers simply need to attach the private API key as an endpoint parameter and customers can start receiving the data. Place the API endpoint in the URL to make the request. To be able to obtain the output desired, use the objects and parameters as described in the table.

Filter parameters for city location API

The city location API has the following filters available that you can use.

Data object attributes for city location API

Interpret the objects and the associated description with the table to be able to use the system also make use of the parameters available to be able to attain the desired data output.
Objects Description
country 2-digit country code
timezone City time zone
name City name
lon City longitude
lat City latitude
population City population

Output response of city location API

Opt-in for the API to request the full response outputbut you can already find an example of the data response on this page.
  "country": "RU",
  "timezone": "Europe/Moscow",
  "name": "Moscow",
  "lon": 37.61556,
  "lat": 55.75222,
  "population": 10381222


The data output via the API system can be provided as JSON format and software development kits are accessible by email for all major programming languages such as; phyton, c++, r, java, javascript, matlab, node. Js, go, php, haskell, net, typescript,tensorflow and ruby. Now just filter the city population API using any of the filter parameters and use the SDKs to build the project.

City Location API pricing

Trials and samples are free if requested, simply write an email and request it. Customers should be able to access the populated place data and check if it is precisely that what customers are seeking for. After testing the data, people can determine if they are ready to continue with the premium version.

Price and cost of API

You can promptly connect Opentripmap API with the price tag starting monthly from $19 or contact the API provider for more information now.
Option Price
Monthly subscription From $19/month
Variable pricing no

Free Trial

Free trial is available

Alternative options


City API
City API by Azavea is here to offer extensive and necessary elements necessary to have in geospatial tech solutions, building city detail features for apps, websites, travel and aviation platforms and more fields. City API brings precise geospatial tech solutions, building city detail features for apps, websites, travel and aviation platforms and more data for creating mobile apps, websites, tools, programs, market analysis and much more.


City Boundaries API
The city boundaries API is the ideal tool to precisely receive Cities data to your product. City Boundaries API presents Cities databases to advance fetching the boundary of the specified city as a MultiPolygon GeoJson Feature objectives to reinforce companies globally.


City Map Cells API
City Map Cells API provides external data solutions to build data-oriented products for exposing the underlying grid point used for each city and dataset combination objectives. The city map cells API is the optimal data tool to precisely receive Cities data to your project.

API Ninjas

Geocoding API
Geocoding API maintains Cities databases to develop converting any city from any country to latitude and longitude coordinates objectives to advance companies worldwide. This geocoding API is inclusive of a gigantic volume of Cities data with the full data details you need.

API Ninjas

Reverse Geocoding API
Reverse Geocoding API provides detailed website plugins, map applications, city location services, geocoding analysis, travel and location related websites and more data for advancing iOS and Android apps, online services, tools, programs, market analysis and more. This reverse geocoding API includes a gigantic volume of Cities data with the complete elements you need.

Sign up for Opentripmap city location API

Get Data Access

~[ ∵ ]~

Sign-up Succesful

Wait for the Data