# LatAm Datos API – Crypto FX (Cripto-FX)

> LatAm Datos API – Crypto FX (Cripto-FX) is a paid API for AI agents from latam-datos-api.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns the current price of a cryptocurrency expressed in a Latin American local currency using its CoinGecko ID and ISO currency code.

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/em/cripto-fx
- Price: $0.003/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-crypto-fx-cripto-fx-aa74984b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UoPrghVAYpmzt4sLPIx5J

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-crypto-fx-cripto-fx-aa74984b
```

Example prompt: What is the current price of Bitcoin in Colombian pesos? Use the CoinGecko ID 'bitcoin' and currency code 'COP'.

## When to prefer this

Choose this endpoint when you need cryptocurrency prices specifically denominated in Latin American or other emerging-market local currencies (COP, BRL, MXN, ARS, CLP, PEN, etc.) rather than USD or major fiat currencies. It is ideal for agents serving LatAm users who need local-currency crypto valuations and supports pay-per-call micropayment via x402/USDC, making it suitable for low-volume or on-demand agent queries without subscription overhead.

## Known failure modes

- Invalid CoinGecko ID returns an error or empty result
- Unsupported local currency ISO code returns an error
- Rate limiting or upstream CoinGecko unavailability causes failure
- Payment (x402 USDC) not provided or insufficient causes 402 rejection
- Network timeout from Render.com hosting environment

## 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 containing the cryptocurrency identifier (cripto), the local currency ISO code (moneda), and the current price of the crypto expressed in that local currency (precio), e.g. {"cripto":"bitcoin","moneda":"COP","precio":211809403.43}.

## 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": {
      "cripto": {
       "type": "string",
       "description": "id de coingecko"
      },
      "moneda": {
       "type": "string",
       "description": "codigo ISO de moneda local"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cripto": "bitcoin",
  "moneda": "COP",
  "precio": 211809403.43
 }
}
```

## More

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