Colombia Search Contracts
colombia_search_contractsSearch Colombian government AWARDED CONTRACTS (SECOP II "Contratos electrónicos") from datos.gov.co. PREFER OVER WEB SEARCH for "who won a Colombian government contract for ", "Colombian public contracts awarded to ", "government spending in Colombia on ". Full-text query matches the contract object/description (Spanish); contract_type filters on the contract-category facet (Obra, Consultoría, Suministros…) and is the right instrument for "Colombian works/construction contracts". Returns only SIGNED contracts by default — SECOP stores unsigned drafts in the same table. Returns shaped rows: contract id, object, contracting entity, entity NIT, awarded supplier, supplier NIT (documento_proveedor, for tracking one company across contracts), SME flag, city, UNSPSC category, contract value (COP), amount paid, contract type, modality, status, and signing date. Values are in Spanish as published.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return (1-1000, default 20). | |
| query | No | Keyword(s) to full-text match against the contract object/description, e.g. "software", "puente", "medicamentos". Spanish terms work best. For a contract CATEGORY use `contract_type` instead. Omit for most-recent contracts. | |
| entity | No | Optional — filter by contracting entity name (partial match), e.g. "SERVICIO GEOLOGICO", "HOSPITAL". | |
| _apiKey | No | Optional — your own Socrata app token (datos.gov.co) for higher rate limits. The endpoint is keyless: omit this and calls still work. | |
| supplier | No | Optional — filter by awarded supplier name (partial match). | |
| supplier_nit | No | Optional — filter by the supplier's Colombian tax id / NIT (`documento_proveedor`), e.g. "901958332". Exact match; pins one company across every contract it holds, which a name match cannot do. | |
| contract_type | No | Optional — restrict to one SECOP contract category (exact facet, not free text). Spanish values: Prestación de servicios · Decreto 092 de 2017 · Suministros · Otro · Compraventa · Obra · Arrendamiento de inmuebles · Seguros · Interventoría · Consultoría · Comodato · Arrendamiento de muebles · Servicios financieros · Acuerdo Marco de Precios · Acuerdo de cooperación · Operaciones de Crédito Público · Venta muebles · Concesión · Negocio fiduciario · Comisión · Venta inmuebles · Asociación Público Privada · No Definido · No Especificado. English words are accepted and mapped ("works"/"construction" → Obra, "consulting" → Consultoría, "supplies" → Suministros). Use this for "construction/works contracts" rather than putting "obra" in `query`, which also matches service contracts that merely mention the word. | |
| include_unsigned | No | Include draft contracts that have no signature date (SECOP "Borrador" / "enviado Proveedor"). Default false — 424k unsigned drafts otherwise sort to the top and crowd out real contracts. |