Open Places API

Coverage

Places API for Spain.

1,680,224 places in Spain, searchable with one GET request. Mainland Spain and the islands, with diacritic-insensitive matching for queries like 'cafe' vs 'café'.

One request away.

Search "tapas" near Madrid (40.4168, -3.7038) and get JSON back: names, coordinates, categories, structured addresses, and distances in miles.

curl -G "https://api.openplacesapi.com/v1/places" \
  --data-urlencode "q=tapas" \
  --data-urlencode "lat=40.4168" \
  --data-urlencode "lon=-3.7038" \
  -H "Authorization: Bearer $OPEN_PLACES_API_KEY"

Coordinates to try: Madrid 40.4168, -3.7038 · Barcelona 41.3874, 2.1686 · Seville 37.3891, -5.9845

What you can build with it.

Travel & itinerary apps

Surface food, sights, and services around hotels and route points across Spain.

"What's nearby" features

Real estate, delivery zones, and store finders: anything that asks what's near a coordinate.

AI agents

Give an agent real Spain places instead of hallucinated ones. See the agent guide.

Spain coverage FAQ.

Does Open Places API cover Spain?

Yes. 1,680,224 places in Spain are live in production search today. Coverage we list is coverage that answers: if a request can't be served, the API returns a clear error instead of partial results.

Where does the Spain place data come from?

From the Overture Maps Foundation Places dataset: open data backed by Meta, Microsoft, Amazon, and TomTom. Open Places API tracks Overture's monthly releases and promotes each one after validation.

Can I add my own places in Spain?

Yes. Account-owned layers let you add private records, correct base data, and suppress places, merged into every search your API keys make, on top of or instead of the Overture base.

What does it cost?

Plans are flat with hard caps: free for 10,000 searches a month, $19 for 100,000, $99 for 1 million. When you hit the cap the API returns a 402 and stops. It never bills an overage.

Also covered.

United States · Canada · Mexico · United Kingdom · Ireland · Germany · France · Italy · Japan · South Korea · Singapore · Malaysia · Dominican Republic · Costa Rica · Puerto Rico · Jamaica · Bahamas

Full details on the coverage page. We list a country only when it's live in production. If it's on this page, it answers.