Skip to content

Retrieve population statistics audience

Request

Retrieve the population history of the audience. The history is returned per day and those days are calculated in the timezone of the audience.

Security
TdApikeyAuth
Path
audienceIdinteger, (int64)required

Master Segment Config id to delete

Example:1234
Query
fromstring, (date)

from date

Example:from=2019-01-01
tostring, (date)

to date (inclusive)

Example:to=2019-04-30
curl -i -X GET \
  'https://api-cdp.treasuredata.com/audiences/1234/statistics?from=2019-01-01&to=2019-04-30' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

array of tuple of statistics

Bodyapplication/json
Array [
One of:
integer (int64)
]
Response
[ [ 1556382847, 1234, true ] ]