Vai al contenuto
GET /v1/verify

Verify a URL matches an integrity

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/sri-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "url": "https://example.com/",
        "actual": "sha384-EUZfMlUFsH9OvEhNQdUYTotKnWJBzc1rEyZ486Wt8faO3LCu9bFskk2U1TtVUGNf",
        "matches": false,
        "expected": "sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC",
        "algorithm": "sha384",
        "final_url": "https://example.com/"
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:48.713Z",
        "request_id": "b0a4f63f-6290-4caf-90a9-9feb4ade5a42"
    },
    "status": "ok",
    "message": "SRI verified",
    "success": true
}