SECOP Contracts API
Extract Colombia SECOP I and II contracts by contractor or entity name/NIT: values, payments and funding sources. Research contractor history for compliance. Alerts return new or changed contracts.
$0.002 / contract
Home / Latin America / SECOP Tenders API
Get Colombian public tenders from SECOP II (where new tenders are published today) and the SECOP I historical archive, in one clean, typed feed. Search by keyword, department, city, budget, contract type, entity level, UNSPSC category and contracting entity. Turn on alert mode to receive only the tenders that are new or changed since your last run.
Built for contractors, consultants, suppliers, analysts and journalists who need to know what the Colombian state is buying, when bids close, and what rules apply, without reading the portal one process at a time.
The data comes from the official open data of Colombia's public procurement agency (datos.gov.co). The actor uses plain HTTP requests, so runs are fast and light.
| Field | Example | Notes |
|---|---|---|
source | SECOP II | SECOP II or SECOP I |
processId | CO1.BDOS.0000001 | Process id (SECOP I: constancy number) |
reference | CM-2026-0001 | Reference number of the process |
title | Mantenimiento de vía urbana ... | Process name (SECOP I: object to contract) |
description | Ejemplo de descripción ... | Long description. SECOP II only, null for SECOP I |
entity | Entidad Ejemplo Distrital | Contracting entity |
entityNit | 900000001 | Tax ID (NIT) of the entity. An institution, not a person |
entityLevel | Territorial | Entity order as published: Nacional, Territorial or Corporación Autónoma (SECOP II) |
department | Bogotá D.C. | Canonical department name, same spelling in both platforms |
city | Bogotá, D.C. | Municipality of the entity. null when not reported |
modality | Licitación pública | Procurement modality as published (Spanish) |
modalityGroup | licitacion | Normalized group (see the modalities input) |
status | open | Normalized: open, evaluation, awarded, closed, cancelled, draft, suspended |
statusRaw | Publicado | Status as published by SECOP |
phase | Presentación de oferta | Process phase (SECOP II only) |
contractType | Obra | Type of contract, e.g. Obra, Suministros, Consultoría |
contractSubtype | null | Contract subtype as published (SECOP II only) |
procuringUnit | Unidad Ejemplo de Obras | Unit of the entity that runs the process (SECOP II only) |
unspscCode | 72141100 | UNSPSC category code. null when the process is UNSPECIFIED or has no code yet |
unspscFamily | 7214 | UNSPSC family: first 4 digits of unspscCode. null without a code |
unspscFamilyName | Servicios de construcción pesada | UNSPSC family name (Spanish) |
unspscClassName | Servicios de pavimentación ... | UNSPSC class name, from the first 6 digits (Spanish) |
unspscGroupName | null | Reserved. Always null in this version |
unspscName | Computadores | UNSPSC class name as published (SECOP I only) |
category | Obra civil | Object to contract (SECOP I only) |
inferredCategories | [{ "unspscFamily": "7214", ... }] | Top 3 UNSPSC families guessed from the text, only when unspscCode is null. See Category inference |
baseValue | 1250000000 | Base (estimated) value in COP |
awardedValue | 1190000000 | Awarded value in COP. null until awarded |
awardedSupplier | Constructora Ejemplo S.A.S. | Name of the awarded supplier, as published by SECOP. null until awarded (SECOP II only) |
awardedSupplierId | 900000003 | Tax ID (NIT) of the awarded supplier, as published. Can be a personal ID for a natural person (SECOP II only) |
currency | COP | Always COP |
publishedAt | 2026-10-07 | Publication date |
phaseDates | { "publicacion": "2026-10-07" } | Publication dates of each phase: publicacion, fase2, fase3. Only dates that are set. null when none (SECOP II only) |
bidDeadline | 2026-10-21 | Date bids close (SECOP II only). null for SECOP I |
daysToDeadline | 11 | Whole days from the run date (Bogotá time) to bidDeadline. Negative once the deadline has passed (SECOP II only) |
bidsOpenedAt | null | Date the bids were opened (SECOP II only) |
effectiveOpeningAt | null | Effective date of the bid opening (SECOP II only) |
lastUpdatedAt | 2026-10-08 | Date of the last update on SECOP |
awardedAt | null | Award date (SECOP II) or contract signing date (SECOP I) |
durationValue | 120 | Contract duration as a number |
durationUnit | días | días or meses |
interestedSuppliers | 4 | Number of suppliers that expressed interest (SECOP II). Counts only, no names |
bidsReceived | 0 | Number of bids received (SECOP II). Counts only, no names |
invitedSuppliers | 0 | Number of suppliers invited (SECOP II only). Counts only |
views | 152 | Views of the process page on SECOP (SECOP II only) |
lots | 1 | Number of lots (SECOP II only) |
modalityJustification | null | Justification of the procurement modality, as published (SECOP II only) |
legal | { "legalBasis": ... } | Procurement rules for this modality. See the Legal context section |
bidders | [{ "name": "...", "id": "..." }] | Bidders as published by SECOP. Only with includeBidders, SECOP II only. See Bidders |
bidderCount | 2 | Number of bidders in bidders. null when bidders is null |
url | https://community.secop.gov.co/... | Direct link to the process on SECOP |
matchedKeywords | ["construccion"] | Your keywords that matched this tender. [] when no keywords were set |
changeType | new | Alert mode only: new or updated. null when alert mode is off |
scrapedAt | 2026-10-09T14:00:00.000Z | UTC timestamp of the run |
Missing values are null. Some fields only exist for one platform. For example, SECOP I has no bid deadline column, so bidDeadline and daysToDeadline are always null for SECOP I tenders. Check publishedAt and lastUpdatedAt for recency.
Open tenders often have no UNSPSC code yet. When unspscCode is null, the actor ranks the most likely UNSPSC families from the title, description and category text, and puts the top 3 in inferredCategories. This is approximate. On a holdout test set the right family was among the top 3 about 60% of the time, and the first choice about 41% of the time. confidence is a model score, not a calibrated probability. Use the inferred families to narrow a search, and combine them with keywords for better results.
With includeBidders on, each SECOP II tender gets bidders (name and ID, one entry per ID) and bidderCount.
[]: the lookup worked and SECOP lists no bidders for this process.null: the field was not requested (includeBidders is off or the source is SECOP I), or the lookup failed. The run log says why.Real field names from the Actor. Values are an example and change with every run.
{
"source": "SECOP II",
"processId": "CO1.BDOS.0000001",
"reference": "CM-2026-0001",
"title": "Mantenimiento de vía urbana en el sector de ejemplo",
"description": "Ejemplo de descripción del proceso. Datos ilustrativos.",
"entity": "Entidad Ejemplo Distrital",
"entityNit": "900000001",
"entityLevel": "Territorial",
"department": "Bogotá D.C.",
"city": "Bogotá, D.C.",
"modality": "Licitación pública",
"modalityGroup": "licitacion",
"status": "open",
"statusRaw": "Publicado",
"phase": "Presentación de oferta",
"contractType": "Obra",
"contractSubtype": null,
"procuringUnit": "Unidad Ejemplo de Obras",
"unspscCode": "72141100",
"unspscFamily": "7214",
"unspscFamilyName": "Servicios de construcción pesada",
"unspscClassName": "Servicios de pavimentación y superficies de edificios de infraestructura",
"unspscGroupName": null,
"unspscName": null,
"category": null,
"inferredCategories": null,
"baseValue": 1250000000,
"awardedValue": null,
"awardedSupplier": null,
"awardedSupplierId": null,
"currency": "COP",
"publishedAt": "2026-10-07",
"phaseDates": { "publicacion": "2026-10-07" },
"bidDeadline": "2026-10-21",
"daysToDeadline": 11,
"bidsOpenedAt": null,
"effectiveOpeningAt": null,
"lastUpdatedAt": "2026-10-08",
"awardedAt": null,
"durationValue": 120,
"durationUnit": "días",
"interestedSuppliers": 4,
"bidsReceived": 0,
"invitedSuppliers": 0,
"views": 152,
"lots": 1,
"modalityJustification": null,
"legal": {
"legalBasis": "Ley 1150 de 2007, art. 2 num. 1; Decreto 1082 de 2015",
"awardCriterion": "Evaluación objetiva según las reglas del pliego (Ley 1150 art. 2 par. 2 num. 3)",
"rupRequired": null,
"bidBondRequired": true,
"subsanationWindow": "Hasta el traslado del informe de evaluación (5 días hábiles en licitación, CCE C-812 de 2024)",
"riskHearingRule": "Obligatoria en licitación (art. 2.2.1.2.1.1.2 Decreto 1082); fecha según el pliego",
"typicalTimeline": "Sin mínimo legal único entre apertura y cierre (CCE); plazos según el pliego",
"standardBiddingDocs": {
"likely": true,
"sectorHint": null,
"reference": "https://www.colombiacompra.gov.co/normativa-y-relatoria/documentos-tipo"
},
"notes": "Regla general de selección. Garantía de seriedad: al menos 10% del valor de la oferta (art. 2.2.1.2.3.1.9 Decreto 1082)."
},
"bidders": null,
"bidderCount": null,
"url": "https://community.secop.gov.co/Public/Tendering/OpportunityDetail/Index?noticeUID=CO1.NTC.0000001",
"matchedKeywords": ["mantenimiento"],
"changeType": null,
"scrapedAt": "2026-10-09T14:00:00.000Z"
}
{
"keywords": ["construccion", "vias"],
"departments": ["Bogotá D.C."],
"statuses": ["open"],
"publishedWithinDays": 30,
"maxItems": 200
}
Keywords match the title and description, and accents are ignored.
| Event | Price | Per 1,000 | Charged when |
|---|---|---|---|
| Tender saved | $0.003 | $3.00 per 1,000 | Charged once for each tender saved to the dataset. Error items and skipped (unchanged) tenders are never charged. |
Pay per result: you pay a small fixed price for each tender saved to the dataset (see the Pricing tab), plus Apify platform usage. There is no monthly rental. Error items and unchanged tenders in alert mode are never charged.
Platform usage, measured locally before v2 (Oct 2026): a 7-day scan of all open competitive tenders (≈2,300) takes about 3 seconds at 256 MB. No proxy is used. includeBidders adds one lookup per 50 SECOP II tenders, and it has not been measured yet.
Prices are USD per event, as published on the Actor's Apify page. Apify platform usage may apply on top; check the Pricing tab on Apify before large runs.
If an input produces nothing or cannot run, the actor saves an error item instead of failing silently. Error items are never charged.
{ "error": "NO_RESULTS", "note": "No tenders matched these filters. Try more days, fewer filters or other keywords.", "filters": { "keywords": ["xyzabc"] } }
| error | Meaning | What to do |
|---|---|---|
NO_RESULTS | Nothing matched the filters. The filters used are echoed in filters | Widen publishedWithinDays, remove a keyword or a department. Note that closingWithinDays skips SECOP I |
SOURCE_ERROR | One platform could not be read after 3 retries. The source is named in the item | Run again later. The other platform's results are still saved |
INVALID_INPUT | The input cannot be used: minValue greater than maxValue, a bad UNSPSC code, an unknown entityOrders value, a closingWithinDays that is not a whole number, or categoryKeywords that match no UNSPSC category | Fix the field named in the note |
keywords for your trade, departments or city for the places you serve, and closingWithinDays for the tenders that close soon.entity accepts the entity's NIT) to plan proposals ahead of time.includeBidders, for a given city or entity.baseValue by department, city, modality or UNSPSC family over the last 12 months.Which platforms are covered? SECOP II, where Colombian entities publish new tenders today, is searched by default. SECOP I is the previous platform: add "secop1" to sources to search its history (mostly processes up to 2021; a few territorial entities still load processes there). For history, use publishedFrom / publishedTo and a statuses value such as awarded.
Does it include direct contracting? Not by default. Direct contracting (contratacion_directa) and special-regime processes without offers are excluded so that the results are competitive tenders. Select them in modalities if you need them.
Why is bidDeadline empty for some results? SECOP I has no bid deadline column, so bidDeadline is null for every SECOP I tender. For SECOP II, it is null when the platform does not report one.
Can I find tenders that have no UNSPSC code? Not with unspscCodes, because those processes have no code to match. Two options: categoryKeywords ranks open tenders by their inferred families (approximate, so combine it with keywords), or use keywords or entity directly.
How accurate is the category inference? On a holdout test set the right UNSPSC family was among the top 3 guesses about 60% of the time, and the first guess about 41% of the time. Treat inferredCategories as a starting point, not as the official category.
Why does closingWithinDays return no SECOP I rows? SECOP I has no bid deadline column, so the filter cannot apply to it. When closingWithinDays is set, SECOP I is skipped.
Why do I get fewer results than I expected? Check the filters. The default status is open, the default modalities are competitive processes, and publishedWithinDays is 30 days. Widen one of them, or read the NO_RESULTS item, which shows the filters that were used.
How do keywords work? Keywords are matched against the title and description, ignoring accents and capitals. A keyword matches a word that starts with it, so obra matches obras but not cobra. The matched words are listed in matchedKeywords.
What is the difference between status and statusRaw? status is the normalized value that is the same for both platforms (open, evaluation, awarded, closed, cancelled, and so on). statusRaw is the text SECOP uses, for example Publicado or Convocado.
Does the actor collect personal data? It collects procurement data, which includes the names and IDs of awarded suppliers and, with includeBidders, of bidders, as SECOP publishes them. Some of those IDs can be personal ID numbers. Contact data, bank data, gender and officials' IDs are never requested. See the Privacy section.
Where do I find the risk hearing or the evaluation report date? They are not in the open data. Open the process page with the url field. See the Dates available section.
Where does the data come from? From the open data published on datos.gov.co by the national public procurement agency, ANCP–Colombia Compra Eficiente. The data is updated by SECOP as processes change, so a run shows the state of the platform at that moment.
Something is wrong or a field is missing? Open an issue in the Issues tab with the input you used. Issues are answered quickly.
¿Funciona en español? Sí. Los campos de entrada aceptan palabras en español, con o sin tildes (por ejemplo, construccion o Bogotá). Los datos llegan en español tal como los publica SECOP.
awardedSupplier, awardedSupplierId) and, with includeBidders, the bidders (bidders: name and ID). SECOP publishes these as public procurement information under Ley 1712 de 2014 (transparency and access to public information). The actor copies them as SECOP publishes them.This actor reads public procurement data that SECOP publishes as open data on datos.gov.co. It collects procurement information: process data, public entities, budgets, dates, counts, and the names and IDs of suppliers and bidders as published by SECOP. It does not collect contact details, bank details or gender, and it does not request the IDs of officials. See the Privacy section.
Attribution and license. The source data is published by the Agencia Nacional de Contratación Pública – Colombia Compra Eficiente (ANCP–CCE) under CC BY-SA 4.0. If you publish or redistribute the results, credit ANCP–Colombia Compra Eficiente as the source, and check the ShareAlike terms for any derived dataset.
You are responsible for making sure your use complies with the terms of datos.gov.co and SECOP and with applicable law, including Colombian data protection rules (Ley 1581 de 2012) if you combine the data with other records. The Legal context section is informative and is not legal advice.
Examples, guides and all Polyglot Data scrapers: polyglot-data.pages.dev
Run it from your browser, schedule it, or call it from the Apify API. Output downloads as JSON, CSV, Excel or HTML.
Extract Colombia SECOP I and II contracts by contractor or entity name/NIT: values, payments and funding sources. Research contractor history for compliance. Alerts return new or changed contracts.
$0.002 / contract
Extract Falabella products by keyword or search/category URL in Chile, Peru and Colombia: prices, CMR prices, ratings, sellers and stock signals. Track price changes; pay per saved product.
$0.003 / product
Extract French company data from SIRENE by name, SIREN, postcode or NAF code: address, size, revenue and net income. Build lead lists or enrich company records. Official open data; no API key.
$0.002 / company