City and State Search API
The City and State Search API is a powerful and versatile tool for anyone looking to access and explore location data from around the world. With a collection of over 150,000 cities, 5,500 states, and 250 countries, this API is the ultimate resource for developers, researchers, and anyone else interested in urban areas. The API features a wide range of endpoints and filtering options, making it…
City and State Search API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Search /search |
This endpoint allows you to search for locations (cities, states, or countries) by name. It returns a list of locations that match the specified search query. |
| GET |
Countries List /countries |
This endpoint returns a list of countries. |
| GET |
Countries Search /countries/search |
This endpoint allows you to search for specific countries by name. It returns a list of countries that match the specified search query. |
| GET |
Country Details /countries/{country} |
This endpoint allows you to retrieve detailed information about a specific country by ID or his name. |
| GET |
States List /states |
This endpoint returns a list of States .It returns basic information about each state, such as name, code, and country. You can also use this endpoint to retrieve a list of… |
| GET |
States Search /states/search |
This endpoint allows you to search for specific states by name. It returns a list of states that match the specified search query. You can also set country code or country name… |
| GET |
States Details /states/{id} |
This endpoint allows you to retrieve detailed information about a specific state by ID |
| GET |
Cities Search /cities/search |
This endpoint allows you to search for specific cities by name. It returns a list of cities that match the specified search query. |
| GET |
City Details /cities/{id} |
This endpoint allows you to retrieve detailed information about a specific city by ID |
City and State Search API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|