Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves detailed information about a specific place using its Mapbox ID.

Endpoint

GET /api/v1/places/:id

Parameters

id
string
required
The Mapbox ID of the place to retrieve details for.
curl -X GET https://api.onlydrams.app/api/v1/places/poi.123456789 \
  -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "id": "poi.123456789",
  "name": "Whiskey Bar & Grill",
  "address": "123 Main Street, New York, NY 10001",
  "latitude": 40.7128,
  "longitude": -74.0060
}
null

Error Responses

{
  "error": "Place not found"
}