# Latin America Public Tenders — Brazil, Colombia & Chile (`mastercreator_ai/latin-america-public-tenders`) Actor

One unified feed of government tenders from Brazil (PNCP), Colombia (SECOP II) and Chile (Mercado Público). Search in Portuguese or Spanish, keep only open tenders, filter by region and value, and get the same clean schema for every country. Built for LatAm market entry and AI agents.

- **URL**: https://apify.com/mastercreator_ai/latin-america-public-tenders.md
- **Developed by:** [MasterCreator AI](https://apify.com/mastercreator_ai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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.

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

## Latin America Public Tenders — Brazil, Colombia & Chile in One Feed

Selling to Latin American governments means watching a different portal, language and data format in every country. This Actor gives you **one unified, clean feed** of public tenders from:

| Country | Source |
|---|---|
| 🇧🇷 Brazil | PNCP — Portal Nacional de Contratações Públicas |
| 🇨🇴 Colombia | SECOP II (via datos.gov.co open data) |
| 🇨🇱 Chile | Mercado Público / ChileCompra (free API ticket) |

### Same schema for every country

country, countryName, source, id, reference, title, description, buyer, buyerId, region, city, procurementMethod, status, estimatedValue, currency, publishedAt, deadline, daysLeft, url, keyword.

### Input example

```json
{
  "countries": [
    "BR",
    "CO",
    "CL"
  ],
  "keywords": [
    "software",
    "ciberseguridad",
    "cibersegurança"
  ],
  "onlyOpen": true,
  "maxResultsPerCountry": 200,
  "chileTicket": "YOUR-FREE-TICKET"
}
```

### Who uses it

- Companies expanding into LatAm public sector (SaaS, medical, infrastructure, consulting)
- Bid consultants and market-entry advisors
- Analysts tracking government demand across the region
- AI agents via Apify MCP: "list open IT tenders in Colombia and Brazil"

### Tips

- Use local-language keywords (Portuguese for Brazil, Spanish for Colombia/Chile). You can mix them in one run.
- Schedule daily and pipe to Google Sheets, Slack or your CRM.
- Values are in local currency (BRL, COP, CLP).

### Pricing

Pay per tender saved. Set a max spend per run and the Actor stops cleanly.

### Notes

Reads public open-government data only. "Only open" uses each source's status fields and is best effort. More countries are on the roadmap — tell us which one you need in the Issues tab.

# Actor input Schema

## `countries` (type: `array`):

BR = Brazil (PNCP), CO = Colombia (SECOP II), CL = Chile (Mercado Público, needs a free ticket).

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

Use local-language terms for best results, e.g. 'software', 'limpeza' (PT), 'limpieza', 'consultoría' (ES). Empty = latest tenders.

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

Keep only tenders still accepting bids (best effort per source).

## `maxResultsPerCountry` (type: `integer`):

Maximum number of tenders to save for each country.

## `regions` (type: `array`):

Keep only tenders whose region contains any of these, e.g. 'SP', 'Antioquia', 'Metropolitana'.

## `minValueLocalCurrency` (type: `integer`):

Compared in each country's own currency (BRL, COP, CLP). Tenders without value are skipped when set.

## `chileTicket` (type: `string`):

Free API ticket from api.mercadopublico.cl. Without it, Chile is skipped.

## Actor input object example

```json
{
  "countries": [
    "BR",
    "CO"
  ],
  "keywords": [
    "software"
  ],
  "onlyOpen": true,
  "maxResultsPerCountry": 100
}
```

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastercreator_ai/latin-america-public-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 = { "keywords": ["software"] }

# Run the Actor and wait for it to finish
run = client.actor("mastercreator_ai/latin-america-public-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 '{
  "keywords": [
    "software"
  ]
}' |
apify call mastercreator_ai/latin-america-public-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mastercreator_ai/latin-america-public-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/4rQM4z5O3eZVsYtJQ/builds/uwQW6tQFgXdR5q9u3/openapi.json
