Get post statistics
curl --request GET \
--url http://localhost:4000/api/v1/posts/stats \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4000/api/v1/posts/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/api/v1/posts/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"totalPosts": 42,
"successfulPosts": 36,
"failedPosts": 6
},
"meta": {
"rateLimit": {
"limit": 60,
"remaining": 59,
"resetAt": "2026-06-14T12:01:00.000Z"
}
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}Posts
Get post statistics
Returns post counters visible to the API key profile. Failed posts are counted from failed platform publications.
GET
http://localhost:4000
/
api
/
v1
/
posts
/
stats
Get post statistics
curl --request GET \
--url http://localhost:4000/api/v1/posts/stats \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4000/api/v1/posts/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/api/v1/posts/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"totalPosts": 42,
"successfulPosts": 36,
"failedPosts": 6
},
"meta": {
"rateLimit": {
"limit": 60,
"remaining": 59,
"resetAt": "2026-06-14T12:01:00.000Z"
}
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": null
}
}Last modified on June 20, 2026