Administrative Hierarchy (CAOP & Eurostat)
Full Portuguese divisions across NUTS I, II, III, Districts, Municipalities, and Parishes with standard and HD polygon resolutions.
Official administrative boundaries (CAOP), CTT postal codes, accent-tolerant fuzzy search, and tenant-isolated custom zones over PostGIS.
{
"type": "FeatureCollection",
"features": [
{
"id": "110658",
"properties": {
"level": "parish",
"name": "Santa Maria Maior",
"municipalityName": "Lisboa",
"districtName": "Lisboa",
"nuts3Name": "Grande Lisboa"
},
"geometry": { "type": "MultiPolygon", "coordinates": [...] }
}
]
}Every boundary uses WGS 84 (EPSG:4326) with pre-computed postal-to-parish spatial joins and cached responses.
Full Portuguese divisions across NUTS I, II, III, Districts, Municipalities, and Parishes with standard and HD polygon resolutions.
4- and 7-digit CTT postal code lookups linked directly to parishes, plus coordinate-to-region ST_Intersects queries.
PostgreSQL pg_trgm and unaccent indexing matches queries like 'evora' or 'braganca' instantly.
Separate API keys for internal sites or external clients with AllowedOrigins, CIDR IP allowlists, and custom polygons.
Authenticate every /api/v1 request with X-API-KEY or generate an ephemeral 24-hour Demo key in the Playground.
curl -sS "https://api.portugalgeoapi.pt/api/v1/postal-codes/1000-001" \
-H "X-API-KEY: pga_demo_your_api_key"Review Demo, Basic, Pro, and Enterprise request limits and send a direct access request with no automated gateway setup required.