Skip to content

Mailbox Provider Statistics

The mailbox provider statistics highlight how your emails perform across all the major providers you are sending to - Hotmail, Yahoo, Gmail etc.

The /statistics/recipient-esp resource can be used to view statistics based on the Email Service Providers of the recipients of your campaign. You must provide a $CampaignID in the Campaign filter in order to retrieve the data.

Example

# View : View delivery and contact engagement statistics for a campaign across different Mailbox providers
curl -s \
	-X GET \
	--user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
	https://api.mailjet.com/v3/REST/statistics/recipient-esp?CampaignId=$Campaign_ID

API Response

{
  "Count": 1,
  "Data": [
    {
      "ESPName": "others",
      "DeliveredMessagesCount": 3,
      "AttemptedMessagesCount": 3,
      "OpenedMessagesCount": 3,
      "ClickedMessagesCount": 2,
      "DeferredMessagesCount": 0,
      "SoftBouncedMessagesCount": 0,
      "HardBouncedMessagesCount": 0,
      "UnsubscribedMessagesCount": 0,
      "SpamReportsCount": 0,
      "OpenRate": 1,
      "ClickThroughRate": 0.6667,
      "SoftBouncedRate": 0,
      "HardBouncedRate": 0,
      "UnsubscribedRate": 0,
      "SpamReportsRate": 0,
      "DeferredRate": 0
    }
  ],
  "Total": 1
}