Open Government, Portugal API
Overview
The Portugal Open Government Data API (dados.gov.pt) gives developers free access to official datasets from Portuguese government agencies, including statistics on population, economy, and public services. No authentication is required, and it supports a documented REST API. The platform is built on CKAN, making it consistent with many other European open data portals.
Beginner Tip
Explore the API documentation at "https://dados.gov.pt/en/docapi/" to see all available endpoints. Use the "package_search" action to find datasets by keyword — many datasets include both Portuguese and English metadata.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Open Government, Portugal",
"description": "Portugal Government Open Data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
success True if the API action completed without errors. count Number of datasets returned for the query. results Array of dataset objects matching the search criteria. title Human-readable title of the dataset (often in Portuguese). license_title The open license under which the dataset is published. resources Downloadable files or data endpoints included in the dataset. Implementation Example
const url = "https://dados.gov.pt/en/docapi/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Bank Negara Malaysia Open Data
⭐ Beginner's PickBank Negara Malaysia Open Data provides free access to official financial data published by Malaysia's central bank, including exchange rates, interest rates, and key economic indicators.
BCLaws
BCLaws gives you free access to the full text of British Columbia's laws and regulations.
Brazil
⭐ Beginner's PickBrasilAPI is a free, community-driven API that centralizes public data about Brazil in one easy-to-use place.
Brazil Central Bank Open Data
The Brazil Central Bank Open Data API provides free access to official financial and economic data from Brazil s central bank (Banco Central do Brasil).
Brazil Receita WS
Brazil Receita WS lets you look up official information about Brazilian companies using their CNPJ (tax registration number).