Skip to main content

Get Insight Export

Returns an Audience's Insights.

Getting Started

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/audiences/{audience_id}/insight/export

Can send a default baseline.
Available types: global, global_males, global_females, usa, usa_males, usa_females,UK, Canada, France, Germany, Italy, Spain, or any other insight hash.
If no baseline is specified, it defaults to global.

https://api.statsocial.com/platform/v0/audiences/{audience_id}/insight/export?baseline=xxxx
note

You can get the insight hash of an audience by making a call to this link

Let's go to examples

Baseline

You can change the baseline as suggested, in this case we will use global_females

https://api.statsocial.com/platform/v0/audiences/67454/insight/export?baseline=global_females

We will receive a json like this

{
"response": {
"exports": [
{
"url": "https://statsocial-ab2.s3.amazonaws.com/exports/0ebc2715f651fc37979c53f809ffb5e4b28929f3.xlsx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAYVNEWUNW5DFZHGEK%2F20230309%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230309T113625Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3Bfilename%3D%22Name%20Audience_0ebc2715f651fc37979c53f809ffb5e4b28929f3.xlsx%22&X-Amz-Signature=c1e604a72aab84c022898f3ac3376e775f1b247936118fc810ccd5394fe8b856",
"type": "xlsx",
"export_hash": "0ebc2715f651fc37979c53f809ffb5e4b28929f3",
"baseline": "global_females"
}
]
},
"information": {
"version": "0.0.1"
}
}