# Saylor Innovations Colombia TRM (COP/USD Exchange Rate)

> Saylor Innovations Colombia TRM (COP/USD Exchange Rate) is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Returns the official Colombian peso per US dollar rate (TRM) with validity dates, change vs previous period, window average, high, low, and historical data.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/colombia/trm?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-colombia-trm-cop-usd-exchange-rate-93092b9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B-jDlR72lHv0zJ7tUN3Rp

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 saylor-innovations-colombia-trm-cop-usd-exchange-rate-93092b9c
```

Example prompt: What's the current official Colombian peso to US dollar TRM rate, and can you show me how it's changed over the last 30 days including the high, low, and average?

## When to prefer this

Use this endpoint when you need the official Colombian government TRM (Tasa Representativa del Mercado) rate — the authoritative COP/USD rate published by Colombia's financial regulator — rather than a generic forex API. It uniquely provides validity periods, the official high/low/average window statistics, and historical TRM data in a single call, making it ideal for compliance, accounting, or financial reporting in a Colombian business context.

## Known failure modes

- Invalid 'days' parameter (outside 1-90 range) may return an error or fallback to default
- Data source unavailable may result in stale or missing current rate
- Rate limit or payment failure (x402) returns 402 Payment Required
- Network timeout if upstream Colombian rate provider is slow

## How this service works

Official Colombian peso per US dollar rate (TRM) with validity dates, change versus the previous period, window average, high, low and history

## Output

A JSON object containing: the current TRM rate with validity dates; the percentage change versus the previous period; the average rate over the requested window; the highest and lowest rates in the window; an array of historical daily TRM values in time order; the data source; and any contextual notes about reading the data.

## 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",
     "properties": {
      "days": {
       "type": "string",
       "description": "optional 1-90 history, default 15"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "current",
      "history"
     ],
     "properties": {
      "low": {
       "type": "number",
       "description": "Lowest value"
      },
      "high": {
       "type": "number",
       "description": "Highest value"
      },
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "current": {
       "type": "object",
       "description": "Current value"
      },
      "history": {
       "type": "array",
       "description": "Historical values, in time order"
      },
      "average_over_window": {
       "type": "number",
       "description": "Average over window"
      },
      "change_vs_previous_percent": {
       "type": [
        "number",
        "null"
       ],
       "description": "Change vs previous, as a percentage"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-colombia-trm-cop-usd-exchange-rate-93092b9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
