Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/rio2016-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "service": "rio2016-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/sport": "Athletes in a sport (sport=, e.g. athletics).",
            "GET /v1/medals": "Athletes ranked by Rio 2016 medal haul (limit).",
            "GET /v1/search": "Search athletes by name (q=, min 2 chars).",
            "GET /v1/athlete": "Athlete by name (name=, e.g. Usain Bolt) or id (id=).",
            "GET /v1/country": "Athletes of a country (code=, e.g. USA or US)."
        },
        "description": "Every athlete at the Rio 2016 Summer Olympics: name, nationality (with ISO alpha-2 code and flag emoji), sex, date of birth, height, weight, sport and medals (gold/silver/bronze). Look up by name, search, list by country or sport, or rank athletes by medal haul. No key.",
        "total_sports": 28,
        "total_athletes": 11538
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:04.775Z",
        "request_id": "ea64ab6d-6c43-41fe-9d9f-e27ea9162c3a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}