# Dominican Republic Procurement Scraper (DGCP) (`publicmoney/dgcp-dominican-republic-scraper`) Actor

Extract Dominican Republic public procurement from DGCP open data: processes (buyer, modality, estimated amount, deadlines, links) and contracts with supplier name, RPE number and value.

- **URL**: https://apify.com/publicmoney/dgcp-dominican-republic-scraper.md
- **Developed by:** [Public Money](https://apify.com/publicmoney) (Apify)
- **Categories:** Business
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 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

This Actor reads Dominican Republic public procurement from the open data API of the **Dirección General de Contrataciones Públicas (DGCP)**, the data behind comprasdominicana.gob.do: **procurement processes** (buyer, modality, estimated amount, deadlines, link) and **contracts** (supplier name and RPE registry number, value, award date, link).

### What it does

- **Processes**: 7,605 published in September 2026 when this was verified — code, title, description, buyer and code, modality, status, goods/services/works, estimated amount and currency, publication, bid deadline, opening and estimated award dates, MIPYME reservation, link.
- **Contracts**: 725,971 in the source — contract and process code, buyer, supplier name and RPE, status, award date, value, payment terms, link.
- **Filters at the source**: date window, buyer code, process code, modality, status, MIPYME (processes) and supplier RPE (contracts); keyword in title and description.

### Use cases

| You need to | How this Actor does it |
| --- | --- |
| Find open Dominican tenders | Processes, recent days, read the bid deadline |
| See who wins government contracts | Contracts, group by supplier RPE |
| Track one ministry or hospital | Buyer code on processes or contracts |
| Follow one supplier | Contracts with its RPE |

### Input

| Field | Type | Default | What it controls |
| --- | --- | --- | --- |
| `mode` | string | `processes` | `processes` or `contracts` |
| `dateFrom` | string | six days ago | First publication (processes) or award (contracts) day |
| `dateTo` | string | today | Last day, inclusive |
| `keyword` | string | empty | Title and description |
| `buyerCode` | integer | empty | DGCP purchasing unit code |
| `processCode` | string | empty | One process, or its contracts |
| `modality` | string | empty | Exact modality (processes) |
| `status` | string | empty | Exact status (processes) |
| `mipymeOnly` | boolean | `false` | MIPYME-reserved processes |
| `supplierRpe` | string | empty | Supplier RPE (contracts) |
| `maxItems` | integer | `500` | Caps how many records are returned, and so the cost |

```json
{
    "mode": "contracts",
    "dateFrom": "2026-09-20",
    "dateTo": "2026-09-26"
}
```

### Output (contract)

```json
{
    "contractCode": "INFOTEP-2026-02309",
    "processCode": "INFOTEP-DAF-CD-2026-1683",
    "description": "Contratación de servicios para la ejecución de acciones formativas de Elaboración De Productos De Repostería Básica, a través de un Centro Operativo del Sistema (COS) de la Dir. Regional Cibao Sur",
    "buyer": "Instituto Nacional de formación Técnico Profesional",
    "supplierName": "Centro de Educación Integral Padre Fantino, SRL",
    "supplierRpe": "16550",
    "status": "Activo",
    "awardDate": "2026-09-23T18:11:56.1566667Z",
    "currency": "DOP",
    "contractValue": 151575,
    "contractUrl": "https://comunidad.comprasdominicana.gob.do/Public/Tendering/ContractDetailView/Index?UniqueIdentifier=DO1.PCCNTR.2390933&AwardContractDetailId=758652"
}
```

### Coverage and limits

- Texts are in Spanish, as published.
- Contracts carry no date filter at the source; the Actor walks them from the newest award back and stops once a page lies wholly before the window.

### Pricing

Pay per event: one `tender-scraper` event per record written to the dataset. The optional schema.org block is charged once per run.

# Actor input Schema

## `mode` (type: `string`):

Procurement processes (372 published on 15 September 2026) or contracts with the supplier (1,236 awarded 20–26 September 2026).

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

First publication day (processes) or award day (contracts), YYYY-MM-DD. Default: six days before today.

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

Last day, inclusive, YYYY-MM-DD. Default: today.

## `keyword` (type: `string`):

Matched in the title and description, e.g. 'servicio'.

## `buyerCode` (type: `integer`):

DGCP purchasing unit code (codigo_unidad_compra), e.g. 260 for the Ministerio de Medio Ambiente.

## `processCode` (type: `string`):

One process, e.g. 'MIMARENA-DAF-CD-2026-0218'; in contracts mode, that process's contracts. No default date window when set.

## `modality` (type: `string`):

Exact modality as DGCP writes it, e.g. 'Compras por Debajo del Umbral', 'Licitación Pública Nacional'.

## `status` (type: `string`):

Exact process status, e.g. 'Proceso con etapa cerrada'.

## `mipymeOnly` (type: `boolean`):

Only processes reserved for micro, small and medium enterprises.

## `supplierRpe` (type: `string`):

Supplier registry number (RPE), e.g. '60443'.

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

Caps how many records are written to the dataset, and so caps the cost. Set to 0 for everything matched.

## `schemaOrg` (type: `boolean`):

Appends a `schemaOrg` object to every record, mapping it to schema.org (Demand). Charged once per run, not per record.

## Actor input object example

```json
{
  "mode": "processes",
  "mipymeOnly": false,
  "maxItems": 500,
  "schemaOrg": false
}
```

# Actor output Schema

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

Processes or contracts matched by the run, one item per record, in the default dataset.

# 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 = {
    "maxItems": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("publicmoney/dgcp-dominican-republic-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 = { "maxItems": 500 }

# Run the Actor and wait for it to finish
run = client.actor("publicmoney/dgcp-dominican-republic-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 '{
  "maxItems": 500
}' |
apify call publicmoney/dgcp-dominican-republic-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,publicmoney/dgcp-dominican-republic-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/Q4LT4M2kevpGdxH9p/builds/39VFh0vQkNRkAtQ4K/openapi.json
