# Argentina Economy API
> Live Argentine macro-financial indicators from argentinadatos.com (official BCRA, INDEC and market data). Argentina is followed for three numbers above all: the riesgo-país (country risk — the JP Morgan EMBI spread over US Treasuries in basis points, the headline measure of sovereign default risk), inflation (monthly and year-over-year, among the world's highest), and the plazo-fijo rate (the annual interest banks pay on 30-day peso deposits, the saver's defence against inflation). The riesgo-pais endpoint returns the latest spread and recent history; the inflation endpoint returns the latest monthly and interannual rate; the plazo-fijo endpoint compares the deposit rate at every bank; the indicators endpoint returns a combined snapshot. Read live, nothing stored. This is Argentina's own country-risk, inflation and deposit-rate layer — distinct from its parallel-dollar feed and single central-bank APIs.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/argentina-api/..."
```

## Pricing
- **Free** (Free) — 2,800 calls/Mo, 2 req/s
- **Starter** ($7/Mo) — 70,000 calls/Mo, 12 req/s
- **Pro** ($20/Mo) — 350,000 calls/Mo, 35 req/s
- **Scale** ($47/Mo) — 2,200,000 calls/Mo, 110 req/s

## Endpoints

### Riesgo País

#### `GET /v1/riesgo-pais` — Country risk (EMBI spread) latest + history

**Parameters:**
- `days` (query, optional, string) — Recent days (1-365) Example: `30`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/argentina-api/v1/riesgo-pais?days=30"
```

**Response:**
```json
{
    "data": {
        "date": "2026-06-08",
        "name": "Country Risk (EMBI spread)",
        "unit": "basis points",
        "value": 494,
        "recent": [
            {
                "date": "2026-04-28",
                "basis_points": 584
            },
            {
                "date": "2026-04-29",
                "basis_points": 573
            },
            {
                "date": "2026-04-30",
                "basis_points": 567
            },
            {
                "date": "2026-05-01",
                "basis_points": 539
            },
            {
                "date": "2026-05-04",
                "basis_points": 558
            },
            {
                "date": "2026-05-05",
                "basis_points": 554
            },
            {
                "date": "2026-05-06",
                "basis_points": 514
            },
            {
                "date": "2026-05-07",
                "basis_points": 522
            },
            {
                "date": "2026-05-08",
                "basis_points": 510
            },
            {
                "date": "2026-05-11",
                "basis_points": 496
            },
            {
                "date": "2026-05-12",
                "basis_points": 511
            },
            {
                "date": "2026-05-13",
                "basis_points": 523
            },
            {
                "date": "2026-05-14",
                "basis_points": 525
          
…(truncated, see openapi.json for full schema)
```

### Inflation

#### `GET /v1/inflation` — Latest monthly and interannual inflation

