Open Government, Argentina API

Free to Use Varies (check documentation)

Overview

The Open Government Argentina API provides free access to datasets published by the Argentine government, covering topics like economy, health, education, and public infrastructure. No API key is required, making it easy to start exploring immediately. It follows the CKAN standard, so tools and libraries that work with other open data portals will work here too.

💡

Beginner Tip

Use the CKAN API endpoint at https://datos.gob.ar/api/3/action/package_list to list all available datasets; you can then fetch a specific dataset with package_show?id=DATASET_ID.

Available Data

Use case: Integrate argentina government open data data into web and mobile applications
Open Government, Argentina data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Open Government, Argentina",
    "description": "Argentina Government Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

success Indicates whether the API call completed without errors.
result The payload of the response; an array of dataset IDs for list calls, or a dataset object for show calls.
count Total number of results matching the query (returned in search calls).
name The unique slug identifier for the dataset, used in subsequent API calls.
title Human-readable name of the dataset.
resources List of downloadable files or API endpoints associated with the dataset.

Implementation Example

const url = "https://datos.gob.ar/";
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

404 Not Found The dataset ID does not exist or was removed from the portal.
Use package_list first to get valid dataset IDs, then call package_show with an exact ID from that list.
Empty result set Your search query returned no matching datasets.
Try broader search terms with the package_search endpoint and use the rows parameter to increase result count.
Slow response Some datasets are very large and take time to return.
Add the rows and start parameters to paginate results rather than fetching everything at once.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 1113ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →