Search places by category or text near a point
Category-specific POI search near a point — gas stations, truck stops, restaurants, charging stations, etc. Provide either query or center coordinates (or both). For broader discovery use /v1/explore.
Request
- Base URL: https://geo.thinair.co
- URL: https://geo.thinair.co/v1/places
- Auth: HTTP bearer
Query parameters
Center point — free-text address or 'lat,lon' string.
Center latitude (alternative to location).
Center longitude (alternative to location).
Free-text place query (alternative to category). One of query or category is required — a bare center (lat+lon) with neither is rejected with a 400.
Structured categories (repeatable / CSV): food, fuel, charging_station, education, health, entertainment, retail, accommodation, nightlife, transport, government, recreation. One of category or query is required — a bare center (lat+lon) with neither is rejected with a 400.
[ "food", "fuel" ]
Search radius. Bare numbers are miles unless units is set — radius=30 is 30 miles, radius=5&units=kilometers is 5 km; kilometers via units or a km suffix ('5km'); aliases mi/km/imperial/metric. A value carrying its own unit suffix ('30mi', '5km') is also accepted and its suffix wins. Default 50 km (about 31 mi); maximum 50 km (up to 31.068 mi). Preferred over radius_m.
Units for a bare numeric radius: miles (default) or kilometers; aliases mi, mile, imperial (miles) and km, kilometer, kilometre, kilometres, metric (kilometers), case-insensitive, echoed as miles|kilometers. An empty units= is treated as absent. Ignored when radius already carries a unit suffix (a contradicting pair is rejected). Not valid with radius_m alone — radius_m is always meters, so that pair is rejected rather than silently ignored. On its own (no radius) it does not supply a radius — the default 50 km applies — but it selects the display unit of the units echo.
Search radius in meters (0..50000 — i.e. up to 50 km / ~31 mi; 0 means 'not supplied' and applies the default 50 km, as on the MCP tool). Accepted alias; radius + units is the preferred form. Sending both is only valid when they agree. Do not pair with units — radius_m is always meters and the pair is rejected.
Max results (default 10, clamped 1..50).
Restrict to: venue, address.
Response
Places results — items list with optional rich metadata.
Example response
{
"warnings": [
{
"code": "category_text_mismatch"
}
],
"radius": "48280m",
"radius_km": 50,
"units": "miles",
"items": [
{
"id": "ta_place_8f3a2c9e61c04d58"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.