/v1/raw
Raw security.txt content
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}