Zum Inhalt springen
GET /v1/avatar

Build the avatar URL

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/gravatar-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "email": "[email protected]",
        "hash_md5": "55502f40dc8b7c769880b10874abc9d0",
        "avatar_url": "https://gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=200",
        "hash_sha256": "973dfe463ec85785f5f95af5ba3906eedb2d931c24e69824a89ea65dba4e813b"
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:42.451Z",
        "request_id": "fcae90cb-c82c-487a-b875-7cabe4b03f09"
    },
    "status": "ok",
    "message": "Avatar URL built",
    "success": true
}