# SECOP II Colombia Procurement Scraper - 9M+ Public Contracts (`recordsdata/secop-colombia-procurement-scraper`) Actor

Search Colombia's official SECOP II public procurement platform (9.2M+ records, updated daily via datos.gov.co): entity, process, value, modality, status, and awarded supplier for every public contracting process.

- **URL**: https://apify.com/recordsdata/secop-colombia-procurement-scraper.md
- **Developed by:** [RecordsData](https://apify.com/recordsdata) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.62 / 1,000 procurement records

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

<p align="center">
  <img src="https://api.apify.com/v2/key-value-stores/AAm3a1h3Z9nYfrvh9/records/banner?v=3" alt="RecordsData" width="100%" />
</p>

## SECOP II Colombia Procurement Scraper - 9M+ Public Contracts

### What does SECOP II Colombia Procurement Scraper do?

**SECOP II Colombia Procurement Scraper** searches Colombia's national public-procurement platform, accessed via its official open-data mirror on [datos.gov.co](https://www.datos.gov.co) - **9.2+ million real procurement processes**, updated daily. Filter by contracting entity, department, process status, or date range, and get the full process record: entity identity, contract description, base price, modality, status, and the awarded supplier (name, NIT, value) when the process has been decided.

No login, no anti-bot workarounds - this is Colombia's own official open-data platform. Runs on the Apify platform with API access, scheduling, monitoring and CSV/Excel/JSON export.

### Why use SECOP II Colombia Procurement Scraper?

- **Government-contracting intelligence** - see who's bidding and who's winning public contracts, by entity, department, or sector.
- **Compliance & due diligence** - check a company's public-contracting history before a partnership or acquisition.
- **Market research & lead generation** - find entities actively procuring in your category, and which suppliers they already work with.
- **Journalism & watchdog research** - track public spending by entity, department, or contracting modality over time.

### How SECOP II Procurement Scraper compares to alternatives

Measured against the other SECOP actors on the Apify Store (September 2026):

| | This actor | Alternative SECOP actors |
|---|---|---|
| Records reachable | 9.2M+ processes, updated daily via datos.gov.co | Not stated |
| Awarded supplier per process | Yes | Varies |
| Filters | Entity, process, value, modality, status, dates | Basic |
| Price per 1,000 records | $10.50 | $2.50 to $6.25 |

The alternatives are cheaper per row; this actor competes on the full 9.2M-record official dataset, daily freshness and award-level fields, stated up front so you can pick per use case.

### How to use SECOP II Colombia Procurement Scraper

1. Go to the **Input tab** and filter by **entity name**, **department**, **process status**, and/or a **date range**.
2. Set **max results** to control how many matching processes to return.
3. Click **Run**. Download results as JSON, CSV, or Excel from the dataset viewer.

### Input

- **Entity name contains** *(optional)* - substring match against the contracting entity's name.
- **Department** *(optional)* - exact Colombian department name.
- **Process status** *(optional)* - exact status, e.g. "Adjudicado", "Presentación de oferta".
- **Published from / to** *(optional)* - date range on the process's publication date.
- **Max results** - cap on how many matching processes to return (10 on free plan). A filter is strongly recommended - the full dataset has 9.2M+ rows.

Example input:

```json
{
    "entityNameContains": "universidad",
    "department": "Distrito Capital de Bogotá",
    "maxItems": 200
}
```

### Output

```json
{
    "recordType": "procurement-record",
    "processId": "CO1.REQ.9882493",
    "entityName": "UNIVERSIDAD NACIONAL DE COLOMBIA",
    "entityNit": "899999063",
    "department": "Distrito Capital de Bogotá",
    "processName": "PRESTAR SERVICIOS PROFESIONALES EN GEOLOGIA...",
    "publicationDate": "2026-01-23T00:00:00.000",
    "basePrice": 21000000,
    "contractingModality": "Contratación régimen especial",
    "processStatus": "Publicado",
    "awarded": "No"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field | Description |
| --- | --- |
| `processId` | Unique SECOP II process identifier |
| `entityName` / `entityNit` / `department` / `city` | Contracting entity identity and location |
| `processName` / `description` | What's being procured |
| `publicationDate` | When the process was published |
| `basePrice` | Estimated/base value of the contract |
| `contractingModality` / `contractType` | Legal procurement mechanism used |
| `processStatus` / `awarded` | Current status and whether it's been awarded |
| `supplierName` / `supplierNit` / `awardedValue` | Winning supplier and final contract value, once awarded |
| `processUrl` | Link to the official process page on SECOP II |

### Pricing / Cost estimation

This actor uses **Pay Per Event** pricing - you only pay per **procurement record** actually delivered, straight from a single API call with no extra fetch.

### Tips or Advanced options

- **Always filter** - a keyword, department, status, or date range keeps runs fast and relevant against a 9.2M-row dataset.
- **Combine entity + status** - e.g. entity contains "alcaldía" + status "Adjudicado" to see a municipality's awarded contracts.
- **Track by date range** - run on a schedule with a recent date window to catch newly published processes.

### FAQ, disclaimers, and support

**Is this legal?** SECOP II data is published by the Colombian government as open data via datos.gov.co, explicitly for public and commercial reuse - no login or paywall.

**Why do some processes show "No Definido" for supplier?** Not every process has been awarded yet - the actor returns exactly what SECOP II publishes for that process's current stage.

Found a bug or need historical SECOP I data too? Open an issue in the Issues tab or contact us for a **custom scraper** tailored to your procurement-intelligence pipeline.

# Actor input Schema

## `entityNameContains` (type: `string`):

Case-insensitive substring match against the contracting entity's name.

## `department` (type: `string`):

Exact Colombian department name, e.g. "Antioquia", "Distrito Capital de Bogotá".

## `processStatus` (type: `string`):

Exact process status, e.g. "Adjudicado", "Presentación de oferta", "Convocado".

## `dateFrom` (type: `string`):

Only include processes published on or after this date, format YYYY-MM-DD.

## `dateTo` (type: `string`):

Only include processes published on or before this date, format YYYY-MM-DD.

## `maxItems` (type: `integer`):

Maximum number of matching procurement processes to return. The full dataset has 9.2M+ rows, so a filter is strongly recommended.

## Actor input object example

```json
{
  "maxItems": 200
}
```

# Actor output Schema

## `dataset` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("recordsdata/secop-colombia-procurement-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,recordsdata/secop-colombia-procurement-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/q0KVgMJE9ASI0NtAf/builds/lCt88s6OQtvwiqQFb/openapi.json
