Overview

The Domain Security endpoint returns DKIM, DMARC, and SPF scores for your monitored domains, along with email pass/fail statistics. Use it to track email security compliance across all client domains.

Base URL: https://portal.lupasafe.com
Authentication: X-Api-Key: ls_your_api_key_here

Endpoint

EndpointDescription
GET /reporting/v1/domainsDKIM, DMARC, and SPF scores per domain, email pass/fail statistics, last scan date

Parameters

  • limit — default 50, max 500
  • offset — for pagination

Response Fields

FieldDescription
domain_nameThe domain
dkim_scoreDKIM score (0–100)
dmarc_scoreDMARC score (0–100)
spf_scoreSPF score (0–100)
total_emailsNumber of emails analysed
both_pass_countEmails where both SPF and DKIM passed
both_fail_countEmails where both SPF and DKIM failed
last_updatedTimestamp of the last scan

Example Request

GET /reporting/v1/domains?limit=10
X-Api-Key: ls_your_api_key_here

Notes

  • Scores are on a scale of 0–100. Higher scores indicate better configuration.
  • Use both_pass_count and both_fail_count to identify domains with active email authentication issues.
  • The last_updated field shows when Lupasafe last scanned the domain — useful for verifying data freshness.
  • MSP keys return data across all client domains; client keys return only the client's own domains.