Places API Reference
4 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Places (POI) API page.
GET
/v1/places1 creditSearch points of interest (shops, restaurants, offices, places of worship and more) by name prefix, category, around a point or inside a box. Data: Overture Maps Places. Coverage today: ID. Costs 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| q | query | string | max 100 chars · Name prefix, case-insensitive, e.g. kopi kenangan. |
| country | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 filter. Countries outside coverage return an empty page. |
| category | query | string | Category key from /v1/places/categories, e.g. coffee_shop. |
| locality | query | string | max 100 chars · City or town as written in the address, case-insensitive. |
| lat | query | number | -90 to 90 · Latitude for a nearby search (with lng). Results are sorted by distance. |
| lng | query | number | -180 to 180 · Longitude for a nearby search (with lat). |
| radius_m | query | number | 1 to 5000 · Nearby radius in metres, default 1000. |
| bbox | query | string | min_lng,min_lat,max_lng,max_lat; each side at most 0.5 degrees. Not with lat/lng. |
| min_confidence | query | number | 0 to 1 · Overture existence confidence floor, 0 to 1. |
| page | query | integer | default 1 · Page number. |
| limit | query | integer | 1 to 100 · default 20 · Results per page. |
curl 'https://api.apifor.dev/v1/places' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "9d82a72a-6d06-41cf-8472-750c6a3b6540",
"name": "Kopi Kenangan",
"category": "coffee_shop",
"basic_category": "coffee_shop",
"category_hierarchy": [
"food_and_drink",
"non_alcoholic_beverage_venue"
],
"alternate_categories": [],
"confidence": 0.7586,
"lat": 0.4991209,
"lng": 101.4178269,
"country": "ID",
"address": {
"freeform": "Jl. Soekarno - Hatta No.114",
"locality": "Pekanbaru",
"region": "RI",
"postcode": "28292",
"country": "ID"
},
"websites": [
"https://kopikenangan.com/"
],
"phones": [
"+628170993987"
],
"brand": {
"name": "Kopi Kenangan",
"wikidata": null
},
"operating_status": null,
"sources": [
{
"dataset": "meta",
"license": "CDLA-Permissive-2.0"
}
]
},
{
"id": "d240e03d-60ce-494b-a086-cf24b825f172",
"name": "Kopi Kenangan",
"category": "coffee_shop",
"basic_category": "coffee_shop",
"category_hierarchy": [
"food_and_drink",
"non_alcoholic_beverage_venue"
],
"alternate_categories": [],
"confidence": 0.5125,
"lat": -6.1264049,
"lng": 106.1396842,
"country": "ID",
"address": {
"freeform": "Jl. Perum Taman Puri Indah Rt. 001 Rw. 017, Serang",
"locality": "Serang",
"region": "BT",
"postcode": "42116",
"country": "ID"
},
"websites": [
"http://kopijawara.tumblr.com/"
],
"phones": [
"+628176562313"
],
"brand": {
"name": "Kopi Kenangan",
"wikidata": null
},
"operating_status": null,
"sources": [
{
"dataset": "meta",
"license": "CDLA-Permissive-2.0"
}
]
}
],
"meta": {
"total": 159,
"page": 1,
"per_page": 2,
"total_pages": 80,
"attribution": {
"source": "Overture Maps Foundation, Places theme (overturemaps.org)",
"license": "CDLA-Permissive-2.0 and Apache-2.0 (Foursquare records); CC0-1.0 (AllThePlaces records)",
"license_url": "https://cdla.dev/permissive-2-0/",
"source_url": "https://docs.overturemaps.org/guides/places/",
"attribution_page": "https://docs.overturemaps.org/attribution/",
"notice": "Changed by APIFor: Places theme only, release 2026-10-21.0, records whose address country is ID with confidence 0.5 or higher, trimmed to...",
"release": "2026-10-21.0",
"licenses": [
{
"name": "CDLA-Permissive-2.0",
"url": "https://cdla.dev/permissive-2-0/",
"applies_to": "Meta, Microsoft, PinMeTo, Uberall, DAC, OpenTravel Alliance and other Overture Places sources"
},
{
"name": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0",
"applies_to": "records sourced from Foursquare"
}
],
"third_party_notices": [
"Data from Foursquare. Copyright 2024 Foursquare Labs, Inc. All rights reserved. Available under Apache 2.0. Foursquare data was transform...",
"(full Foursquare NOTICE.txt text, shortened in this example)"
]
}
}
}200OK400Invalid parameters (not charged)404Not found (not charged)
GET
/v1/places/{id}1 creditOne place by its Overture id. Costs 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| id * | path | string | Overture place id from a search result. |
curl 'https://api.apifor.dev/v1/places/ID' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"id": "9d82a72a-6d06-41cf-8472-750c6a3b6540",
"name": "Kopi Kenangan",
"category": "coffee_shop",
"basic_category": "coffee_shop",
"category_hierarchy": [
"food_and_drink",
"non_alcoholic_beverage_venue"
],
"alternate_categories": [],
"confidence": 0.7586,
"lat": 0.4991209,
"lng": 101.4178269,
"country": "ID",
"address": {
"freeform": "Jl. Soekarno - Hatta No.114",
"locality": "Pekanbaru",
"region": "RI",
"postcode": "28292",
"country": "ID"
},
"websites": [
"https://kopikenangan.com/"
],
"phones": [
"+628170993987"
],
"brand": {
"name": "Kopi Kenangan",
"wikidata": null
},
"operating_status": null,
"sources": [
{
"dataset": "meta",
"license": "CDLA-Permissive-2.0"
}
]
},
"meta": {
"attribution": {
"source": "Overture Maps Foundation, Places theme (overturemaps.org)",
"license": "CDLA-Permissive-2.0 and Apache-2.0 (Foursquare records); CC0-1.0 (AllThePlaces records)",
"license_url": "https://cdla.dev/permissive-2-0/",
"source_url": "https://docs.overturemaps.org/guides/places/",
"attribution_page": "https://docs.overturemaps.org/attribution/",
"notice": "Changed by APIFor: Places theme only, release 2026-10-21.0, records whose address country is ID with confidence 0.5 or higher, trimmed to...",
"release": "2026-10-21.0",
"licenses": [
{
"name": "CDLA-Permissive-2.0",
"url": "https://cdla.dev/permissive-2-0/",
"applies_to": "Meta, Microsoft, PinMeTo, Uberall, DAC, OpenTravel Alliance and other Overture Places sources"
},
{
"name": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0",
"applies_to": "records sourced from Foursquare"
}
],
"third_party_notices": [
"Data from Foursquare. Copyright 2024 Foursquare Labs, Inc. All rights reserved. Available under Apache 2.0. Foursquare data was transform...",
"(full Foursquare NOTICE.txt text, shortened in this example)"
]
}
}
}200OK400Invalid id (not charged)404Not found (not charged)
GET
/v1/places/categories1 creditEvery category in the data with its place count, largest first. Costs 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| q | query | string | max 80 chars · Substring of the category key, e.g. restaurant. |
curl 'https://api.apifor.dev/v1/places/categories' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"category": "government_office",
"basic_category": "government_office",
"hierarchy": [
"community_and_government",
"government_office"
],
"total": 51572
},
{
"category": "restaurant",
"basic_category": "restaurant",
"hierarchy": [
"food_and_drink",
"restaurant"
],
"total": 48879
},
{
"category": "muslim_place_of_worship",
"basic_category": "muslim_place_of_worship",
"hierarchy": [
"cultural_and_historic",
"place_of_worship"
],
"total": 46258
}
],
"meta": {
"attribution": {
"source": "Overture Maps Foundation, Places theme (overturemaps.org)",
"license": "CDLA-Permissive-2.0 and Apache-2.0 (Foursquare records); CC0-1.0 (AllThePlaces records)",
"license_url": "https://cdla.dev/permissive-2-0/",
"source_url": "https://docs.overturemaps.org/guides/places/",
"attribution_page": "https://docs.overturemaps.org/attribution/",
"notice": "Changed by APIFor: Places theme only, release 2026-10-21.0, records whose address country is ID with confidence 0.5 or higher, trimmed to...",
"release": "2026-10-21.0",
"licenses": [
{
"name": "CDLA-Permissive-2.0",
"url": "https://cdla.dev/permissive-2-0/",
"applies_to": "Meta, Microsoft, PinMeTo, Uberall, DAC, OpenTravel Alliance and other Overture Places sources"
},
{
"name": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0",
"applies_to": "records sourced from Foursquare"
}
],
"third_party_notices": [
"Data from Foursquare. Copyright 2024 Foursquare Labs, Inc. All rights reserved. Available under Apache 2.0. Foursquare data was transform...",
"(full Foursquare NOTICE.txt text, shortened in this example)"
]
}
}
}200OK400Invalid parameters (not charged)
GET
/v1/places/coverageFreeCountries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.
curl 'https://api.apifor.dev/v1/places/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "places",
"global": false,
"country_param": "optional",
"param_name": "country",
"countries": [
{
"country": "ID",
"market": null,
"subdivision_levels": [
"locality"
],
"rows": 1376228,
"updated_at": null,
"sources": [
{
"name": "Overture Maps Foundation, Places theme",
"url": "https://docs.overturemaps.org/guides/places/",
"licence": "CDLA-Permissive-2.0; Apache-2.0 (Foursquare records); CC0-1.0 (AllThePlaces records)",
"attribution": "© Overture Maps Foundation"
}
],
"local_fields": [],
"notes": "Places with Overture confidence 0.5 or higher."
}
]
}
}200Coverage