Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/turkey-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/turkey-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/turkey-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/turkey-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/turkey-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Prices in TRY; buy = Buying, sell = Selling. quote also serves BIST100 (XU100), Bitcoin (DBITCOIN) and Brent.",
        "source": "finans.truncgil.com (Turkish market feed, live)",
        "service": "turkey-api",
        "usd_try": null,
        "endpoints": {
            "GET /v1/gold": "Full Turkish gold & silver market (gram, coins, carat bars, silver, ounce).",
            "GET /v1/meta": "This document.",
            "GET /v1/quote": "Any single instrument by code (symbol=usd, gram, bist100, btc, brent …).",
            "GET /v1/convert": "Convert between any currency and the lira (amount=100, from=USD, to=TRY).",
            "GET /v1/currencies": "Every foreign currency vs the lira with buy/sell and daily change."
        },
        "description": "Live Turkish market prices for the lira (TRY): foreign currencies, the famous Turkish gold market (gram, quarter/half/full and Republic coins, 14/18/22-carat, silver) and key instruments (BIST 100 index, Bitcoin in lira, Brent crude, gold ounce). Turkey's high-inflation economy makes physical gold a primary store of value, and the gram-altın and coin prices quoted here are what the bazaar trades on. The currencies endpoint returns every foreign currency against the lira with buy/sell and daily change; the gold endpoint returns the full Turkish gold/silver market; the quote endpoint returns any single instrument by code; the convert endpoint converts between any currency and the lira. Live, no key, nothing stored. Distinct from the central bank's official reference rates — this is Turkey's own live market FX + gold-bazaar layer.",
        "gram_gold_try": null,
        "upstream_status": null
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:23.841Z",
        "request_id": "f559bfa0-c63e-43fc-a501-65d395242f1d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}