by Resend
Get email metrics
Returns the account's delivery and engagement counts and rates, such as sent, delivered, open, click, bounce and unsubscribe, for a date range as totals or by period, domain, email or broadcast.
Updated Sep 30, 2026
get-email-metrics.md
Get email metrics
Returns the account's delivery and engagement counts and rates, such as sent, delivered, open, click, bounce and unsubscribe, for a date range as totals or by period, domain, email or broadcast.
Note: Rates are percentages. Opens and clicks need tracking on the sending domain. Data older than the plan keeps is dropped, so check start_date in the response. The email and broadcast dimensions can't be combined. Edge periods can be partial; results cache 15 minutes.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "resend": { "url": "https://mcp.resend.com/mcp" } } }
Call the MCP tool get-email-metrics.
Server URL: https://mcp.resend.com/mcp
CLI (official)
Install the command, then confirm it runs.
npm install -g resend-cli
resend --version
Run resend emails metrics.
Set $RESEND_API_KEY in your environment first (get a key: https://resend.com/api-keys).
API (official)
- Base URL: https://api.resend.com
- Endpoint:
GET /emails/metrics - Auth: send the header
Authorization: Bearer $RESEND_API_KEY - Get a key: https://resend.com/api-keys
- Docs: https://resend.com/docs/api-reference/introduction
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.