Gmail Postmaster Tools API logo

Gmail Postmaster Tools API

Gmail Postmaster Tools API

Gmail Postmaster Tools API queries Gmail delivery quality for sender domains — spam rate, authentication (SPF/DKIM/DMARC) pass rate, reputation score.

Visit site ↗Health checked 9h ago
Use it when

Direct delivery data from Gmail

Watch for

Only Gmail data (no Outlook, Yahoo, etc.)

First check

Verify domain ownership at postmaster.google.com to enable the API. GET /v1/domains/{domain}/trafficStats to fetch delivery stats.

Auth
CORS
No
HTTPS
Yes
Signup
?
Latency
41 ms
Protocol
REST
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 41ms
01

About this API

Postmaster Tools is Google's tool for senders — any company sending large volumes of email to Gmail users (SaaS transactional notifications, newsletter platforms, marketing email vendors) should use this. The API provides four core data types: spam rate (how many emails were classified as spam), IP reputation (your sending IP's reputation in Gmail's eyes), domain reputation (domain reputation), SPF/DKIM/DMARC pass rate (how many emails passed authentication). This data is the foundation for diagnosing delivery issues — if spam rate spikes, you need to quickly check email content, arrival patterns, user engagement, etc., or your domain gets downgraded to Gmail's spam folder. More authoritative than the "fuzzy metrics" of SendGrid and other ESPs because it comes from Gmail itself.

02

What you can build

  • 1Bulk email senders monitor Gmail delivery quality
  • 2Investigate why emails are classified as spam
  • 3Combined with SendGrid/Mailgun to optimize deliverability
  • 4Trigger alerts on abnormal spam rate
03

Strengths & limitations

Strengths

  • Direct delivery data from Gmail
  • Distinguishes user-marked-spam vs filter-classified-spam
  • Free

Limitations

  • Only Gmail data (no Outlook, Yahoo, etc.)
  • Data has 1-2 day update lag
  • Sparse data for low-volume senders — trends not visible
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://google.com/<endpoint>
05

Getting started

Verify domain ownership at postmaster.google.com to enable the API. GET /v1/domains/{domain}/trafficStats to fetch delivery stats.

06

FAQ

How do I know if my domain reputation is affected?+

A spamRate > 0.1% over time is high; a reputationCategory of LOW or BAD requires immediate investigation.

Can I see which specific emails were marked as spam?+

No. Postmaster Tools only provides aggregated stats. Per-email diagnosis requires ESP logs or test-account inspection.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
Auth type
unknown
Pricing
unknown
Protocols
REST
SDKs
python, javascript, go, java
Response time
41 ms
Last health check
5/12/2026, 7:37:31 AM
08

Tags

09

More from Google