Datos Abiertos Colombia
Open data portalsCOwww.datos.gov.co
Socrata open data portal at datos.gov.co, publishing 10000 public datasets from the publishing organisation, led by the Salud y Protección Social category.
Capabilities (5)
GET /v1/data/datos-gov-co/catalog-search1 creditKeyword search over the datasets published on www.datos.gov.co: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.
GET /v1/data/datos-gov-co/dataset1 creditThe complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.
GET /v1/data/datos-gov-co/datasets1 creditA page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.
GET /v1/data/datos-gov-co/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/datos-gov-co/rows1 creditThe first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.
Response example
The shape of data from datos-gov-co/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "SECOP II - Contratos Electrónicos",
"id": "jbjy-vk9h",
"resource_name": null,
"parent_fxf": [],
"description": "Información de los contratos registrados en SECOP II desde su lanzamiento",
"attribution": "Agencia Nacional de Contratación Pública - Colombia Compra Eficiente, Bogotá D.C.",
"attribution_link": "https://colombiacompra.gov.co",
"contact_email": null,
"type": "dataset",
"updatedAt": "2026-10-23T10:50:55.000Z",
"createdAt": "2019-10-01T04:42:13.000Z",
"metadata_updated_at": "2026-09-27T07:48:31.000Z",
"data_updated_at": "2026-10-23T10:50:55.000Z",
"page_views": {
"page_views_last_week": 18021,
"page_views_last_month": 74149,
"page_views_total": 2859074,
"page_views_last_week_log": 14.137471503351959,
"page_views_last_month_log": 16.178159072229356,
"page_views_total_log": 21.447117034941616
},
"columns_name": [
"Número de cuenta",
"Otros Recursos (Especie, Privados, Cooperación, Propios Entidades Autónomas)",
"Tipo de cuenta",
"Nombre del banco",
"Duración del contrato",
"… 90 more items"
],
"columns_field_name": [
"n_mero_de_cuenta",
"recursos_propios",
"tipo_de_cuenta",
"nombre_del_banco",
"duraci_n_del_contrato",
"… 90 more items"
],
"columns_datatype": [
"Text",
"Number",
"Text",
"Text",
"Text",
"… 90 more items"
],
"columns_description": [
"Numero de cuenta en donde se haran los pagos del contrato",
"Valor de origen de los recursos que corresponde a Recursos Propios",
"Tipo de cuenta en la que se se consignaran los pago del contrato",
"Indica el nombre del banco en donde se consignaran los pagos del contrato",
"Describe la duración del contrato en el tiempo",
"… 90 more items"
],
"columns_format": [
{},
{
"precisionStyle": "currency",
"currencyStyle": "COP"
},
{},
{},
{},
"… 90 more items"
],
"download_count": 245290,
"provenance": "official",
"lens_view_type": "tabular",
"lens_display_type": "table",
"locked": false,
"backend": "nbe",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2026-09-27T07:48:31.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "Estadísticas Nacionales",
"domain_tags": [
"compra pública",
"secop",
"contratos",
"procesos de contratación"
],
"domain_metadata": [
{
"key": "Información-de-Datos_Idioma",
"value": "Español"
},
{
"key": "Información-de-Datos_Cobertura-Geográfica",
"value": "Nacional"
},
{
"key": "Información-de-Datos_Frecuencia-de-Actualización",
"value": "Diaria"
},
{
"key": "Información-de-la-Entidad_Sector",
"value": "Planeación"
},
{
"key": "Información-de-la-Entidad_Área-o-dependencia",
"value": "Subdirección de Información y Desarrollo Tecnológico"
},
"… 5 more items"
]
},
"metadata": {
"domain": "www.datos.gov.co",
"license": "Creative Commons Attribution | Share Alike 4.0 International"
},
"permalink": "https://www.datos.gov.co/d/jbjy-vk9h",
"link": "https://www.datos.gov.co/Estadísticas-Nacionales/SECOP-II-Contratos-Electrónicos/jbjy-vkAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use Datos Abiertos Colombia (datos-gov-co) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datos-gov-co" and capability "catalog-search". 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>
Dataset metadata
Use Datos Abiertos Colombia (datos-gov-co) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=utnw-66pz. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datos-gov-co" 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>
Dataset inventory
Use Datos Abiertos Colombia (datos-gov-co) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datos-gov-co" 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>
Row count
Use Datos Abiertos Colombia (datos-gov-co) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=utnw-66pz. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datos-gov-co" and capability "row-count". 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
Datasets on this portal declare the licence "Creative Commons Attribution | Share Alike 4.0 International" in their Socrata metadata; the portal publishes no separate API licence and different datasets may carry different terms. Quoted as found in the portal's own catalogue.
https://www.datos.gov.co/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: datos.gov.co. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
