Mailgun Email API//Metrics
Metrics
API Overview
Authentication
Developer Tools
Mailgun API
Messages
Domains
Domain Keys
Domain Tracking
DKIM Security
Account Webhooks
Domain Webhooks
Logs
Bounce Classification
Tags New
Stats
Tags
Events
Send Alerts
Alerts
Limits
Unsubscribe
Complaints
Bounces
Allowlist
Routes
Forwards
Mailing Lists
Account Templates
Domain Templates
IP Pools
Dynamic IP Pools
IPs
IP Address Warmup
Subaccounts
Custom Message Limit
Account Management
Keys
Credentials
IP Allowlist
Users
The Metrics API is the modern replacement for the deprecated Stats API:
| Feature | Stats API (Deprecated) | Metrics API (Current) |
|---|---|---|
| Flexibility | Limited filtering | Advanced filtering with logical operators |
| Dimensions | Fixed groupings | Flexible dimension combinations |
| Metrics | Basic counts | Comprehensive metrics including rates |
| Performance | Slower | Optimized for large datasets |
| Future Support | None | Active development |
Migration: If you're using the Stats API, plan to migrate to the Metrics API for continued support and new features.