Get Email Analytics V2 is now released with more metrics. If you want to have more metrics, you can start using the V2 endpoints listed in this guide.
This API lets you retrieve email campaign analytics data from your backend without using Insider One's InOne platform.
The email campaigns sent through Architect journeys are not included in Email Analytics. You can get insights about your journey emails via Architect Email Channel Analytics.
The campaigns on the Draft and Scheduled statuses are not listed in the response.
Endpoint and Headers
GET https://analytics.api.useinsider.com/email/v2/campaign/statistics
Visit our Postman collection to test this request.
Header | Sample Value | Description |
|---|---|---|
X-INS-AUTH-KEY | 1a2b3c4d5e6f | This key is required to authorize your request. Refer to API Authentication Tokens to generate your token. |
Query Parameters
Parameter | Data Type | Description | Required |
|---|---|---|---|
campaignId | Integer | Your campaign ID that can be found on the campaign URL. | Yes |
startTime | int64 | The time campaign is being launched. Specifies a 10-digit epoch start time. | Yes |
endTime | int64 | The current date (today’s date on the payload). It can be customized according to your use case. Specifies a 10-digit epoch start time. | No |
If the endTime value is empty, it will be populated with today’s date and time in UTC.
Email campaign analytics can include an additional field for UTM parameters.
Sample Example
Sample Query
Before sending the request, make sure:
To replace the authorization value with your own API key.
To replace the sample values in campaignID, startTime, and endTime with your own values in the required data type.
curl --location --request GET 'https://analytics.api.useinsider.com/email/v2/campaign/statistics? campaignId=3388&startTime=1619459200&endTime=1636502400' \
--header 'X-INS-AUTH-KEY: 1a2b3c4d5e6f'Sample Responses
200 OK
{
"data": {
"details": {
"1199": {
"sent": 76982,
"delivered": 75999,
"deliveryRate": 98.72307812215843,
"openRate": 19.88315635732049,
"totalOpens": 18763,
"uniqueOpens": 15111,
"clickThroughRate": 0.3710575139146568,
"totalClicks": 581,
"uniqueClicks": 282,
"clickToOpenRate": 1.8661901925749453,
"conversions": 5,
"conversionRate": 0.0065790339346570356,
"revenue": 337.56999588012695,
"unsubscribe": 131,
"bounce": 9,
"bounceRate": 0.0116910446597906,
"blocks": 1166,
"spamReports": 7,
"uniqueUserOpens": 4098,
"uniqueUserOpenRate": 5.392176212844906,
"uniqueMachineOpens": 11013,
"uniqueMachineOpenRate": 14.490980144475586,
"systemDrops": 0,
"sendingDrops": 1899,
"frequencyDrop": 0,
"unsubscribeDrop": 712,
"spamDrop": 0,
"invalidDrop": 0,
"bounceDrop": 5,
"linkClickActivity": [
{
"totalClick": 94,
"uniqueClick": 73,
"link": "https://www.insider.com/products"
},
{
"totalClick": 89,
"uniqueClick": 71,
"link": "https://www.insider.com/collections/c"
},
{
"totalClick": 9,
"uniqueClick": 6,
"link": "https://www.insider.com/collections/f"
}
],
"utmParameters": "{\"utm_source\":\"insider\",\"utm_medium\":\"email\",\"utm_campaign\":\"insider_2025\",\"utm_term\":\"\",\"utm_content\":\"\",\"utm_status\":true}"
}
},
"isp": [
{
"name": "gmail",
"metrics": {
"blocks": 283,
"bounces": 4,
"clickThroughRate": 0.1826458356749466,
"delivered": 35588,
"openRate": 10.006181859053614,
"spams": 0,
"totalClick": 91,
"totalOpen": 4854,
"uniqueClick": 65,
"uniqueOpen": 3561,
"unsubscribes": 33
}
},
{
"name": "hotmail",
"metrics": {
"blocks": 139,
"bounces": 0,
"clickThroughRate": 0.3071253071253071,
"delivered": 14652,
"openRate": 28.77422877422877,
"spams": 1,
"totalClick": 51,
"totalOpen": 4796,
"uniqueClick": 45,
"uniqueOpen": 4216,
"unsubscribes": 24
}
},
{
"name": "orange",
"metrics": {
"blocks": 17,
"bounces": 0,
"clickThroughRate": 1.0698096101541252,
"delivered": 5515,
"openRate": 31.677243880326383,
"spams": 0,
"totalClick": 117,
"totalOpen": 2269,
"uniqueClick": 59,
"uniqueOpen": 1747,
"unsubscribes": 16
}
},
{
"name": "yahoo",
"metrics": {
"blocks": 6,
"bounces": 2,
"clickThroughRate": 0.690376569037657,
"delivered": 4780,
"openRate": 31.23430962343096,
"spams": 1,
"totalClick": 44,
"totalOpen": 1789,
"uniqueClick": 33,
"uniqueOpen": 1493,
"unsubscribes": 14
}
},
{
"name": "icloud",
"metrics": {
"blocks": 128,
"bounces": 0,
"clickThroughRate": 0.17921146953405018,
"delivered": 1674,
"openRate": 46.415770609319,
"spams": 0,
"totalClick": 3,
"totalOpen": 913,
"uniqueClick": 3,
"uniqueOpen": 777,
"unsubscribes": 2
}
},
{
"name": "free",
"metrics": {
"blocks": 57,
"bounces": 0,
"clickThroughRate": 0.5847953216374269,
"delivered": 1539,
"openRate": 30.734243014944767,
"spams": 0,
"totalClick": 11,
"totalOpen": 599,
"uniqueClick": 9,
"uniqueOpen": 473,
"unsubscribes": 7
}
},
{
"name": "msn",
"metrics": {
"blocks": 4,
"bounces": 0,
"clickThroughRate": 0,
"delivered": 264,
"openRate": 27.65151515151515,
"spams": 0,
"totalClick": 0,
"totalOpen": 85,
"uniqueClick": 0,
"uniqueOpen": 73,
"unsubscribes": 0
}
},
{
"name": "bbox",
"metrics": {
"blocks": 10,
"bounces": 1,
"clickThroughRate": 0.5524861878453038,
"delivered": 181,
"openRate": 17.12707182320442,
"spams": 0,
"totalClick": 1,
"totalOpen": 41,
"uniqueClick": 1,
"uniqueOpen": 31,
"unsubscribes": 0
}
}
]
}
}400 - Bad Request: Sorry, we’ve received an invalid request from your side. You can try again later.
400 - Bad Request: Sorry, we couldn’t validate the request at the moment. You can try again later.
400 - Bad Request: Sorry, we detected an invalid Campaign ID in your request. The Campaign ID is not found in the database. You can confirm your Campaign ID by checking the InOne panel.
406 - Not Acceptable Request: Sorry, we received an invalid request. We are able to provide the analytics data for only the last 1 year.
500 - Internal Server Error: Sorry, we couldn’t receive any response from our server. You can try again later.
Limitations
All functions must be executed with an HTTPS GET request.
The x-ins-auth-key should be provided as the authorization key in the request header. If the key is incorrect, the operation will not be executed, and an authorization error will return in the response.
This API provides data for a 1-year range.
You can send 100 requests per minute with the same API Key. If you exceed the rate limit, you will receive a 429 error.
The perPage value should be between 1 and 100.
The default limit shown here is a standard baseline. If your use case requires higher capacity, feel free to reach out to the Insider One team. We can adjust it to fit your needs.