GET /gpdomains/v2/aggregated/domains
GETgpdomains/v2/aggregated/domains
Returns monitored domains with average SPF, DKIM, and DMARC authentication success rates.
Query Parameters
offset string
Number of items to skip before starting to return results
limit string
Maximum number of items to return per request
sort string
Sort by domain, or by compliance (compliance puts healthy domains first; -compliance puts domains needing work first). Needs-work domains are ordered by the number of failing statuses.
stats_date_from string Required
Start date for filtering statistics. Use date-time without timezone because Google Postmaster records are stored as calendar-date records with the timestamp set to the start of that day. Example: 2021-07-06T00:00:00.000Z. Do not send timezone offsets
stats_date_to string Required
End date for filtering statistics. Use date-time without timezone because Google Postmaster records are stored as calendar-date records with the timestamp set to the start of that day. Example: 2021-08-06T00:00:00.000Z. Do not send timezone offsets. The difference between stats_date_from and stats_date_to must not exceed 30 days
domain string
Filter Google Postmaster v2 domains by a domain name substring
profile_id string
Filter Google Postmaster v2 domains by profile ID
compliance string
Filter by domain compliance status. Accepts a comma-separated string or JSON array of values.
Returns
- dataarrayMonitored domains and their average authentication success rates for the requested date range
- idstringUnique identifier of the monitored domain entry
- domainstringMonitored domain name
- compliance_statsobjectGoogle Postmaster compliance information for the monitored domain
- spfobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dkimobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- spf_and_dkimobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dmarc_policyobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dmarc_alignmentobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- message_formattingobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- dns_recordsobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- encryptionobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- user_reported_spam_rateobject
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK
- statusstring
- one_click_unsubscribe_verdictobjectGoogle compliance verdict for one-click unsubscribe support
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the one-click unsubscribe compliance verdictAllowed values:
REASON_UNSPECIFIED,NO_UNSUB_GENERAL,NO_UNSUB_SPAM_REPORTS,NO_UNSUB_PROMO_SPAM_REPORTS
- statusstring
- honor_unsubscribe_verdictobjectGoogle compliance verdict for honoring unsubscribe requests
- statusstringCompliance state reported by GoogleAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the honor-unsubscribe compliance verdictAllowed values:
REASON_UNSPECIFIED,NOT_HONORING,NOT_HONORING_TOO_FEW_CAMPAIGNS,NOT_HONORING_TOO_MANY_CAMPAIGNS
- statusstring
- deliverability_status_verdictobjectGoogle assessment of the domain's deliverability status
- statusstringCurrent deliverability compliance stateAllowed values:
STATE_UNSPECIFIED,COMPLIANT,NEEDS_WORK - reasonstringGoogle-provided reason for the deliverability statusAllowed values:
REASON_UNSPECIFIED,MESSAGE_VOLUME_LOW,SMTP_ERRORS_HIGH,SENDER_NOT_COMPLIANT,SPAM_RATE_HIGH,USER_FEEDBACK_NEGATIVE,USER_FEEDBACK_LOW,USER_FEEDBACK_POSITIVE
- statusstring
- spfobject
- deleted_atstringTimestamp when the monitored domain was deleted; present only for deleted domains
- authentication_averageobjectAverage SPF, DKIM, and DMARC authentication success rates for the requested date range
- auth_success_rate_spfnumberAverage rate of messages that passed SPF authentication
- auth_success_rate_dkimnumberAverage rate of messages that passed DKIM authentication
- auth_success_rate_dmarcnumberAverage rate of messages that passed DMARC authentication
- auth_success_rate_spfnumber
- idstring
- metaobjectPagination metadata for list responses
- countintegerTotal number of items available
- offsetintegerNumber of items skipped
- limitintegerMaximum number of items returned per request
- countinteger
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
500 Internal Server Error
Internal server error