# LatAm Datos API – Emerging Market FX Rates

> LatAm Datos API – Emerging Market FX Rates 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 real-time foreign exchange rates for LatAm and other emerging market currencies against USD

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/em/fx
- 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/latam-datos-api-emerging-market-fx-rates-e9cd958f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nSnoMHpM4Bd-hOR1TKAW4

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 latam-datos-api-emerging-market-fx-rates-e9cd958f
```

Example prompt: What are the current exchange rates for Brazilian real, Mexican peso, and Argentine peso against USD?

## When to prefer this

Choose this endpoint when you need real-time FX rates specifically for Latin American or broader emerging market currencies (BRL, MXN, ARS, COP, CLP, PEN, etc.) and want pay-per-query pricing via USDC on Base via x402 — ideal for agents that need FX data on demand without a subscription, or that operate in crypto-native payment environments.

## Known failure modes

- Invalid or unsupported currency code returns an error or omits that currency from results
- Network timeout from Render.com cold-start if service is idle
- Payment failure via x402 if USDC balance is insufficient or Base network is congested
- Missing 'monedas' param returns rates for a default set or all supported currencies
- Stale rates if underlying data source is delayed

## 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 a base currency (USD) and a map of requested ISO currency codes to their current exchange rates against USD — e.g. {"base":"USD","tasas":{"BRL":5.12,"MXN":17.3}}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "monedas": {
       "type": "string",
       "description": "codigos ISO separados por coma"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "tasas": {
   "NGN": 1370.9,
   "TRY": 46.7
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-datos-api-emerging-market-fx-rates-e9cd958f/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)
