GET /dmarc/aggregated/ip_country
GETdmarc/aggregated/ip_country
Retrieve aggregated DMARC statistics grouped by ip_country
Query Parameters
records_date_from string Required
Start date for filtering records (e.g., 2025-07-06T00:00:00.000Z)
records_date_to string Required
End date for filtering records (e.g., 2025-08-06T00:00:00.000Z). The difference between records_date_from and records_date_to must not exceed 31 days
domain string
Filter by domain name substring
profile_id string
Filter by profile ID
ip string
Filter by IP address substring
org_name string
Filter by org_name field (Reporter)
ip_org_name string
Filter by ip_org_name field (Source)
disposition string
Filter by disposition (Policy applied)
dmarc_type string
Filter by dmarc_type (DMARC type)
policy_evaluated_reasons_type string
Filter by policy_evaluated_reasons_type (Reason Type)
policy_evaluated_reasons_comment string
Filter by policy_evaluated_reasons_comment (Reason Comment)
Returns
- dataarray
- ip_countrystringCountry code of the source IP address
- countnumberTotal number of DMARC records from this country
- spf_passnumberNumber of records with SPF validation passed
- spf_failnumberNumber of records with SPF validation failed
- dkim_passnumberNumber of records with DKIM validation passed
- dkim_failnumberNumber of records with DKIM validation failed
- dmarc_passnumberNumber of records with DMARC validation passed
- dmarc_failnumberNumber of records with DMARC validation failed
- spf_alignment_passnumberNumber of records with SPF alignment passed
- spf_alignment_failnumberNumber of records with SPF alignment failed
- dkim_alignment_passnumberNumber of records with DKIM alignment passed
- dkim_alignment_failnumberNumber of records with DKIM alignment failed
- spf_auth_results_passnumberNumber of records with SPF authentication results passed
- spf_auth_results_failnumberNumber of records with SPF authentication results failed
- dkim_auth_results_passnumberNumber of records with DKIM authentication results passed
- dkim_auth_results_failnumberNumber of records with DKIM authentication results failed
- ip_countrystring
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
500 Internal Server Error
Internal server error