# Bcra — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access regulations, communications, and news from Argentina's Central Bank while retrieving real-time monetary variables and economic indicators. Search BCRA communications by type, date, or number, and monitor the latest financial statistics and homepage data all in one place.

**Category:** Finance & Markets | **Website:** [bcra.gob.ar/](https://bcra.gob.ar/) | **Docs:** [parse.bot/marketplace/b719db67-75e7-4905-a35e-6a34df5d3550/bcra-gob-ar-api](https://parse.bot/marketplace/b719db67-75e7-4905-a35e-6a34df5d3550/bcra-gob-ar-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_homepage_indicators

Retrieve key macroeconomic indicators displayed on the BCRA homepage. Includes base monetaria, inflation (monthly, annual, expected), exchange rates, and interest rates. Each indicator includes its serie number for historical data retrieval.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/get_homepage_indicators \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_latest_news

Retrieve the latest news articles and press releases from the BCRA homepage. Returns the most recent posts with title, date, excerpt, permalink, and category tags.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/get_latest_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_monetary_variable_data

Retrieve historical data for a specific monetary variable by its serie number. Requires solving a Turnstile captcha internally. Use get_monetary_variables to discover available serie numbers. Returns daily data points with date and value.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `desde` | string | Yes | Start date in YYYY-MM-DD format. |
| `hasta` | string | Yes | End date in YYYY-MM-DD format. |
| `serie` | string | Yes | Serie number of the variable (e.g. '250' for Base monetaria, '272' for Tipo de Cambio Mayorista). Discoverable via get_monetary_variables. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/get_monetary_variable_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"desde":"<string>","hasta":"<string>","serie":"<string>"}'
```

### get_monetary_variables

List available monetary and financial variables from the BCRA, including their current values. Each variable has a 'serie' number that can be used with get_monetary_variable_data to retrieve historical data. Includes exchange rates, inflation, interest rates, reserves, and monetary base.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/get_monetary_variables \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_communications_by_date

Search for BCRA communications within a specific date range. Returns paginated results ordered by date descending. All communication types are included.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `desde` | string | Yes | Start date in YYYY-MM-DD format. |
| `hasta` | string | Yes | End date in YYYY-MM-DD format. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/search_communications_by_date \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"desde":"<string>","hasta":"<string>"}'
```

### search_communications_by_type_and_date

Search for BCRA communications by type and date range. Returns paginated results filtered by communication type and ordered by date descending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `desde` | string | Yes | Start date in YYYY-MM-DD format. |
| `hasta` | string | Yes | End date in YYYY-MM-DD format. |
| `tipo` | string | Yes | Communication type. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/search_communications_by_type_and_date \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"desde":"<string>","hasta":"<string>","tipo":"<string>"}'
```

### search_communications_by_type_and_number

Search for BCRA communications by their type and number. Returns matching communications with metadata including dates, references, and PDF links. Communication types are A (principal regulations), B (supplementary), C (informational), P (press releases).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `numero` | string | Yes | Communication number (e.g. '8176'). |
| `tipo` | string | Yes | Communication type. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bcra-gob-ar-api-b719db67/search_communications_by_type_and_number \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"numero":"<string>","tipo":"<string>"}'
```
