Ir a la app

The ecosystem endpoints expose vegetation type, fuel load, and fuel moisture index derived from Sentinel-2 satellite imagery and the Spanish Forest Map (MFE).

Rate limit: 100 requests per minute.


GET /api/v3/m10

Returns ecosystem and forest biomass data for a municipality. Response includes vegetation type, fuel load, and fuel moisture index.

Request

curl -s "https://api.pastormap.com/api/v3/m10?municipio_id=05001" \
  -H "Authorization: Bearer $PASTOR_API_KEY"

Query parameters

Parameter Type Required Description
municipio_id string Yes INE municipality code (5 digits, e.g. 05001).

Response

The response includes:

  • vegetation type classification derived from MFE.
  • fuel load estimate in tonnes per hectare.
  • fuel moisture index.

GET /ecosystem

Returns a summary of the forest ecosystem for a municipality.

Request

curl -s "https://api.pastormap.com/ecosystem?municipio_id=05001" \
  -H "Authorization: Bearer $PASTOR_API_KEY"

Query parameters

Parameter Type Required Description
municipio_id string Yes INE municipality code.