/v1/avatar
Build the avatar URL
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}