Datos Abiertos Panamá
Open data portalsPAwww.datosabiertos.gob.pa
Panama's national open-data platform.
Capabilities (11)
GET /v1/data/datosgobpa/dataset1 creditReturns the complete CKAN package for one dataset: title, notes, author and maintainer contacts, licence, groups, tags, custom extras and every resource with its id, format, size, description and download URL.
GET /v1/data/datosgobpa/datasets1 creditRuns a Solr-backed search over the Panamanian national open-data catalog and returns 20 full dataset records per page, each with title, notes, licence, publishing ministry, tags, extras and every resource with its direct download URL and format.
GET /v1/data/datosgobpa/group1 creditReturns one thematic group with its title, description, image, extras and dataset count, and optionally the datasets it contains.
GET /v1/data/datosgobpa/groups1 creditReturns the catalog’s thematic groups (agriculture, environment, health, education, government finance and so on) with title, description, image and dataset count.
GET /v1/data/datosgobpa/licenses1 creditReturns the licences the portal offers, each with its id, title, URL, OKD/OSI conformance flags and whether it is treated as open.
GET /v1/data/datosgobpa/organization1 creditReturns one publishing organization with its title, description, image, contact extras, user count and, when include_datasets is set, its datasets.
GET /v1/data/datosgobpa/organizations1 creditReturns the publishing organizations (ministries, authorities and municipalities), either as a plain list of slugs or, with all_fields, as full records with title, description, image and dataset count.
GET /v1/data/datosgobpa/resource1 creditReturns one file resource: its download URL, format, MIME type, size, hash, description, creation and modification timestamps and whether it has been loaded into the DataStore.
GET /v1/data/datosgobpa/resource-rows1 creditReturns up to 100 parsed rows of a tabular resource straight from the CKAN DataStore, together with the inferred column names and types and the total row count, so no file download or CSV parsing is needed.
GET /v1/data/datosgobpa/suggest-datasets1 creditReturns up to 20 dataset name/title/id matches for a partial string: a small payload meant for typeahead rather than full search.
GET /v1/data/datosgobpa/tags1 creditReturns every tag used anywhere in the Panamanian catalog, as a flat list of strings you can feed back into a dataset search.
Response example
The shape of data from datosgobpa/dataset (Dataset detail). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"help": "https://www.datosabiertos.gob.pa/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"author": "Oficina de Estadísticas IEI ",
"author_email": "lcsalcedo@mingob.gob.pa",
"creator_user_id": "7f0d4709-936c-487f-b116-d824ed3d941a",
"frecuency": "Mensual",
"id": "c3dbe5bf-d1ad-49e4-bf5b-09f5b22d10f7",
"isopen": true,
"license_id": "cc-by",
"license_title": "Creative Commons Attribution",
"license_url": "http://www.opendefinition.org/licenses/cc-by",
"maintainer": "Oficial de Información ",
"maintainer_email": "nbarrios@mingob.gob.pa",
"metadata_created": "2026-03-30T15:48:50.539244",
"metadata_modified": "2026-10-20T19:03:53.570349",
"name": "mingob-iei-poblacion-de-jovenes-en-conflictos-con-la-ley-2026",
"notes": "Cuadro resumen de la población jóvenes en conflicto con la Ley IEI (Instituto de Estudios Interdisciplinarios) 2026",
"num_resources": 27,
"num_tags": 3,
"organization": {
"id": "fd6e3b13-0724-485c-9f17-0851ab175bf4",
"name": "ministerio-de-gobierno",
"title": "Ministerio de Gobierno",
"type": "organization",
"description": "Misión: Asistir al Presidente de la República en los temas relacionados con el gobierno político interno, la seguridad interior y el ejercicio pleno de los derechos y garantías constitucionales, preservando y asegurando un gobierno, unitario, republicano, democrático y representativo.",
"image_url": "2018-05-11-182335.187746MINGOB.jpg",
"created": "2018-05-11T18:23:35.238524",
"is_organization": true,
"approval_status": "approved",
"state": "active"
},
"owner_org": "fd6e3b13-0724-485c-9f17-0851ab175bf4",
"private": false,
"state": "active",
"title": "MINGOB IEI - Población de jóvenes en conflictos con la ley 2026",
"type": "dataset",
"url": "https://www.mingob.gob.pa/",
"version": "1.0",
"groups": [
{
"description": "Estadísticas de gobierno, cifras, registros, mediaciones, estudios, proyectos, listados, actividades varias",
"display_name": "Estadísticas de Gobierno",
"id": "a2fac8a7-e1ce-4895-bd9e-34f56b855eb4",
"image_display_url": "https://www.datosabiertos.gob.pa/uploads/group/2023-03-17-183828.457967Estadisticas-de-Gobierno.png",
"name": "estadisticas-de-gobierno",
"title": "Estadísticas de Gobierno"
}
],
"resources": [
{
"cache_last_updated": null,
"cache_url": null,
"created": "2026-03-30T15:49:39.459901",
"datastore_active": false,
"datastore_contains_all_records_of_source_file": false,
"description": "Cuadro resumen de la población de jóvenes en conflicto con la ley a enero 2026 ",
"format": "PDF",
"hash": "",
"id": "58f43278-8696-4ebb-aa45-33c78b1298d1",
"last_modified": "2026-03-30T15:52:57.610304",
"metadata_modified": "2026-07-28T19:19:09.035595",
"mimetype": "application/pdf",
"mimetype_inner": null,
"name": "Enero 2026 Población de jóvenes en conflicto con la ley",
"package_id": "c3dbe5bf-d1ad-49e4-bf5b-09f5b22d10f7",
"position": 0,
"resource_type": null,
"size": 443945,
"state": "active",
"url": "https://www.datosabiertos.gob.pa/dataset/c3dbe5bf-d1ad-49e4-bf5b-09f5b22d10f7/resource/58f43278-8696-4ebb-aa45-33c78b1298d1/download/poblacion-iei-enero-2026.pdf",
"url_type": "upload"
},
{
"cache_last_updated": null,
"cache_url": null,
"ckan_url": "https://www.datosabiertos.gob.pa",
"created": "2026-03-30T15:50:35.190474",
"datastore_active": true,
"datastore_contains_all_records_of_source_file": true,
"description": "Cuadro resumen de la población de jóvenes en conflicto con la ley a enero 2026",
"format": "XLSX",
"hash": "34c35e57485f8ca8f47e61142a7652db",
"idAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset detail
Use Datos Abiertos Panamá (datosgobpa) from fastCRW Pergamon, capability "Dataset detail" (dataset). You have a Panamanian dataset name or id and need its metadata and the list of files you can download. Example options: id=mingob-iei-poblacion-de-jovenes-en-conflictos-con-la-ley-2026. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datosgobpa" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Search datasets
Use Datos Abiertos Panamá (datosgobpa) from fastCRW Pergamon, capability "Search datasets" (datasets). You want to find Panamanian government datasets by keyword, ministry, file format, licence or group. Example options: q=salud, start=0, fq=organization:ministerio-de-gobierno. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datosgobpa" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Group detail
Use Datos Abiertos Panamá (datosgobpa) from fastCRW Pergamon, capability "Group detail" (group). You have a group slug from the groups capability and want its detail or member datasets. Example options: id=agropecuario, include_datasets=true. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datosgobpa" and capability "group". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
List thematic groups
Use Datos Abiertos Panamá (datosgobpa) from fastCRW Pergamon, capability "List thematic groups" (groups). You want the subject categories the Panamanian catalog is organised into, to browse or to filter a search by group. Example options: limit=50, offset=0, sort=package_count desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datosgobpa" and capability "groups". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Per dataset: CC BY 4.0 on 3,935 datasets and CC0 on 1,769, carried in the portal's own license_id metadata.
https://datosabiertos.gob.pa/pages/terms-and-conditionsAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: datosabiertos.gob.pa
Cache: up to 3600s
