Zum Inhalt springen
GET /v1/verify

Verify a URL matches an integrity

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sri-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}