Get story statistics
curl --request GET \
--url https://beta.creatorcore.co/api/v2/stories/stats \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/stories/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/stories/stats"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"stats": {
"total_stories": 123,
"total_unique_accounts": 123,
"total_views": 123
}
}Stories
Get story statistics
Returns aggregate counts for stories matching the same filters as the list endpoint. Sort and pagination parameters are ignored.
GET
/
api
/
v2
/
stories
/
stats
Get story statistics
curl --request GET \
--url https://beta.creatorcore.co/api/v2/stories/stats \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/stories/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/stories/stats"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"stats": {
"total_stories": 123,
"total_unique_accounts": 123,
"total_views": 123
}
}Authorizations
Query Parameters
Was this page helpful?