# SEACE Peru Tenders Scraper: Licitaciones & Contracts (`steadyscrape/seace-peru-tenders-scraper`) Actor

Peru government tenders from SEACE (OECE open data): licitaciones and contrataciones del Estado with buyer and RUC, procurement method, category, items with CUBSO/UNSPSC codes, estimated value in soles, awards, suppliers and contracts. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/seace-peru-tenders-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 tender delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## SEACE Peru Tenders Scraper: Licitaciones & Contrataciones del Estado

**SEACE Peru Tenders Scraper** extracts Peru's public tenders (licitaciones y contrataciones del Estado) from SEACE, the
State's procurement system, through the open data that OECE (formerly OSCE) publishes on its Portal de Contrataciones
Abiertas. Search by keyword, date, category, procurement method, buyer RUC, department, stage and estimated value, and get
one row per procurement process: nomenclature and description, buying entity with its RUC and address, method, category,
items with their CUBSO and UNSPSC codes, estimated value in soles, publication date and question period, bidding
documents, and, once awarded, the winning suppliers with their RUC, the awarded amounts and the signed contracts. Export
the data to JSON, CSV or Excel, or use it through the Apify API.

### What SEACE Peru Tenders Scraper does

- **Searches SEACE's open data the way its own portal does**: keywords (searched in the nomenclature, the description
  and the buyer's name), publication window, goods / services / works, and any procurement method, newest process first.
- **Covers every procurement method**: Licitación Pública and Pública Abreviada, Concurso Público, Adjudicación
  Simplificada, Subasta Inversa Electrónica, Comparación de Precios, Contratación Directa, Convenio, Régimen Especial and
  more, each choice covering every way SEACE has written it since 2004.
- **Filters by buyer and region**: give a State entity's RUC (EsSalud is 20131257750), or the departments whose buyers
  you want (Lima, Cusco, Arequipa…).
- **Awards and contracts**: ask for awarded processes only (buena pro) to see who won, for how much, and the contract.
- **Looks processes up directly** by OCID, SEACE process number or portal link, to follow a tender until its contract.

### Use cases

- **Find Peruvian government tenders to bid on**: a daily run for your keywords and categories lists the new calls with
  their bases (bidding documents) and question period.
- **Competitor and market intelligence**: who wins which contracts, at what prices, with which entities, and how many
  bidders (postores) compete.
- **Sales prospecting to the State**: which entities buy what you sell, in which departments, and how often.
- **Research and journalism**: public spending by entity, method or region, with links to every official record.

### Input

```json
{
    "keywords": ["mantenimiento"],
    "publishedWithinDays": 14,
    "categories": ["works"],
    "procurementMethods": ["licitacion-publica-abreviada"],
    "departments": ["CUSCO"],
    "stage": "any",
    "maxResults": 100
}
```

| Field | What it does |
|---|---|
| `keywords` | Words or phrases searched with SEACE's own search. A phrase is matched as written, with and without its accents. SEACE matches whole words, so `computadora` and `computadoras` are two searches. Up to 200 characters each. |
| `publishedWithinDays` | Processes whose call was published in the last N days (Lima time). Default 7. |
| `publishedFrom`, `publishedTo` | A fixed window, YYYY-MM-DD, from 2004-01-01. Replaces the days above. |
| `categories` | `goods` (bienes), `services` (servicios), `works` (obras). |
| `procurementMethods` | Selection procedures, each covering all of SEACE's spellings of it. |
| `departments` | The buying entity's department, as SEACE's directory of entities records its address. |
| `buyerRucs` | 11-digit RUCs of buying entities. |
| `stage` | `any`, `awarded` (with the winning suppliers) or `contracted` (with a signed contract). |
| `minValue`, `maxValue` | The estimated value in soles. Processes whose value is withheld by law have none, so they are left out when either is set. |
| `processes` | OCIDs, process numbers or portal links to read directly. When set, the search filters are not used. |
| `maxResults` | The most tenders in one run, newest first. Default 100; 0 for no limit. |

### Output

One row per process, as SEACE's record stands today. Excerpt of a real row:

