# LATAM Central Banks FX, Policy & Inflation Rates Scraper (`scrapers_lat/latam-central-banks-fx-scraper`) Actor

Unified official exchange rates, policy rates, inflation and reserves from LATAM central banks: Peru (BCRP), Argentina (BCRA) and Colombia. Flat time series with country, indicator, value, unit, currency, date. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/latam-central-banks-fx-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** News, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.20 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## LATAM Central Banks FX, Policy & Inflation Rates Scraper

> Pull official exchange rates, monetary policy rates, inflation and international reserves from Latin America's central banks into one clean, comparable time series. Covers Peru (BCRP), Argentina (BCRA) and Colombia (Banco de la Republica), normalised so every row has the same flat columns: country, central bank, indicator, value, unit, currency and date. Built for economists, fintech, treasury and macro research.

**📥 [Input](https://apify.com/scrapers_lat/latam-central-banks-fx-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/latam-central-banks-fx-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/latam-central-banks-fx-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/latam-central-banks-fx-scraper/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Data](https://img.shields.io/badge/Data-Central%20bank%20rates-blue)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>Official USD rates</strong><br>from each central bank</td>
<td align="center"><strong>Policy rate, inflation & reserves</strong><br>one flat schema</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
</tr></table>

<br>

### What you get

Every record is a single flat observation with these fields:

- **country** and **countryCode** — Peru / PE, Argentina / AR, Colombia / CO
- **centralBank** — BCRP, BCRA or Banco de la Republica
- **indicator** — human-readable name (for example "Official USD/PEN Exchange Rate", "Monetary Policy Reference Rate", "Inflation Rate (Annual)")
- **indicatorType** — `exchange_rate`, `policy_rate`, `inflation` or `reserves`
- **value**, **unit** and **currency** — the number plus how to read it (for example ARS per USD, percent, USD millions)
- **date** and **frequency** — the observation date and whether it is daily or monthly
- **source** and **observedAt**

Because every country and indicator lands in the same columns, you can chart Peru, Argentina and Colombia side by side without any reshaping.

### Who is it for

| Use case | Who benefits |
|---|---|
| Macro research | Economists tracking FX, policy and inflation across the region |
| Fintech and treasury | Teams pricing FX, remittances and cross-border payments |
| Dashboards | Builders feeding official rates into their own apps |
| Journalism | Reporters citing official central bank figures |

### How to use it

1. Pick the **countries** (Peru, Argentina, Colombia) and **indicator types** (exchange\_rate, policy\_rate, inflation, reserves). Leave empty for everything.
2. Optionally set a **start date** and **end date** (YYYY-MM-DD). By default it returns roughly the last year.
3. Set **Max Data Points** and run. Export as JSON, CSV or Excel, or pull it through the Apify API.

### Frequently Asked Questions

**Which exchange rate is this?**
The official reference rate published by each central bank: Peru's interbank sell rate, Argentina's official retail and wholesale rates, and Colombia's TRM (Tasa Representativa del Mercado). These are the government reference rates, not parallel or informal quotes.

**What indicators are included?**
Official USD exchange rate, monetary policy interest rate, monthly and annual inflation, and international reserves, depending on the country. Every indicator is tagged with `indicatorType` so you can filter easily.

**How far back does the history go?**
Set any start date. The sources hold long daily and monthly histories; the actor returns everything in your date range up to the max you set.

**You only bill for real data, right?**
Yes. You are charged per data point actually returned. A run that matches no indicators or returns nothing costs nothing.

### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).

### Related scrapers

- [Argentina Dollar Blue & Oficial Exchange Rate Scraper](https://apify.com/scrapers_lat/argentina-dolar-scraper)
- [Currency Exchange Rates Scraper](https://apify.com/scrapers_lat/exchange-rates-scraper)
- [World Bank Indicators Scraper](https://apify.com/scrapers_lat/world-bank-indicators-scraper)

### More scrapers at scrapers.lat

This actor is built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for public platforms: finance, news, real estate, jobs, e-commerce and government data. Browse the full catalog or ask us for a custom scraper at [scrapers.lat](https://scrapers.lat).

***

> This actor is an independent tool and has no affiliation with any central bank. It only accesses publicly available official data. Use the results in accordance with each source's terms.

# Actor input Schema

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

Which Latin American central banks to include. Leave empty for all. Options: Peru (BCRP), Argentina (BCRA), Colombia (Banco de la Republica).

## `indicators` (type: `array`):

Which indicator types to include. Leave empty for all. Options: exchange\_rate, policy\_rate, inflation, reserves.

## `startDate` (type: `string`):

Earliest observation date to collect (YYYY-MM-DD). Optional. Defaults to one year ago.

## `endDate` (type: `string`):

Latest observation date to collect (YYYY-MM-DD). Optional. Defaults to today.

## `maxDataPoints` (type: `integer`):

Maximum number of data points (one per indicator per date) to collect across the whole run.

## Actor input object example

```json
{
  "countries": [
    "Peru",
    "Argentina",
    "Colombia"
  ],
  "indicators": [
    "exchange_rate",
    "policy_rate",
    "inflation",
    "reserves"
  ],
  "maxDataPoints": 10
}
```

# 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 = {
    "countries": [
        "Peru",
        "Argentina",
        "Colombia"
    ],
    "indicators": [
        "exchange_rate",
        "policy_rate",
        "inflation",
        "reserves"
    ],
    "startDate": "",
    "endDate": "",
    "maxDataPoints": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/latam-central-banks-fx-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 = {
    "countries": [
        "Peru",
        "Argentina",
        "Colombia",
    ],
    "indicators": [
        "exchange_rate",
        "policy_rate",
        "inflation",
        "reserves",
    ],
    "startDate": "",
    "endDate": "",
    "maxDataPoints": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/latam-central-banks-fx-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "countries": [
    "Peru",
    "Argentina",
    "Colombia"
  ],
  "indicators": [
    "exchange_rate",
    "policy_rate",
    "inflation",
    "reserves"
  ],
  "startDate": "",
  "endDate": "",
  "maxDataPoints": 10
}' |
apify call scrapers_lat/latam-central-banks-fx-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/latam-central-banks-fx-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xZcOufu1TDxE3dI4s/builds/7wJWXzT1syV3ldSKK/openapi.json
