return to the map

Get specified watershed sub-area information

Get detailed watershed sub-area information based on watershed code and sub-area code

GET
/api/subbasins/{basincode}/{subbasincd}/{level}

Path Parameters

basincodeinteger

Watershed code

subbasincdstring

Subbasin code

levelinteger

Subbasin level

Header Parameters

Acceptstring

Response format

Value in"application/json" | "application/geo+json"

Response Body

application/json

application/json

curl -X GET "https://loading/api/subbasins/3261/001/7" \  -H "Accept: application/json"
{
  "basincode": 3261,
  "subbasincd": "001",
  "level": 7,
  "name": "Sample Subbasin"
}
{
  "detail": "Subbasin not found"
}
Get specified watershed sub-area information - Global Drainage Network Data Platform