Skip to main content

GET /checkers/spf

GET 

checkers/spf

Verifies the SPF record for the given domain

Query Parameters

domain string Required
The domain to check for SPF record

Returns

  • dataobject
    • dns_queries_to_resolvenumber
      Number of DNS queries required to fully resolve the SPF record
    • resultboolean
      Indicates whether the SPF check passed
    • recordstring
      The raw SPF TXT record retrieved from DNS
    • multiple_spf_recordsarray
      Multiple SPF records if more than one was found
    • domainstring
      Domain against which the SPF record was evaluated
    • warningsarray
      Non-critical issues found during SPF evaluation
    • mechanismsarray
      List of SPF mechanisms parsed from the record
      • mechanismstring
        The SPF mechanism
      • modifierstring
        The SPF modifier
      • dataobject
        The data associated with the mechanism
      • warningstring
        Warning message if an issue was detected with this mechanism
      • is_dns_query_to_resolveboolean
        Indicates whether this mechanism requires a DNS lookup
      • domainstring
        The domain associated with this mechanism
Error Codes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

500 Internal Server Error

Internal server error