# SECOP II Scraper: Colombia Public Tenders & Contracts (`mrslm_data/colombia-secop-tenders`) Actor

Scrape Colombian public tenders from SECOP II with entity, budget, modality, deadline and UNSPSC. Filter by keyword, entity, department, budget and date.

- **URL**: https://apify.com/mrslm_data/colombia-secop-tenders.md
- **Developed by:** [MRSLM Data](https://apify.com/mrslm_data) (community)
- **Categories:** Business, 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.20 / 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

## SECOP II Scraper: Colombia Public Tenders & Contracts

**Open Colombian public tenders from SECOP II: entity, budget, modality, deadline, UNSPSC and department, filtered by keyword, entity, budget and date. $1.50 per 1,000 tenders.**

Use this SECOP II API alternative to scrape Colombian public tenders from the official open dataset. Search by entity, department or UNSPSC code and export procurement results to CSV.

SECOP II is Colombia's national e-procurement platform: every national and local public entity publishes its tenders there. This Actor turns the official open dataset into a clean feed of competitive tenders you can still bid on.

### Quick start

1. Press **Start**. The form is already filled with this example input, so the first run returns real rows in under a minute:

```json
{
  "maxResults": 20
}
```

2. Swap in your own values, or call the Actor through the Apify API, Make, Zapier, n8n or the Python/JS clients with the same JSON.
3. Download the results as JSON, CSV or Excel from the **Output** tab, or schedule the run to repeat.

### Sample row (real run, trimmed)

```json
{
  "processId": "CO1.REQ.10929035",
  "reference": "DC-IN-LP- 011-2026 (Fase de Selección (Presentación de ofertas))",
  "title": "MEJORAMIENTO URBANO FLORENCIA (Fase de Selección (Presentación de ofertas))",
  "description": "MEJORAMIENTO URBANO FLORENCIA",
  "entity": "GOBERNACION DEL CAQUETA",
  "entityNit": "800091594",
  "department": "Caquetá",
  "city": "Florencia",
  "entityLevel": "Territorial",
  "entitySector": "Centralizada",
  "modality": "Licitación pública Obra Publica",
  "modalityJustification": "No Defenido",
  "contractType": "Obra",
  "contractSubtype": null,
  "budgetCop": 2230117147,
  "duration": 0,
  "durationUnit": "día(s)",
  "phase": "Fase de ofertas",
  "status": "Evaluación",
  "open": false,
  "awarded": false,
  "awardedValueCop": null,
  "awardDate": null,
  "publishedDate": "2026-09-23",
  "lastUpdatedDate": "2026-09-23",
  "bidDeadline": "2026-10-02",
  "bidOpeningDate": "2026-10-14",
  "unspscCode": "72141102",
  "additionalUnspscCodes": [],
  "views": 40,
  "interestedSuppliers": 0,
  "responses": 9,
  "lots": 0,
  "url": "https://community.secop.gov.co/Public/Tendering/OpportunityDetail/Index?noticeUID=CO1.NTC.10948713"
}
```

Also included: reference, entity NIT, city, entity level and sector, modality justification, contract type and subtype, duration, phase and status, award flag, value and date, last update, bid opening date, additional UNSPSC codes, views, interested suppliers, responses and lots.

### Who uses this

- **Suppliers and contractors**: a daily list of Colombian tenders in your sector and region.
- **Consultancies and bid writers**: find large tenders early and sort by budget.
- **Analysts**: follow public spending by entity and department.

### How to use it

1. Keep "Open tenders only" on, then add keywords, departments, entities, UNSPSC codes or a minimum budget.
2. Pick a sort order: newest, largest budget or closest deadline.
3. Run, export, or schedule daily.

### Pricing

- **Tender: $1.50 per 1,000 saved** (Silver $1.35, Gold $1.20)
- Plus $0.00005 per run. You pay only for tenders saved after your filters. Searches with no matches are free.

### FAQ

**Where does the data come from?** From the official SECOP II "Procesos de Contratación" open dataset on datos.gov.co, published by Colombia Compra Eficiente.

**Is any personal data included?** Direct contracting and special-regime processes (mostly one-person service contracts) are excluded by default. Supplier and awarding-official names are never output.

**How fresh is it?** The dataset is refreshed daily from SECOP II.

**Can I get only new records each day?** Yes. Use the date window input and schedule the Actor; each run returns what is new in that window.

**Can I search SECOP II without an API key?**
Yes. No SECOP II API key is required.

**How do I find Colombian tenders by department and category?**
Use `departments` for department names and `unspscCodes` for category codes or prefixes. Use `onlyOpen` to restrict results to open processes.

**Can I export SECOP II tenders to CSV or Google Sheets?**
Yes. Download the dataset as CSV or connect it to Google Sheets through Make, Zapier or n8n.

**Can an AI assistant search SECOP II with MCP?**
Yes. Connect it through the [Apify MCP server](https://mcp.apify.com/?tools=mrslm_data/colombia-secop-tenders).

**How much does a run saving 1,000 SECOP II tenders cost?**
On Free/Bronze pricing, 1,000 saved tenders cost $1.50, plus the $0.00005 start fee, for $1.50005. Filtered-out tenders are not charged.

### Related scrapers

- [Brazil PNCP Tenders: Public Procurement Search](https://apify.com/mrslm_data/brazil-pncp-tenders)
- [DNCP Paraguay Scraper: Licitaciones & Public Tenders](https://apify.com/mrslm_data/paraguay-dncp-tenders)
- [UK Public Tenders Scraper: Contracts Finder & Find a Tender](https://apify.com/mrslm_data/uk-public-tenders)

### Is it legal?

This Actor only reads official open-data APIs that the publisher offers to everyone without a login or key. It obeys robots.txt, stays under the published rate limits, and never tries to get past logins, paywalls, captchas or bot checks. Direct contracting and special-regime processes (mostly one-person service contracts) are excluded by default. Supplier and awarding-official names are never output. You are responsible for how you use the data: follow the source's licence and terms and the privacy and marketing laws that apply to you (GDPR, CAN-SPAM, PECR, etc.). This tool is independent and not affiliated with or endorsed by the data publisher.

# Actor input Schema

## `searchTerms` (type: `array`):

Match title and description, in Spanish, e.g. software, licencias, obra. Accents optional.

## `entities` (type: `array`):

Part of the buying entity name, e.g. INVIAS, Alcaldia de Medellin.

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

Colombian departments, e.g. Bogota D.C., Antioquia, Valle del Cauca. Accents optional.

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

Default: all competitive modalities.

## `unspscCodes` (type: `array`):

Category codes or prefixes, e.g. 43 (IT), 72 (construction services).

## `minBudgetCop` (type: `integer`):

0 = no minimum.

## `onlyOpen` (type: `boolean`):

Only processes that are published, open for bids, not awarded and with a deadline today or later.

## `includeDirectContracting` (type: `boolean`):

Also return direct contracting and special-regime processes (often contracts with individuals).

## `publishedWithinDays` (type: `integer`):

Processes published in the last N days. 0 = any date.

## `sortBy` (type: `string`):

Order of results.

## `maxResults` (type: `integer`):

Safety cap on saved tenders. 0 = no cap. Your max cost per run is always respected.

## Actor input object example

```json
{
  "minBudgetCop": 0,
  "onlyOpen": true,
  "includeDirectContracting": false,
  "publishedWithinDays": 30,
  "sortBy": "newest",
  "maxResults": 20
}
```

# Actor output Schema

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

All tenders as a dataset (JSON, CSV, Excel and more via the API or Console).

## `summary` (type: `string`):

Matches and saved rows per search, failures and the stop reason.

# 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 = {
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrslm_data/colombia-secop-tenders").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 = { "maxResults": 20 }

# Run the Actor and wait for it to finish
run = client.actor("mrslm_data/colombia-secop-tenders").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 '{
  "maxResults": 20
}' |
apify call mrslm_data/colombia-secop-tenders --silent --output-dataset

```

## MCP server setup

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

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/TQUKlXppq8LtlKx6N/builds/uuhdKJcWZrmdbiiNG/openapi.json
