Environment

POIs near a point by amenity type

Return 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.

get/api/v1/environment/osm/amenities

Query parameters

latnumber required

Query centre latitude in decimal degrees (WGS84).

Query centre latitude in decimal degrees (WGS84).

lonnumber required

Query centre longitude in decimal degrees (WGS84).

Query centre longitude in decimal degrees (WGS84).

radius_minteger

Search radius in metres (100 to 5000).

Search radius in metres (100 to 5000).

typestring required

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.

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.

limitinteger

Maximum number of elements to return (1-500).

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"
    ],
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes

Changed in 2 of the 22 revisions of this API.15

    • added the optional property meta/data_age_days to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/notes to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/period to the response with the 200 status

      response-optional-property-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added