/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/creditgap-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/creditgap-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/creditgap-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/creditgap-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "country is an ISO-2 code (US, DE, GB, JP) or a common name. Series cover the private non-financial sector. history quarters is 2-240 (default 40). Quarterly data with the usual statistical lag; briefly cached to protect the shared upstream.",
"source": "BIS Data Portal (stats.bis.org/api/v2, WS_CREDIT_GAP, quarterly, live)",
"service": "creditgap-api",
"countries": 44,
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/latest": "Every country's latest credit-to-GDP gap, ratio and risk band, sortable (sort=gap|ratio|country).",
"GET /v1/country": "One country's gap, credit-to-GDP ratio, trend and risk (country=US).",
"GET /v1/history": "One country's quarterly credit-to-GDP gap series (country=US, quarters=40)."
},
"description": "Credit-to-GDP gap — the Basel early-warning indicator for banking crises, from the BIS open statistics (no key, nothing stored). The gap is the credit-to-GDP ratio minus its long-run trend; a gap above ~10 points has historically preceded credit busts. latest returns every country's most recent gap with its credit-to-GDP ratio and a risk band; country returns one country's gap, ratio, trend and risk; history returns the quarterly gap series. The credit-gap / financial-stability macro cut — distinct from the euro-area credit-growth (lending volumes), bank-rate, money-supply and FX APIs.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-12T10:35:41.614Z",
"request_id": "6309b161-26f9-488e-b4ca-c022ba0b795a"
},
"status": "ok",
"message": "Meta",
"success": true
}