Ir al contenido
GET /v1/meta

Service metadata

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gini-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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