Get Statistic

Get status-wise email counts for a time range.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Guidelines

Time Period Requirements

Required: You must specify either startDate and endDate parameters, or the days parameter

  • Maximum duration: The value of days must be greater than 0 and less than 92,The total number of days covered between the start date and end date must be less than 92 days.

  • Date format: Use yyyy-MM-dd format for startDateand endDate


note

The related legacy APIs (Get Statistics By Hour and Get Statistics By Day) have been marked as deprecated and remain usable for the time being.

Query Params
number

Stats in the past [days] days (days=1 means today); required if startDate and endDate are not filled.

string

Start date (format: yyyy-MM-dd); required with endDate if days is not filled

string

End date (format: yyyy-MM-dd); required with startDate if days is not filled

string

Obtain stats of specified API_USERs; multiple separated by semicolons (e.g. "apiuser1;apiuser2;apiuser3")

string

Obtain stats of specified labels; multiple separated by semicolons (e.g. "1;2;3")

string

Obtain stats of specified label names; multiple separated by semicolons (Chinese encoded in UTF-8, e.g. "a;b;c"),The length of each labelName cannot exceed 254.

string

Obtain stats of specified domains; multiple separated by semicolons (e.g. "example1.com;examplee2.com;example3.com")

string

Obtain stats of specified tags; multiple separated by semicolons (e.g. "tag1;tag2;tag3"),a maximum of 5 entries.

string

template id ; multiple separated by semicolons (e.g. "111;222;333"),a maximum of 5 entries.

string
enum
required
Defaults to day

Group by specified type,default value is day

Allowed:
Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json