POIs near a point by amenity type
Changed onReturn OpenStreetMap points-of-interest filtered by amenity tag within a radius of a lat/lon centre. Supported amenity types cover healthcare, education, food and drink, finance, government, and retail categories. Radius is capped at 5 km. Data is (C) OpenStreetMap contributors (ODbL 1.0) - attribution is required on any surface that renders this data.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/environment/osm/amenities
- Auth: API key in header x-api-key
Query parameters
Query centre latitude in decimal degrees (WGS84).
Query centre longitude in decimal degrees (WGS84).
Search radius in metres (100 to 5000).
Amenity category. Accepted values: atm, bakery, bank, bar, cafe, cinema, clinic, college, dentist, doctors, fast_food, fire_station, fuel, hospital, kindergarten, library, marketplace, parking, pharmacy, place_of_worship, police, post_office, pub, restaurant, school, theatre, toilets, university.
Maximum number of elements to return (1-500).
Response
Amenity POI elements near the requested point, (C) OpenStreetMap contributors (ODbL 1.0).
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info