/v1/hash
Perceptual hash of an image
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/imghash-api/v1/hash" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/imghash-api/v1/hash", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/imghash-api/v1/hash");
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/imghash-api/v1/hash",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"ahash": "fcfffff310100000",
"dhash": "313c156666e4e584",
"phash": "4edbd88c49eaf808"
},
"meta": {
"timestamp": "2026-06-02T16:52:01.770Z",
"request_id": "dd81ac2e-8957-40fc-9c3e-81db1bf08e79"
},
"status": "ok",
"message": "Perceptual hash of an image",
"success": true
}