Free API

The public audit of your domains, from your scripts

A free API key runs the same public audit as our no-account test and returns the result as JSON. You create it yourself in your customer area.

What the free key does

  • It runs the public audit of a domain: SPF, DKIM, DMARC, certificate, home page headers, HTTPS redirect, domain expiry.
  • It reads a result back by its identifier, as often as needed.
  • It follows the same rules as the website: a domain audited less than 24 hours ago returns the latest result, without a new audit.

What it does not do

  • No full audit: it runs in the customer area, after proof of domain ownership with a TXT record.
  • No access to your account's domains, TXT records or partner routes.
  • No bulk audits: quotas are low and the opt-out list always applies.

Getting a key

  1. Create a free account and open the link sent by email: the address must be verified.
  2. In "My account", section "API keys", name the key and pick its channel.
  3. Copy the key: it is shown only once, we keep only its hash.
  4. Keep it server-side, never in a web page or a URL. Revoke it at any time.

Example

Run the public audit of a domain:

curl -sS https://attackscout.com/api/v1/public/scans   -H "Authorization: Bearer $ATTACKSCOUT_KEY"   -H "Content-Type: application/json"   -d '{"domain": "example.com"}'
Response 201 for a new audit, 200 for a result less than 24 hours old.

Limits

  • The free key quotas (requests per hour, audit requests per day, number of keys) are shown in your customer area.
  • A request answered with the latest result also counts towards the audit quota; reading a result back does not.
  • Every response carries RateLimit-* headers; over quota, the response is 429 with Retry-After.

Respect for audited domains

  • Our probe always identifies itself (AttackScout-Probe) and runs slowly.
  • A domain on the opt-out list is never audited, neither by the website nor by the API.
  • With the free API, a domain is not audited more often than with the no-account test.

Everything is explained in our rules and on the probe page: our rules · the probe