Documentation Index Fetch the complete documentation index at: https://docs.bookovia.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Places Nearby endpoint returns POIs within a specific distance from a center point, sorted by proximity. It uses H3 spatial indexing for fast radius queries and supports category filtering to find specific types of places.
Uses H3 spatial indexing (resolution 11, ~25m cell size) for sub-100ms query performance across 19.7M POIs.
Authentication
This endpoint requires authentication via API key in the X-API-Key header.
Required permissions: geocoding:read
Request
Center point latitude (-90 to 90)
Center point longitude (-180 to 180)
Search radius in kilometers (0.1 to 10) Maximum 10km for optimal performance
Filter by category (e.g., “restaurant”, “hotel”, “gas_station”)
Maximum number of results (1 to 100) Default: 20
Request Example
curl -X GET "https://api.bookovia.com/v1/places/nearby?lat=40.7128&lon=-74.0060&radius=2&categories=restaurant&limit=20" \
-H "X-API-Key: bkv_test_your_api_key_here"
Response
Indicates whether the request was successful
Number of places found within radius
Array of places sorted by distance (nearest first) Unique place identifier (GERS ID)
Formatted address (if available)
Distance from center point in kilometers (rounded to 2 decimals)
Response Example
{
"success" : true ,
"count" : 15 ,
"places" : [
{
"id" : "018a9083-401f-4207-b450-c8ff39626513" ,
"name" : "Joe's Pizza" ,
"category" : "restaurant" ,
"latitude" : 40.7130 ,
"longitude" : -74.0062 ,
"address" : "7 Carmine St, New York, NY 10014" ,
"distance_km" : 0.15
},
{
"id" : "018a9083-5b2a-4c19-a320-8f1234567890" ,
"name" : "The Smith" ,
"category" : "restaurant" ,
"latitude" : 40.7135 ,
"longitude" : -74.0070 ,
"address" : "55 3rd Ave, New York, NY 10003" ,
"distance_km" : 0.28
}
]
}
Use Cases
Show users what’s around them - restaurants, gas stations, ATMs, etc.
Find services along a route (rest stops, charging stations, food).
Locate nearest hospitals, police stations, or pharmacies.
Help travelers find hotels, restaurants, and attractions near their location.
Average Response Time: <150ms
H3 Resolution: 11 (~25m cell size)
Maximum Radius: 10km (use Places Search for larger areas)