Naar de inhoud
GET /v1/verify

Verify a URL matches an integrity

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/sri-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}