Skip to content
GET /v1/athlete

Athlete by name or id

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/rio2016-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "athlete": {
            "id": "579416064",
            "sex": "male",
            "code": "JM",
            "gold": 3,
            "name": "Usain Bolt",
            "emoji": "🇯🇲",
            "sport": "athletics",
            "total": 3,
            "bronze": 0,
            "height": 1.96,
            "silver": 0,
            "weight": 95,
            "country": "Jamaica",
            "nationality": "JAM",
            "date_of_birth": "1986-08-21"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:04.074Z",
        "request_id": "771ac803-7a05-4f95-8829-313e141d1047"
    },
    "status": "ok",
    "message": "Athlete retrieved successfully",
    "success": true
}