Skip to content

Statistics

Access detailed email delivery and engagement metrics. Query sends, bounces, opens, clicks, and spam complaints with flexible date filters.

Get usage statistics

Request

Retrieve current month's email usage and delivery statistics.

Optionally filter by domain_id to get statistics for a specific sending domain.

Security
ApiKeyAuth
Query
domain_idinteger

Filter statistics by specific sending domain ID

Example:domain_id=123
curl -i -X GET \
  'https://api.mailerlogic.net/api/v1/customer/usage?domain_id=123' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Usage statistics retrieved successfully

Bodyapplication/json
current_monthobject
limitsobject
Response
{ "current_month": { "emails_sent": 45230, "emails_delivered": 44850, "emails_bounced": 280, "emails_complained": 15, "emails_opened": 22000, "emails_clicked": 8500, "delivery_rate": "99.16", "bounce_rate": "0.62" }, "limits": { "monthly_limit": 100000, "remaining": 54770, "used_percentage": "45.23" } }