Zum Inhalt springen
GET /v1/raw

Raw security.txt content

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "domain": "google.com",
        "content": "Contact: https://g.co/vulnz\nContact: mailto:[email protected]\nEncryption: https://services.google.com/corporate/publickey.txt\nAcknowledgments: https://bughunters.google.com/\nPolicy: https://g.co/vrp\nHiring: https://g.co/SecurityPrivacyEngJobs\nExpires: 2030-04-01T00:00:00z\n",
        "location": "https://google.com/.well-known/security.txt",
        "content_type": "text/plain"
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:50.970Z",
        "request_id": "86ace3f8-0f3d-4b01-a62f-b176a4d6fe23"
    },
    "status": "ok",
    "message": "security.txt retrieved",
    "success": true
}