```json
{
    "ocid": "ocds-dgv273-seacev3-1266483",
    "processId": "1266483",
    "nomenclature": "CONV-PROC-25-2026-FIP/BID-1",
    "description": "SERVICIO DE OPERADOR LOGÍSTICO PARA LA CAPACITACIÓN DE COMBATIENTES DE INCENDIOS FORESTALES …",
    "buyerName": "UNIDAD EJECUTORA 002 CONSERVACION DE BOSQUES",
    "buyerRuc": "20546871330",
    "buyerDepartment": "LIMA",
    "procurementMethod": "Convenio",
    "procurementMethodGroup": "convenio",
    "category": "services",
    "categoryName": "Servicios",
    "estimatedValue": 75761.31,
    "currency": "PEN",
    "valueProtectedByLaw": false,
    "publishedAt": "2026-11-16T23:52:00.000Z",
    "publishedDate": "2026-11-16",
    "processStage": "contract",
    "items": [
        {
            "position": "1",
            "description": "SERVICIO DE OPERADOR LOGÍSTICO PARA LA CAPACITACIÓN …",
            "quantity": 1,
            "unit": "Servicio",
            "status": "CONTRATADO",
            "cubsoCode": "8613210200229890",
            "cubsoName": "SERVICIO DE PLANIFICACION Y ORGANIZACION DE TALLERES",
            "unspscCode": "86132102",
            "unspscName": "Servicio de consultoría de capacitación, organización y desarrollo",
            "value": 75761.31,
            "currency": "PEN"
        }
    ],
    "numberOfTenderers": 1,
    "tenderers": [{ "name": "AJ SOLUCIONES EMPRESARIALES E.I.R.L", "ruc": "20451738012" }],
    "awards": [
        {
            "awardId": "1266483-20451738012",
            "date": "2026-11-16",
            "value": 75761.31,
            "currency": "PEN",
            "suppliers": [{ "name": "AJ SOLUCIONES EMPRESARIALES E.I.R.L", "ruc": "20451738012" }]
        }
    ],
    "contracts": [
        {
            "contractId": "2436919",
            "code": "S-13-2026-0-FIP/BID",
            "dateSigned": "2026-09-24",
            "startDate": "2026-09-25",
            "endDate": "2026-10-26",
            "value": 75761.31,
            "currency": "PEN",
            "documentUrl": "https://prod4.seace.gob.pe:9000/api/con/documentos/descargar/153244468"
        }
    ],
    "supplierNames": "AJ SOLUCIONES EMPRESARIALES E.I.R.L",
    "documents": [{ "title": "Bases Administrativas", "type": "biddingDocuments", "url": "https://prod1.seace.gob.pe/SeaceWeb-PRO/SdescargarArchivoAlfresco?fileCode=…" }],
    "processUrl": "https://contratacionesabiertas.oece.gob.pe/proceso/ocds-dgv273-seacev3-1266483",
    "license": "CC BY 4.0",
    "unreadFields": []
}
```

#### Fields

| Field | Meaning |
|---|---|
| `ocid`, `processId`, `nomenclature` | The process's Open Contracting id, SEACE number and nomenclature (LP-ABR-22-2026-MPA-1). |
| `description` | What is being bought (objeto de la contratación). |
| `buyerName`, `buyerRuc`, `buyerCode` | The buying entity, its RUC and its SEACE entity code. |
| `buyerDepartment`, `buyerProvince`, `buyerDistrict`, `buyerAddress` | The entity's address. |
| `procurementMethod`, `procurementMethodGroup`, `procurementMethodType` | SEACE's name of the method, the choice it belongs to in the form, and OCDS's open / selective / direct / limited. |
| `category`, `categoryName` | goods, services or works (Bienes, Servicios, Obras). |
| `estimatedValue`, `currency`, `valueProtectedByLaw` | The reference value; `null` while the law withholds it during the selection phase. |
| `publishedAt`, `publishedDate` | When the call was published (UTC instant, and the day in Lima). |
| `enquiryStart`, `enquiryEnd` | The questions-and-observations period (consultas y observaciones). |
| `processStage`, `itemStatus` | tender, award or contract; and the items' SEACE status (CONVOCADO, ADJUDICADO, CONTRATADO, DESIERTO…). |
| `items`, `itemCount`, `unspscCodes` | Each item with quantity, unit, CUBSO and UNSPSC codes and value. |
| `numberOfTenderers`, `tenderers` | The bidders (postores) and their RUC, once SEACE publishes them. |
| `awards`, `awardedValue`, `awardCurrency`, `supplierNames`, `supplierRucs` | Who won and for how much. |
| `contracts` | Signed contracts: code, dates, value and the contract document. |
| `documents` | Bidding documents, clarifications and award notices, with their links on SEACE. |
| `budgetSource`, `sourceSystem` | The funding (Fondos Públicos…) and the SEACE version the record comes from. |
| `processUrl`, `apiUrl`, `license`, `attribution` | The process's page and record on OECE's portal, and the licence. |
| `unreadFields` | Delivered fields that did not read on this row because SEACE changed how it writes them; empty when all read. |
| `rowType`, `status`, `scrapedAt` | `tender` and `ok` on a tender row (`status` and its `query` and `reason` on a free status row), and when the row was read. |

A run also writes free status rows (`rowType: "status"`) for what gave no tender: `no_results`, `not_found` (a process
SEACE does not have), `buyer_not_found` (a RUC no entity has), `unreadable`, `blocked` and `spending_limit`.

### Pricing

Pay per result: **US$0.002 per tender**, and **US$0.003 per tender with its awards** (when the record names the winning
supplier). Status rows are free. 1,000 open calls cost US$2.

### Limits

- **No offer deadline**: SEACE's open data carries the publication day and the questions period, but not the day offers
  are due; that date is in the bases (`documents`).
