Μετάβαση στο περιεχόμενο
GET /v1/meta

Service metadata

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/colombiatrm-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}