v5

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

Pipelines in a country by commodity

Return OpenStreetMap pipeline elements (man_made=pipeline filtered by substance) inside an ISO 3166-1 alpha-2 country. Data is (C) OpenStreetMap contributors (ODbL 1.0) - attribution is required on any surface that renders this data.

get/api/v1/environment/osm/pipelines

Query parameters

countrystring required

ISO 3166-1 alpha-2 country code (e.g. US, GB, DE).

ISO 3166-1 alpha-2 country code (e.g. US, GB, DE).

commoditystring required

Pipeline substance. Accepted values: chemical, gas, heat, oil, sewage, water.

Pipeline substance. Accepted values: chemical, gas, heat, oil, sewage, water.

limitinteger

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

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

Response

Pipeline segment elements with OSM tags, (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"
    ]
  }
}