# Argenstats — 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 Argentina's key economic indicators including the EMAE activity index, inflation (IPC), dollar exchange rates (BLUE, CCL, MEP, OFICIAL, and more), country risk, employment, and poverty levels. Retrieve current values, historical series, and forecasting event listings from ArgenStats.

**Category:** Finance & Markets | **Website:** [argenstats.com/](https://argenstats.com/) | **Docs:** [parse.bot/marketplace/147de0c2-2b79-43da-b63b-f7548faa0922/argenstats-com-api](https://parse.bot/marketplace/147de0c2-2b79-43da-b63b-f7548faa0922/argenstats-com-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-argenstats-com-api-147de0c2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_dolar_cotizaciones

Retrieve the latest available exchange rate quotes for all dollar types in Argentina: BLUE, CCL, CRYPTO, MAYORISTA, MEP, OFICIAL, and TARJETA. Each type includes buy, sell, and average prices in ARS. Returns the most recent trading day's data.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_dolar_cotizaciones \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_dolar_historical

Retrieve historical dollar exchange rate data for the last 90 days. Returns a daily series with all dollar types (BLUE, CCL, CRYPTO, MAYORISTA, MEP, OFICIAL, TARJETA) and a summary with count, average, min, max, start/end prices, and variation percentage.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_dolar_historical \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_emae

Retrieve the current EMAE (Estimador Mensual de Actividad Económica) snapshot. Returns the latest general index value with seasonal adjustment and cycle-trend, a full sector breakdown (17 sectors), the last 10 months of historical data, and summary statistics including top growth and decline sectors. No parameters required — always returns the most recent available month.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_emae \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_emae_historical

Retrieve historical EMAE data filtered by economic sector and time period. When a specific sector is selected (other than GENERAL), returns only the historical series for that sector with current and stats set to null. Useful for analyzing sector-specific trends over configurable time windows.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `period` | integer | No | Number of months of historical data to retrieve. |
| `sector` | string | No | Economic sector code to filter by. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_emae_historical \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period":"<integer>","sector":"<string>"}'
```

### get_empleo

Retrieve historical labor market indicators for Argentina. Returns quarterly unemployment rate data for the last 5 years from the 31 major urban agglomerates (Total 31 aglomerados). Each data point includes date, value (percentage), region, and indicator type.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_empleo \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_eventos

Retrieve available prediction/forecasting competition events on ArgenStats. Returns a list of event entries with the path to their page and a human-readable title derived from the URL slug.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_eventos \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_ipc

Retrieve the current IPC (Índice de Precios al Consumidor / Consumer Price Index) snapshot. Returns the latest inflation reading with monthly, yearly, and year-to-date accumulated rates, a full component breakdown (bienes/servicios, categorías, rubros), and a historical series of the last 11 months.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_ipc \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_pobreza

Retrieve current poverty and indigence indicators for Argentina. Returns the latest semi-annual measurement with poverty and indigence rates for persons and households (including variation from prior period), a regional comparison across 7 Argentine regions with rankings, and a historical series since 2016.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_pobreza \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_riesgo_pais

Retrieve current Argentina country risk (Riesgo País) data. Returns the current estimated value with daily change, JP Morgan official/estimated comparison, a 90-day historical series, multi-period variations (daily through YTD), period summaries, and descriptive statistics.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argenstats-com-api-147de0c2/get_riesgo_pais \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
