Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/imghash-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Perceptual Image Hash API",
        "note": "Compute aHash, dHash and pHash (64-bit, hex) for an image — /v1/hash?url= or ?image= (base64), optional ?algorithm=ahash|dhash|phash|all. Compare two images via /v1/compare?url1=&url2= → Hamming distance and similarity % per algorithm, with a likely_same flag. For near-duplicate detection and reverse-image matching. Distinct from image-api and similarity-api (strings). Live, nothing stored.",
        "source": "Local hashing (Jimp) — no key, no upstream",
        "endpoints": 3
    },
    "meta": {
        "timestamp": "2026-06-02T16:52:01.867Z",
        "request_id": "bc2a4926-c87d-445f-9cfd-1dac892a7924"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}