Overview
Autocomplete places and list countries and states.
Subscribe on RapidAPIThe Places API powers location fields in forms and apps: type-ahead search for cities, states/regions and countries, and the reference lists behind country and state selectors.
What you get
- Autocomplete: cities, states/regions and countries whose name starts with what the user typed, best match first, with a ready-to-display label, coordinates, time zone and currency.
- Countries: every country once, with its two-letter code, in alphabetical order.
- States: the states, provinces or regions of one country, in alphabetical order.
Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /places/v1/autocomplete | Search places by name prefix |
GET | /places/v1/countries | List countries |
GET | /places/v1/countries/{country_code}/states | List the states/regions of a country |
GET | /places/health | Service status |
POST | /places/mcp | MCP tools for AI assistants |
All endpoints are read-only and return the same envelope: { "success": true, "data": ... }.
Next: Quickstart.