/v1/meta
Service metadata
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/colombiatrm-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colombiatrm-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colombiatrm-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/colombiatrm-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"date": "2026-06-10",
"source": "Colombia open data (datos.gov.co TRM dataset, live)",
"service": "colombiatrm-api",
"endpoints": {
"GET /v1/date": "The TRM in effect on a given date (date=2026-06-09).",
"GET /v1/meta": "This document.",
"GET /v1/rate": "Latest TRM — pesos per dollar and the inverse.",
"GET /v1/convert": "Convert an amount between USD and COP at the latest TRM (from=USD, to=COP, amount=100).",
"GET /v1/history": "Daily TRM over a date range (from=2026-05-01, to=2026-06-09)."
},
"cop_per_usd": 3581.46,
"description": "Live official exchange-rate data for the Colombian peso (COP) — the Tasa Representativa del Mercado (TRM), Colombia's official daily USD/COP reference rate — from Colombia's government open-data portal. The rate endpoint returns the latest TRM (pesos per dollar and the inverse); the date endpoint returns the TRM in effect on any past date; the history endpoint returns the daily TRM over a date range; the convert endpoint converts an amount between USD and COP at the latest TRM. Live, no key, nothing stored. Distinct from the ECB, BCRA, BCRP and other central-bank feeds and from market mid-rates — this is Colombia's own legally-binding USD/COP TRM.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-10T22:58:01.310Z",
"request_id": "fc290dee-7b50-4a62-9cd6-c88030e2890d"
},
"status": "ok",
"message": "Meta",
"success": true
}