Mekong SharedWater
Translating Satellite Earth Observation into Transboundary Environmental Governance.
API access
The data behind this portal (landscape change, water level and water pollution) is available through the same REST API the maps use. Everything is read-only GET.
Explore the API
Interactive references list every endpoint with its parameters and responses. They need no token to browse.
Base URL: https://mekong-pollution-servir.adpc.net
Get a token
Data endpoints require an API token. Tokens are issued by the portal team, one per partner or service. Contact the portal team with your name, organisation and intended use to request one.
Please do not reuse the token the portal's own pages send in their requests; it is shared and rate-limited per visitor, not meant for scripts.
Make a request
Send the token as a bearer header:
curl -H "Authorization: Bearer $TOKEN" \
https://mekong-pollution-servir.adpc.net/api/vectors/basin/active.geojsonClients that cannot set headers (an <img> tag, or a map library that takes only a URL template) can pass ?access_token=<token> instead. Prefer the header, since query strings end up in logs and browser history.
import requests
r = requests.get(
"https://mekong-pollution-servir.adpc.net/api/wpi/reaches.geojson",
headers={"Authorization": f"Bearer {TOKEN}"},
timeout=30,
)
r.raise_for_status()
features = r.json()["features"]Responses: 401 missing, invalid or expired token; 429 over the limit of 300 requests per minute per token; 503 a backing service (database or sensor feed) is temporarily unavailable.
What is available
Landscape change
/api/landcover/basinsLand cover by watershed/api/evi/{sensor}/basinsEVI time series by watershed/api/landscape/forest-loss/basinsForest loss by watershed/api/drivers-of-forest-loss/basinsDrivers of forest loss/api/vectors/mining/sites.geojsonMining sites
Water level
/api/vectors/reach/tilejson.jsonSWORD/SWOT river reaches (vector tiles)/api/vectors/nodes/points.geojsonVirtual stations/api/vectors/nodes/{node_id}/timeseriesWater surface elevation series
Water pollution
/api/vectors/pcd/pcd_stations.geojsonPCD monitoring stations/api/water-quality/stations/{pcd|sword}/latestLatest turbidity / SPM per station/api/wpi/reaches.geojsonWater Pollution Index by reach/api/arsenic/field-dataArsenic field samples
Rasters (COG tiles)
/api/cogsCatalogue of available rasters/api/cogs/{cog_id}/tilejson.jsonTileJSON for a raster/api/cogs/{cog_id}/point?lon=&lat=Pixel value at a point
This is a selection; Swagger UI lists every endpoint.