API Guide

Get Record History

Retrieves DMARC and SPF record change history. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: GET

Endpoint URL:

https://api.250ok.com/api/1.0/reputationinformant/dmarc/recordhistory

Sample Output:

{
    "dmarc": {
        "250ok.com": [
            {
                "created": "2016-05-20 16:40:06",
                "dmarc": "v=DMARC1; p=none; rua=mailto:dmarc_agg@dmarc.250ok.net; ruf=mailto:dmarc_fr@dmarc.250ok.net; fo=1; pct=100; rf=afrf"
            },
            {
                "created": "2016-03-29 15:15:06",
                "dmarc": "v=DMARC1; p=none; rua=mailto:dmarc_agg@250ok.com; ruf=mailto:dmarc_fr@250ok.com; fo=1; pct=100; rf=afrf"
            },
            {
                "created": "2016-03-29 14:10:50",
                "dmarc": null
            },
            {
                "created": "2015-10-12 14:14:51",
                "dmarc": "v=DMARC1; p=none; rua=mailto:dmarc_agg@250ok.com; ruf=mailto:dmarc_fr@250ok.com; fo=1; pct=100; rf=afrf"
            }
        ],
    },
    "spf": {
        "250ok.com": [
            {
                "created": "2016-04-21 19:14:59",
                "spf": "v=spf1 include:_spf.google.com include:servers.mcsv.net include:mktomail.com include:mail.zendesk.com ~all"
            },
            {
                "created": "2016-04-21 18:10:05",
                "spf": null
            },
            {
                "created": "2016-03-08 00:55:01",
                "spf": "v=spf1 include:_spf.google.com include:servers.mcsv.net include:mktomail.com include:mail.zendesk.com ~all"
            },
            {
                "created": "2015-11-24 22:30:01",
                "spf": "v=spf1 include:_spf.google.com include:servers.mcsv.net include:mail.zendesk.com ~all"
            },
            {
                "created": "2015-10-12 14:14:51",
                "spf": "v=spf1 include:_spf.google.com include:servers.mcsv.net ~all"
            }
        ]
    }
}
                

Error Responses

Description Code Cause
Bad or missing API key. 401 The X-API-KEY header was missing or contained an unrecognized/invalid key.
No results found. 404 There are no DMARC domains registered to the account.