SECOP Tenders API
Extract Colombia SECOP II tenders and SECOP I history by keyword, location or budget: deadlines, bidders and winners. Find public bidding opportunities. Alerts return new or changed tenders.
$0.003 / tender
Home / Latin America / SECOP Contracts API
Get the history of public contracts in Colombia, from SECOP II (the current platform) and the SECOP I archive, in one clean, typed feed. Look up a contractor (a company or a person) and see everything it has signed with the state. Look up a contracting entity and see everything it has signed, with payments, funding sources and execution status. Turn on alert mode to receive only the contracts that are new or changed since your last run.
Built for analysts, journalists, compliance and KYC teams, and contractors who research their competitors. It saves you from reading the portal one contract 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.
Each item is one contract. Fields that exist only for one platform are null for the other.
| Field | Example | Notes |
|---|---|---|
source | SECOP II | SECOP II or SECOP I |
contractId | CO1.PCCNTR.0000001 | Contract id (SECOP I: constancy number and contract number). Unique per contract |
contractReference | CTR-2026-0001 | Reference number of the contract |
processId | CO1.BDOS.0000001 | Purchase process the contract came from |
entity | Entidad Ejemplo Distrital | Contracting entity |
entityNit | 800000002 | Tax ID (NIT) of the entity. An institution, not a person |
entityOrder | Territorial | Nacional, Territorial or Corporación Autónoma |
entitySector, entityBranch | Educación, Ejecutiva | Sector and branch of the entity (SECOP II only) |
department | Bogotá D.C. | Canonical department name, same spelling in both platforms |
city | Bogotá, D.C. | Municipality of the entity. null when not reported |
contractor | CONSTRUCTORA EJEMPLO SAS | Contractor name as published in the contract |
contractorIdType | NIT | Type of the contractor's identification document, as published |
contractorId | 900000001 | Contractor's identification number as published (NIT or document number) |
contractorKind | company | company (NIT or foreign company), person (personal document) or null |
contractorIsGroup | false | true for a consortium or temporary union (SECOP II only) |
contractorIsSme | true | true when registered as SME (pyme or mipyme) |
legalRepresentative | PERSONA EJEMPLO | Legal representative as published. Companies only, null for persons |
status | Activo | Contract status as published by SECOP |
contractType | Obra | Type of contract: works, services, supplies and so on |
modality | Licitación pública | Procurement modality as published (Spanish) |
modalityGroup | licitacion | Normalized group (see the modalities input) |
modalityJustification | null | Justification of the modality (SECOP II only) |
object | Obra de mejoramiento de vía ... | What is being bought or contracted |
unspscCode | 72141100 | UNSPSC category code. null when UNSPECIFIED |
unspscGroupName, unspscFamily, unspscFamilyName, unspscClassName | null, 7214, Servicios de construcción, ... | UNSPSC hierarchy derived from the code |
value | 2400000000 | Contract value in COP, including additions for SECOP I |
additionsValue | null | Value of additions in COP (SECOP I only) |
paid, invoiced, pendingPayment, advancePayment, pendingExecution | 1200000000 | Payments and execution in COP (SECOP II only) |
paidPct | 50.0 | Percentage of the value already paid, one decimal (SECOP II only) |
daysAdded | 0 | Days added to the contract term (SECOP II only) |
signedAt | 2026-03-02 | Signing date |
startAt, endAt | 2026-03-16, 2027-03-15 | Execution start and end dates |
duration | 360 Días | Contract term as published |
extendable, liquidated | true, false | Whether the contract can be extended and whether it has been liquidated (SECOP II only) |
fundingOrigin | Recursos propios | Origin of the funds as published (SECOP II only) |
spendingDestination | Inversión | Destination of the spending as published |
funding | {"ownTerritorial": 2400000000} | Non-zero funding sources in COP: pgn, sgp, royalties, ownTerritorial, credit, own. null when none (SECOP II only) |
bpinCode | null | BPIN investment project code (SECOP I only) |
standardBiddingDocs | Ejemplo de pliego tipo | Standard bidding documents: the type as text when used, false when not, null when unknown |
supervisor | SUPERVISOR EJEMPLO | Contract supervisor, name only (SECOP II only) |
spendingOfficer | ORDENADOR EJEMPLO | Spending officer, name only (SECOP II only) |
lastUpdatedAt | 2026-09-30 | Date of the last update on SECOP |
url | https://community.secop.gov.co/... | Direct link to the contract page on SECOP |
changeType | null | Alert mode only: new or updated. null when alert mode is off |
scrapedAt | 2026-10-10T14:00:00.000Z | UTC timestamp of the run |
Missing values are null. SECOP I has no payment, execution or funding columns, so those fields are null for SECOP I contracts. Check signedAt and lastUpdatedAt for recency.
Unless you turn off Save summary, the run saves a SUMMARY record in the default key-value store. It is not charged and it is not in the dataset. It covers the contracts saved in that run:
{
"generatedAt": "2026-10-10T14:00:00.000Z",
"totalContracts": 2,
"totalValue": 2880000000,
"byContractor": [
{ "contractor": "CONSTRUCTORA EJEMPLO SAS", "contractorId": "900000001", "contracts": 2, "totalValue": 2880000000, "entities": 1, "firstSigned": "2019-06-10", "lastSigned": "2026-03-02" }
],
"byEntity": [
{ "entity": "Entidad Ejemplo Distrital", "entityNit": "800000002", "contracts": 1, "totalValue": 2400000000, "contractors": 1 }
],
"byYear": [
{ "year": 2026, "contracts": 1, "totalValue": 2400000000 }
]
}
byContractor and byEntity keep the top 100 each. contractors and entities count the distinct parties.
Real field names from the Actor. Values are an example and change with every run.
{
"source": "SECOP II",
"contractId": "CO1.PCCNTR.0000001",
"contractReference": "CTR-2026-0001",
"processId": "CO1.BDOS.0000001",
"entity": "Entidad Ejemplo Distrital",
"entityNit": "800000002",
"entityOrder": "Territorial",
"entitySector": "Educación",
"entityBranch": "Ejecutiva",
"department": "Bogotá D.C.",
"city": "Bogotá, D.C.",
"contractor": "CONSTRUCTORA EJEMPLO SAS",
"contractorIdType": "NIT",
"contractorId": "900000001",
"contractorKind": "company",
"contractorIsGroup": false,
"contractorIsSme": true,
"legalRepresentative": "PERSONA EJEMPLO",
"status": "Activo",
"contractType": "Obra",
"modality": "Licitación pública",
"modalityGroup": "licitacion",
"modalityJustification": null,
"object": "Obra de mejoramiento de vía terciaria en el sector de ejemplo. Datos ilustrativos.",
"unspscCode": "72141100",
"unspscGroupName": null,
"unspscFamily": "7214",
"unspscFamilyName": "Servicios de construcción",
"unspscClassName": "Servicios de construcción de caminos",
"value": 2400000000,
"additionsValue": null,
"paid": 1200000000,
"invoiced": 1200000000,
"pendingPayment": 0,
"advancePayment": 480000000,
"pendingExecution": 1200000000,
"paidPct": 50.0,
"daysAdded": 0,
"signedAt": "2026-03-02",
"startAt": "2026-03-16",
"endAt": "2027-03-15",
"duration": "360 Días",
"extendable": true,
"liquidated": false,
"fundingOrigin": "Recursos propios",
"spendingDestination": "Inversión",
"funding": { "ownTerritorial": 2400000000 },
"bpinCode": null,
"standardBiddingDocs": "Ejemplo de pliego tipo",
"supervisor": "SUPERVISOR EJEMPLO",
"spendingOfficer": "ORDENADOR EJEMPLO",
"lastUpdatedAt": "2026-09-30",
"url": "https://community.secop.gov.co/Public/Tendering/ContractNoticePhases/View?PPI=CO1.PPI.0000001",
"changeType": null,
"scrapedAt": "2026-10-10T14:00:00.000Z"
}
{
"contractTypes": ["Obra"],
"maxItems": 10
}
With no contractor and no entity, this saves the last 365 days of works contracts, up to 10.
Alert mode is for watching a contractor or an entity over time. Set onlyNew to true and add a daily schedule.
{
"contractors": ["900000001"],
"onlyNew": true,
"maxItems": 100
}
new.lastUpdatedAt, status and paid). Those rows have changeType set to new or updated. Everything else is skipped and not charged.| Event | Price | Per 1,000 | Charged when |
|---|---|---|---|
| Contract saved | $0.002 | $2.00 per 1,000 | Charged once for each contract saved to the dataset. Error items and unchanged contracts (alert mode) are never charged. |
Pay per result: you pay $0.002 for each contract saved to the dataset (see the Pricing tab), plus Apify platform usage. There is no monthly rental. Error items and unchanged contracts in alert mode are never charged. The SUMMARY record is not charged.
Platform usage (measured Oct 2026): a 300-contract entity history takes about 2 seconds at 256 MB, and a 10-contract run costs about $0.0001 in platform usage. No proxy is used.
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 contracts match these filters. Try a wider date window or fewer keywords.", "input": { "contractors": ["900000009"] } }
| error | Meaning | What to do |
|---|---|---|
NO_RESULTS | Nothing matched the filters. The echoed input is in input | Check the NIT or name, widen signedFrom or remove a filter |
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, e.g. minValue greater than maxValue, a bad date, or no filter and no date window | Fix the field named in the note |
contractorKind and contractorIsGroup to tell a company from a consortium.byContractor in the summary to find the firms that win the most.fundingSources to royalties, with contractTypes set to Obra and the departments you follow. The funding object of each contract gives the amount per source in COP.paidPct, pendingPayment and status for a contractor's open contracts to see whether the state is paying on time.Which platforms are covered? Both. SECOP II, where Colombian entities register contracts today, and SECOP I, the previous platform that holds the archive (mostly contracts up to 2021). Both are searched by default. Remove secop1 from sources for current contracts only.
Why do I get more history with a contractor than with a keyword search? A contractor or entity search has no date limit by default, so you get the full history. A keyword-only search uses the last 365 days unless you set Signed from.
Why is paid empty for some contracts? SECOP I has no payment columns, so paid, invoiced, pendingPayment, advancePayment and pendingExecution are always null for SECOP I contracts. For SECOP II, a field is null when the entity did not report it.
Why do I see contractorKind as null? The contractor's identification type is not one the actor recognizes as a company or a person. The raw type is in contractorIdType so you can check it.
How do I find the royalty-funded works? Set fundingSources to royalties, and combine it with contractTypes and departments. Only SECOP II has funding columns, so SECOP I is skipped for that run.
Can I find the contracts of a company by its NIT? Yes. Put the NIT digits in contractors. A NIT with its check digit also works. Use the name when you do not have the NIT.
Why do two entities with the same name appear? Entity names are not unique in SECOP. Use entityNit to tell them apart, or search by the NIT digits in entities.
What is the difference between contractorIsGroup and contractorKind? contractorKind says whether the contractor is a company or a person. contractorIsGroup says whether it is a consortium or temporary union, which is a company or a group of companies. It is only filled for SECOP II.
What is the difference between value and paid? value is the total contract value in COP, including additions for SECOP I. paid is the amount paid so far, which exists for SECOP II only. paidPct is paid divided by value.
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 contracts 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, obra o Bogotá). Los datos llegan en español tal como los publica SECOP.
This actor is built to collect the least personal data needed to describe a public contract.
Personal fields included. These are published in the contract itself, and the actor copies them as published:
null in this field.Personal fields never requested. The actor's request to the open data API uses an allowlist, and these columns are not in it:
Entity NIT codes are the tax IDs of public institutions. They are not personal data.
You are responsible for how you use the data. If you combine it with other records, or publish profiles of people, check Colombian data protection rules (Ley 1581 de 2012) and your own compliance policy first.
This actor reads public contract data that SECOP publishes as open data on datos.gov.co. Contract information about public spending is public under Ley 1712 de 2014 (transparency and access to public information). The actor collects only the contract fields listed above, and it never requests bank, contact or gender data.
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, with applicable law, and with Colombian data protection rules (Ley 1581 de 2012) if you combine the data with other records or publish information about individuals.
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 II tenders and SECOP I history by keyword, location or budget: deadlines, bidders and winners. Find public bidding opportunities. Alerts return new or changed tenders.
$0.003 / tender
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
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