- **Values withheld by law**: during the selection phase SEACE often withholds the reference value (shown as 0 in its
  data); `estimatedValue` is then `null` and `valueProtectedByLaw` is `true`, never a zero price.
- **Refreshed daily**: OECE loads SEACE into its open data every morning from 08:15 Lima time, so a call published today
  appears the next morning.
- **Whole words**: SEACE's search matches whole words as written (`computadora` ≠ `computadoras`); add every form you need.
- A run that asks for many months of every process reads each month's full list before the newest first ordering;
  filters (keywords, category, method, buyer) make it faster.

### Legality and source

The data is open data published by Peru's **Organismo Especializado para las Contrataciones Públicas Eficientes (OECE)**
on its Portal de Contrataciones Abiertas under the **Creative Commons Attribution 4.0 (CC BY 4.0)** licence, which allows
any use, commercial included, with a link to the source: every row carries `processUrl` and `attribution`. Peru's
procurement and transparency laws make these notices public. This Actor reads only that public open data, with no login.
It is not affiliated with OECE or SEACE.

### Related Actors

- [Mercado Público Compra Ágil Scraper](https://apify.com/steadyscrape/mercado-publico-compra-agil-scraper): Chile's public purchases.
- [PNCP Licitações Scraper](https://apify.com/steadyscrape/pncp-licitacoes-scraper): Brazil's public tenders.
- [SECOP Colombia Tenders Scraper](https://apify.com/steadyscrape/secop-colombia-tenders-scraper): Colombia's public procurement.
- [Government Tenders Scraper](https://apify.com/steadyscrape/government-tenders-scraper): SAM.gov, TED and UK contract opportunities in one schema.

# Actor input Schema

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

Words or phrases searched in each process's nomenclature, description and buyer name with SEACE's own search, one search per keyword. A phrase is matched as written, with and without its accents. SEACE matches whole words: <b>computadora</b> and <b>computadoras</b> are different searches, so add both. Up to 200 characters each. Leave empty for every process.

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

Processes whose call (convocatoria) was published from this many days ago up to today, in Lima time. Ignored when the dates below are set. SEACE's open data is refreshed every morning from 08:15 in Lima, so today's calls appear tomorrow.

## `publishedFrom` (type: `string`):

The first publication day, YYYY-MM-DD (from 2004-01-01). Leave empty to count back from the last day.

## `publishedTo` (type: `string`):

The last publication day, YYYY-MM-DD. Leave empty for today.

## `categories` (type: `array`):

Goods (bienes), services (servicios) or works (obras). Leave empty for all.

## `procurementMethods` (type: `array`):

The selection procedure. Each choice covers every way SEACE has written it across versions and laws (for example 'Licitación Pública', 'LICITACION PUBLICA NACIONAL'). Leave empty for all.

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

Keeps processes whose buying entity's address is in these departments, as SEACE's directory of State entities writes it. Leave empty for all of Peru.

## `buyerRucs` (type: `array`):

The 11-digit RUC of the State entities that buy, for example <b>20131257750</b> for EsSalud. Each is looked up in SEACE's directory of entities; a RUC it does not have gives a free row.

## `stage` (type: `string`):

Any process, or only those already awarded (buena pro, with the winning suppliers and their RUC), or only those with a signed contract.

## `minValue` (type: `integer`):

The reference value (valor estimado) in soles. 0 means no minimum. Processes whose value SEACE withholds by law during the selection phase have none, so a minimum or a maximum leaves them out.

## `maxValue` (type: `integer`):

The reference value in soles. 0 means no maximum.

## `processes` (type: `array`):

Processes to read directly, by OCID (<b>ocds-dgv273-seacev3-1266483</b>), SEACE process number (<b>1266483</b>) or their page on contratacionesabiertas.oece.gob.pe. When set, the search and its filters above are not used: each process's latest state is delivered, with its awards and contracts.

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

The most tenders delivered in one run, newest process first. 0 means no limit.

## Actor input object example

```json
{
  "keywords": [
    "mantenimiento"
  ],
  "publishedWithinDays": 14,
  "publishedFrom": "",
  "publishedTo": "",
  "categories": [],
  "procurementMethods": [],
  "departments": [],
  "buyerRucs": [],
  "stage": "any",
  "minValue": 0,
  "maxValue": 0,
  "processes": [],
  "maxResults": 10
}
```

# Actor output Schema

## `tenders` (type: `string`):

No description

## `summary` (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": [
        "mantenimiento"
    ],
    "publishedWithinDays": 14,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/seace-peru-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": ["mantenimiento"],
    "publishedWithinDays": 14,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/seace-peru-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": [
    "mantenimiento"
  ],
  "publishedWithinDays": 14,
  "maxResults": 10
}' |
apify call steadyscrape/seace-peru-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/seace-peru-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/5JSPjJF7N0HFZshJ5/builds/cYO1RLIvkXAaI4Znl/openapi.json
