# Argentina Country Risk (Riesgo País) API

> Argentina Country Risk (Riesgo País) API is a paid API for AI agents from latam-datos-api.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the current Argentina country risk index (EMBI spread) with date and value in basis points.

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/ar/riesgo-pais
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/argentina-country-risk-riesgo-pa-s-api-33b575df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8RoqvTaUPC9XZ0TWX_35I

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability argentina-country-risk-riesgo-pa-s-api-33b575df
```

Example prompt: What is Argentina's country risk index (riesgo país) right now? I need the current EMBI spread value in basis points with today's date.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call lookup of Argentina's sovereign risk spread (EMBI/riesgo país) without subscribing to expensive Bloomberg or Reuters feeds. Ideal for AI agents building LatAm macro dashboards, risk models, or automated alerts that need fresh Argentine country risk data on demand at micro-cost via USDC.

## Known failure modes

- Service unavailable if the Render.com host is cold-starting (502/503)
- Payment not processed or x402 authorization missing returns 402 Payment Required
- Stale data if the upstream data source has not updated for the day
- No historical range supported — only returns the latest available value

## How this service works

Datos de mercados emergentes para agentes: FX LatAm, inflacion, tasas de bancos centrales, feriados, validacion de IDs fiscales/bancarios, IVA y salarios minimos. Pago por consulta via x402 v2 (USDC en Base).

## Output

A JSON object with two fields: 'fecha' (the date of the reading, e.g. '2026-07-03') and 'valor' (the country risk index in basis points as an integer, e.g. 421).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fecha": "2026-07-03",
  "valor": 421
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/argentina-country-risk-riesgo-pa-s-api-33b575df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from latam-datos-api.onrender.com](https://www.zero.xyz/host/latam-datos-api.onrender.com/llms.txt)
