Zum Inhalt springen
GET /v1/check

MTA-STS + TLS-RPT posture

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "domain": "google.com",
        "issues": [],
        "policy": {
            "mx": [
                "smtp.google.com",
                "aspmx.l.google.com",
                "*.aspmx.l.google.com"
            ],
            "url": "https://mta-sts.google.com/.well-known/mta-sts.txt",
            "mode": "enforce",
            "found": true,
            "valid": true,
            "max_age": 86400,
            "version": "STSv1"
        },
        "tls_rpt": {
            "rua": [
                "mailto:[email protected]"
            ],
            "found": true,
            "record": "v=TLSRPTv1;rua=mailto:[email protected]"
        },
        "enforced": true,
        "sts_record": {
            "id": "20210803T010101",
            "found": true,
            "record": "v=STSv1; id=20210803T010101;"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:44.479Z",
        "request_id": "c95d7830-cf6d-4850-93cb-80a5721267db"
    },
    "status": "ok",
    "message": "MTA-STS checked",
    "success": true
}