Portugal administrative reverse geocoding

Reverse Geocode API

Resolve latitude and longitude into official Portuguese administrative data using CAOP-based boundaries, returning distrito, concelho, freguesia and DICOFRE.

Objectives and characteristics

This API was designed for systems that need reliable administrative mapping in Portugal. Instead of generic place names, it returns consistent territorial information aligned with official boundary data, making it suitable for integrations, data enrichment, validation, routing support and public or private digital services.

Official administrative focus

Built around Portuguese administrative divisions, prioritising correct territorial identification over generic consumer-maps output.

DICOFRE included

Returns the official INE code for the freguesia, which is highly useful for integrations, classification and downstream business processes.

Secure access

Access is protected through Google or Microsoft sign-in and a generated client token, helping keep usage controlled and auditable.

Operational safeguards

Includes request logging, rate limiting and controlled API access for reliable usage and safer public exposure.

Example result
{
  "dicofre": "060334",
  "freguesia": "União das freguesias de Coimbra (Sé Nova, Santa Cruz, Almedina e São Bartolomeu)",
  "concelho": "Coimbra",
  "distrito": "Coimbra"
}
1 Sign in with Google or Microsoft to access the portal.
2 Generate or view your client token after authentication.
3 Use the token to authenticate API requests and integrate the service into your applications.