/v1/meta
Service metadata
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/gini-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gini-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gini-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/gini-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"service": "gini-api",
"endpoints": {
"GET /v1/list": "List all countries (limit, offset).",
"GET /v1/meta": "This document.",
"GET /v1/rank": "Rank countries by latest Gini (order=desc most unequal | asc most equal, limit).",
"GET /v1/search": "Search by country name or code (q=).",
"GET /v1/country": "Gini data for a country: latest, history, min/max (country=, e.g. Brazil — or code=, e.g. BR/BRA)."
},
"description": "World Bank Gini-index (income inequality, 0=perfect equality … 100=maximal inequality) for every country: latest value, full year-by-year history and all-time min/max, enriched with ISO 3166-1 alpha-2 code and flag emoji. Look up by country or code, rank by latest inequality, search or list. No key.",
"total_countries": 171,
"most_recent_year": 2024
},
"meta": {
"timestamp": "2026-06-08T18:25:06.785Z",
"request_id": "9a45d01c-e8c8-4648-9b35-11ac8acc1fa9"
},
"status": "ok",
"message": "Meta",
"success": true
}