Open Government, Peru API
Overview
The Peru Open Government Data API (datosabiertos.gob.pe) offers free access to official datasets published by Peruvian government institutions, covering areas like economy, health, and social programs. No authentication is required, making it easy to explore without setup. The platform follows the CKAN open data standard, so developers familiar with other CKAN-based portals will find it immediately intuitive.
Beginner Tip
This portal uses the standard CKAN API — try "https://www.datosabiertos.gob.pe/api/3/action/package_search?q=salud" to search for health-related datasets. Many datasets include CSV downloads that are easy to process.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Open Government, Peru",
"description": "Peru Government Open Data",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
success Indicates whether the request was handled successfully. count Total datasets found matching the search query. results Array of dataset metadata objects. title Name of the dataset, typically in Spanish. organization The government agency that published this dataset. resources List of file downloads or API endpoints for the dataset. Implementation Example
const url = "https://www.datosabiertos.gob.pe/";
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).