# Colombia SECOP II Tenders Scraper: Public Procurement (`datadesk-io/colombia-secop-tenders-scraper`) Actor

Scrape Colombian public procurement from SECOP II via the official datos.gov.co API: process ID, title, buyer entity & NIT, department, modality, phase, base price (COP), awarded supplier and URL. Keyword, department and price filters. $2 per 1,000.

- **URL**: https://apify.com/datadesk-io/colombia-secop-tenders-scraper.md
- **Developed by:** [DataDesk](https://apify.com/datadesk-io) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 tenders

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Colombia SECOP II Tenders Scraper

Scrape **Colombian public procurement processes (licitaciones)** from **SECOP II** via the **official open-data API** of datos.gov.co (Colombia Compra Eficiente). Each process includes **ID, reference, title, description, buyer entity and NIT, department/city, modality, phase and status, base price in COP, contract type, UNSPSC code, awarded supplier and value, and the SECOP URL**. Filter by **keyword, department, buyer, modality, open status and minimum price**; alerts mode for new processes. No login, no proxies. **$2 per 1,000 tenders.**

### Try it now (one click)

1. Click **Start**. The prefilled input is a small test: in our latest check (Nov 13, 2026) it returned **20 tenders in about 4 seconds**.
2. Change the input to what you need (search terms, filters, max results).
3. Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.

**Price example:** 100 tenders = **$0.205**, 1,000 tenders = **$2.005** ($2.00 per 1,000 tenders + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per tender. Apify's free plan includes $5 of usage every month, enough for about 2,497 tenders. Runs that find nothing are not charged.

#### Sample of real results

*Real rows from a local test run on Nov 13, 2026 (some columns). Each tender also includes a link to the source and the other fields listed below.*

| Title | Entity | Entity department | Modality | Phase |
|---|---|---|---|---|
| CONTRATAR LA ADQUISICIÓN DE EQUIPOS TECNOL… | ALCALDIA DE HONDA | Tolima | Mínima cuantía | Presentación de oferta |
| LAND SOFTWARE & TECHNOLOGY S A S: PRESTACI… | UNIVERSIDAD NACIONAL DE COLOMBIA | Distrito Capital de Bogotá | Contratación régimen especial | Presentación de oferta |
| PRESTAR COMO CONTRATISTA SUS SERVICIOS PAR… | UNIVERSIDAD DE PAMPLONA | Norte de Santander | Contratación régimen especial | Presentación de oferta |

### What you get

| Field group | Fields |
|---|---|
| Process | tenderId, reference, title, description, phase, status, statusSummary, openStatus, modality, contractType, unspscCode, duration |
| Buyer | entity, entityNit, entityDepartment, entityCity, entityLevel |
| Money & award | basePrice, currency, awarded, awardedValue, supplierName, supplierNit, responses |
| Dates & link | publishedAt, lastPublishedAt, url |

### Sources and coverage

| Source | Coverage | Data |
|---|---|---|
| **SECOP II – Procesos de Contratación** (`datos.gov.co`, dataset p6dx-8zbt) | All national and territorial entities using SECOP II (millions of processes since 2015, updated daily) | Procurement processes, buyers, awards |

### How to use it

1. Click **Try for free** (or **Start**): the prefilled input runs a quick test.
2. Adjust the filters (see examples below).
3. Click **Start** and wait a few seconds.
4. Open the **Output** tab and export as **JSON, CSV, Excel, XML or HTML**, or read the dataset via API.

### Input examples

**Software tenders in the last 30 days:**

```json
{"keywords": ["software"], "daysBack": 30, "maxTenders": 20}
```

**Open public tenders in Antioquia above 500M COP:**

```json
{"departments": ["Antioquia"], "modalities": ["Licitación pública"], "openOnly": true, "minBasePrice": 500000000, "daysBack": 60}
```

**Everything a mayor’s office published this week:**

```json
{"entity": "ALCALDIA DE MEDELLIN", "daysBack": 7, "maxTenders": 500}
```

**Daily alert for consulting tenders:**

```json
{"keywords": ["consultoría"], "daysBack": 3, "onlyNewTenders": true, "alertsKey": "co-consultoria"}
```

#### Input fields

| Field | Type | Description |
|---|---|---|
| `keywords` | array | Full-text search (Spanish), one query per keyword, e.g. software, consultoría, obra civil. |
| `daysBack` | integer | Only processes published in the last N days. |
| `departments` | array | Buyer department names, e.g. Antioquia, Valle del Cauca, Distrito Capital de Bogotá. |
| `entity` | string | Part of the buyer name, e.g. ALCALDIA, ECOPETROL, MINISTERIO. |
| `modalities` | array | Contracting modality contains, e.g. Licitación pública, Mínima cuantía, Selección abreviada, Contratación directa. |
| `openOnly` | boolean | Keep only processes whose opening status is Abierto. |
| `minBasePrice` | integer | Only processes with base price at or above this amount in COP. |
| `maxTenders` | integer | Stop after this many processes. |
| `onlyNewTenders` | boolean | Return only tenders not seen in previous runs with the same alerts key. Schedule daily for alerts. |
| `alertsKey` | string | Name for this alert memory (use a different key per saved search). |

### Output example

*Example values from a local test run.*

```json
{
  "source": "secop-ii",
  "tenderId": "CO1.REQ.11332948",
  "reference": "CT352645018540",
  "title": "suministro e instalación de un sistema de intercomunicación IP para la sucursal de Bucaramanga",
  "entity": "BANCO DE LA REPUBLICA",
  "entityNit": "860005216",
  "entityDepartment": "Distrito Capital de Bogotá",
  "entityCity": "Bogotá",
  "phase": "Presentación de oferta",
  "status": "Publicado",
  "modality": "Contratación régimen especial",
  "contractType": "Suministros",
  "basePrice": 344281641.0,
  "currency": "COP",
  "publishedAt": "2026-11-06",
  "url": "https://community.secop.gov.co/Public/Tendering/OpportunityDetail/Index?noticeUID=CO1.NTC.11186973"
}
```

#### Output fields

| Field | Description |
|---|---|
| `tenderId` | SECOP process ID (CO1.REQ...) |
| `entity / entityNit` | Buyer and tax ID |
| `modality` | Licitación pública, Mínima cuantía, Contratación directa... |
| `phase / status` | Current phase and status |
| `basePrice` | Base price in COP |
| `supplierName` | Awarded supplier (when awarded) |
| `url` | SECOP II process page |

### Pricing

Pay-per-event: **$0.005** once per run that saves results + **$0.002 per tender** ($2 / 1,000). Runs that save nothing are not charged.

| Tenders saved | Approx. cost |
|---|---|
| 20 | $0.045 |
| 100 | $0.205 |
| 1,000 | $2.005 |
| 10,000 | $20.005 |

### Use cases

- Companies selling to the Colombian government finding tenders daily
- Bid consultants monitoring buyers and modalities
- Competitor analysis on awarded suppliers and values
- Lead lists of public entities by department

### Integrations / API

Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:

```bash
curl "https://api.apify.com/v2/acts/datadesk-io~colombia-secop-tenders-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"keywords": ["software"], "daysBack": 30, "maxTenders": 20}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datadesk-io/colombia-secop-tenders-scraper").call(run_input={"keywords": ["software"], "daysBack": 30, "maxTenders": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### MCP

Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (`datadesk-io/colombia-secop-tenders-scraper`).

### Alerts mode

Turn on the **Only new** option and schedule the Actor daily: each run returns only tenders not seen in earlier runs with the same alerts key (nothing is charged when there is nothing new).

### FAQ

**Is this official data?** Yes, the SECOP II open-data dataset published by Colombia Compra Eficiente on datos.gov.co.

**Does it include SECOP I?** No, only SECOP II processes.

**Many processes are "Contratación directa" — can I exclude them?** Use `modalities` to keep only competitive modalities (e.g. Licitación pública, Selección abreviada, Mínima cuantía).

### Limitations

- Data latency follows the open-data refresh (usually daily).
- Document attachments are on the SECOP page (url), not in the dataset.
- Keyword search uses the Socrata full-text index.

### Start now

Click **Start** to run the prefilled example, then adjust the input. Missing a field, filter or source? Open an issue on the **Issues** tab and tell us what you need.

### Support

Questions, bugs or a missing field? Email **datadesk.io@proton.me** or open an issue on the Actor page.

***

**ES:** Extrae procesos de contratación de **SECOP II Colombia** (API oficial datos.gov.co): entidad, NIT, modalidad, precio base, proveedor adjudicado y URL. **$2 / 1.000.**
**PT:** Extrai processos de licitação do **SECOP II Colômbia** (API oficial): órgão, modalidade, preço base, fornecedor e URL. **$2 / 1.000.**

# Actor input Schema

## `keywords` (type: `array`):

Full-text search (Spanish), one query per keyword, e.g. software, consultoría, obra civil.

## `daysBack` (type: `integer`):

Only processes published in the last N days.

## `departments` (type: `array`):

Buyer department names, e.g. Antioquia, Valle del Cauca, Distrito Capital de Bogotá.

## `entity` (type: `string`):

Part of the buyer name, e.g. ALCALDIA, ECOPETROL, MINISTERIO.

## `modalities` (type: `array`):

Contracting modality contains, e.g. Licitación pública, Mínima cuantía, Selección abreviada, Contratación directa.

## `openOnly` (type: `boolean`):

Keep only processes whose opening status is Abierto.

## `minBasePrice` (type: `integer`):

Only processes with base price at or above this amount in COP.

## `maxTenders` (type: `integer`):

Stop after this many processes.

## `onlyNewTenders` (type: `boolean`):

Return only tenders not seen in previous runs with the same alerts key. Schedule daily for alerts.

## `alertsKey` (type: `string`):

Name for this alert memory (use a different key per saved search).

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "daysBack": 30,
  "departments": [
    "Antioquia"
  ],
  "entity": "ALCALDIA DE MEDELLIN",
  "modalities": [
    "Licitación pública"
  ],
  "openOnly": true,
  "minBasePrice": 500000000,
  "maxTenders": 20,
  "onlyNewTenders": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "software"
    ],
    "daysBack": 30,
    "maxTenders": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadesk-io/colombia-secop-tenders-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["software"],
    "daysBack": 30,
    "maxTenders": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datadesk-io/colombia-secop-tenders-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "software"
  ],
  "daysBack": 30,
  "maxTenders": 20
}' |
apify call datadesk-io/colombia-secop-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datadesk-io/colombia-secop-tenders-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/M9TClh2BnygchCLH4/builds/zcmlEcyaPhUPJL8E1/openapi.json
