v5

OpenAPI 3.1.0Proprietary2026-08-031,5423,1505.5 MB
Environment

Administrative boundaries by country and admin level

Return OpenStreetMap administrative boundary relations (boundary=administrative) inside an ISO 3166-1 alpha-3 country at a given admin_level (2 = country, 4 = state/province, 6 = county, 8 = city). Response includes relation centroids and OSM tags - use the relation id with downstream OSM tooling for full polygon geometry. Cached for 7 days since administrative boundaries change rarely. Data is (C) OpenStreetMap contributors (ODbL 1.0) - attribution is required on any surface that renders this data.

get/api/v1/environment/osm/boundaries

Query parameters

iso3string required

ISO 3166-1 alpha-3 country code (e.g. USA, GBR, DEU).

ISO 3166-1 alpha-3 country code (e.g. USA, GBR, DEU).

admin_levelinteger

Administrative level: 2 country, 4 state/province, 6 county, 8 city.

Administrative level: 2 country, 4 state/province, 6 county, 8 city.

Response

Administrative boundary relations with centroids, (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",
    "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"
    ]
  }
}