# LatAm Datos API – Colombia TRM (USD/COP Exchange Rate)

> LatAm Datos API – Colombia TRM (USD/COP Exchange Rate) 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 official TRM (Tasa Representativa del Mercado) USD to COP exchange rate for Colombia, including the effective date.

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/co/trm
- 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-colombia-trm-usd-cop-exchange-rate-8d039b3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oqTMgQ3P7B_QfllMYd1FT

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-colombia-trm-usd-cop-exchange-rate-8d039b3c
```

Example prompt: What's the current official TRM exchange rate for USD to Colombian pesos, and when does it take effect?

## When to prefer this

Choose this endpoint when you specifically need Colombia's official government-published TRM (Tasa Representativa del Mercado) USD/COP rate — the rate used for legal, accounting, and tax purposes in Colombia — rather than a real-time spot market rate. Ideal for fintech agents, payroll systems, invoice processors, and treasury automation operating in or with Colombia. Priced at $0.002 USDC per call via x402, making it cost-effective for frequent automated lookups.

## Known failure modes

- Payment failure: x402 USDC payment not fulfilled, returns 402 Payment Required
- Service unavailable: underlying data source (e.g. Superfinanciera/Banco de la República) not reachable, returns 503
- Rate not yet published: TRM for current day not yet released by Colombian authorities, may return stale or null data
- Network timeout: Render.com cold-start latency causing delayed response

## 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 current official TRM value as a decimal number (trm_usd_cop, e.g. 3357.82) representing how many Colombian pesos equal one US dollar, and the date from which it is effective (vigente_desde, in YYYY-MM-DD format).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "trm_usd_cop": 3357.82,
  "vigente_desde": "2026-07-03"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-datos-api-colombia-trm-usd-cop-exchange-rate-8d039b3c/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)
