/v1/policy
Parsed MTA-STS policy file
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/mtasts-api/v1/policy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mtasts-api/v1/policy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mtasts-api/v1/policy");
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/mtasts-api/v1/policy",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"mx": [
"*.mail.protection.outlook.com"
],
"url": "https://mta-sts.microsoft.com/.well-known/mta-sts.txt",
"mode": "enforce",
"found": true,
"domain": "microsoft.com",
"max_age": 604800,
"version": "STSv1"
},
"meta": {
"timestamp": "2026-06-01T23:40:44.675Z",
"request_id": "93b6c1a0-8174-4bc6-b1a9-a890be526bb6"
},
"status": "ok",
"message": "Policy retrieved",
"success": true
}