**Parameters:**
- `months` (query, optional, string) — Recent months (1-120) Example: `12`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/argentina-api/v1/inflation?months=12"
```

**Response:**
```json
{
    "data": {
        "source": "argentinadatos.com (INDEC)",
        "country": "Argentina",
        "monthly_pct": 2.6,
        "monthly_period": "2026-04-30",
        "recent_monthly": [
            {
                "period": "2025-05-31",
                "monthly_pct": 1.5
            },
            {
                "period": "2025-06-30",
                "monthly_pct": 1.6
            },
            {
                "period": "2025-07-31",
                "monthly_pct": 1.9
            },
            {
                "period": "2025-08-31",
                "monthly_pct": 1.9
            },
            {
                "period": "2025-09-30",
                "monthly_pct": 2.1
            },
            {
                "period": "2025-10-31",
                "monthly_pct": 2.3
            },
            {
                "period": "2025-11-30",
                "monthly_pct": 2.5
            },
            {
                "period": "2025-12-31",
                "monthly_pct": 2.8
            },
            {
                "period": "2026-01-31",
                "monthly_pct": 2.9
            },
            {
                "period": "2026-02-28",
                "monthly_pct": 2.9
            },
            {
                "period": "2026-03-31",
                "monthly_pct": 3.4
            },
            {
                "period": "2026-04-30",
                "monthly_pct": 2.6
            }
        ],
        "interannual_pct": 32.4,
        "interann
…(truncated, see openapi.json for full schema)
```

### Plazo Fijo

#### `GET /v1/plazo-fijo` — 30-day peso deposit rate at every bank

**Parameters:**
- `rate` (query, optional, string) — clientes (default) or noClientes Example: `clientes`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/argentina-api/v1/plazo-fijo?rate=clientes"
```

**Response:**
```json
{
    "data": {
        "count": 30,
        "rates": [
            {
                "bank": "CRÉDITO REGIONAL COMPAÑÍA FINANCIERA S.A.U.",
                "link": "https://www.creditoregional.com.ar/solplazofijoweb.html",
                "tna_clientes_pct": 23.5,
                "tna_no_clientes_pct": 23.75
            },
            {
                "bank": "BANCO CMF S.A.",
                "link": "https://www.bancocmf.com.ar/plazo-fijo-web-2/",
                "tna_clientes_pct": 23.25,
                "tna_no_clientes_pct": 23.25
            },
            {
                "bank": "BANCO MERIDIAN S.A.",
                "link": "https://www.bancomeridian.com.ar/OnlineTermDeposit/Simulation",
                "tna_clientes_pct": 23.25,
                "tna_no_clientes_pct": 23.25
            },
            {
                "bank": "BANCO VOII S.A.",
                "link": "https://www.voii.com.ar/plazo-fijo-web/",
                "tna_clientes_pct": 23.25,
                "tna_no_clientes_pct": 23.25
            },
            {
                "bank": "BANCO BICA S.A.",
                "link": "https://plazofijo.bancobica.com.ar/",
                "tna_clientes_pct": 23,
                "tna_no_clientes_pct": 23
            },
            {
                "bank": "REBA COMPAÑIA FINANCIERA S.A.",
                "link": "https://www.reba.com.ar/plazo-fijo/?utm_source=web&utm_medium=bcra&utm_campaign=cantidad-visitas-bcra&utm_id=plazo-fijo-bcra",
                "t
…(truncated, see openapi.json for full schema)
```

### Indicators

#### `GET /v1/indicators` — Combined macro snapshot

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/argentina-api/v1/indicators"
```

**Response:**
```json
{
    "data": {
        "source": "argentinadatos.com (BCRA/INDEC)",
        "country": "Argentina",
        "riesgo_pais_bps": 494,
        "riesgo_pais_date": "2026-06-08",
        "best_plazo_fijo_pct": 23.5,
        "best_plazo_fijo_bank": "CRÉDITO REGIONAL COMPAÑÍA FINANCIERA S.A.U.",
        "inflation_monthly_pct": 2.6,
        "inflation_monthly_period": "2026-04-30",
        "inflation_interannual_pct": 32.4
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:40.353Z",
        "request_id": "fc3913d6-c9e0-4ba4-93d5-37117e4c9c80"
    },
    "status": "ok",
    "message": "Indicators retrieved successfully",
    "success": true
}
```

### Meta

#### `GET /v1/meta` — Service metadata

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/argentina-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "source": "argentinadatos.com (BCRA / INDEC / market data, live)",
        "service": "argentina-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/inflation": "Latest monthly and interannual inflation, plus recent months (months=12).",
            "GET /v1/indicators": "Combined snapshot — country risk, inflation, best deposit rate.",
            "GET /v1/plazo-fijo": "30-day peso deposit rate at every bank, ranked (rate=clientes).",
            "GET /v1/riesgo-pais": "Latest country risk (EMBI spread, bps) and recent history (days=30)."
        },
        "description": "Live Argentine macro-financial indicators from argentinadatos.com (official BCRA, INDEC and market data). Argentina is followed for three numbers above all: the riesgo-país (country risk — the JP Morgan EMBI spread over US Treasuries in basis points, the headline measure of sovereign default risk), inflation (monthly and year-over-year, among the world's highest), and the plazo-fijo rate (the annual interest banks pay on 30-day peso deposits). The riesgo-pais endpoint returns the latest spread and recent history; the inflation endpoint returns the latest monthly and interannual rate; the plazo-fijo endpoint compares the deposit rate at every bank; the indicators endpoint returns a combined snapshot. Live, no key, nothing stored. Distinct from its parallel-dollar feed and single central-bank APIs — this is Argentina's own country-ris
…(truncated, see openapi.json for full schema)
```


---
Marketplace page: https://www.oanor.com/api/argentina-api
OpenAPI spec: https://www.oanor.com/api/argentina-api/openapi.json
