Browse our database of cities with our API (100K+ cities)
Search through a database of over 100K cities with our API. Get detailed city data for your applications.
Free
Search our cities to filter companies in a specific location.
Query parameters
pagenumber (optional)
The page to fetch (default to 1).
searchstring (optional)
An additional search query applied to the city name.
sizenumber (optional)
The number of cities to be returned (between 1 and 20). Default to 10.
Response
citiesarray
The cities that match your conditions.
metaobject
The metas information.
Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/cities
Real humans to help you live
We are always happy to help you and improve your experience with us.
Do you have any questions? We're here to help.
Hi, I need a specific datapoint for my product but it seems that you don't have in your database. Can you help me?
I have notified the team about this. Let us 15 days and it will be live on the platform. Thank you for the idea!