1. Posts
X-score
  • Users
    • Check if twitter user has posts in the campaign
      GET
    • Get a ranked X user in a campaign
      GET
    • Get leaderboard twitter user statistics
      GET
  • Posts
    • Get post statistics
      GET
    • Get post ratings
      GET
  • Campaigns
    • List campaigns
      GET
  • Schemas
    • Twitter Post statistics
    • CampaignStatusEnum
    • User Leaderboard Resource
    • Campaign Resource
    • User Rank Resource
    • Twitter User
    • Twitter Post With Scores
  1. Posts

Get post statistics

GET
/api/posts/stats
Returns aggregated statistics for all tweets associated with the selected campaign. This includes the total number of tweets, unique participants, and cumulative engagement metrics such as likes and views.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200OK
application/json
Successful response
Body

🟠401Unauthorized
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/posts/stats?campaign' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "success": true,
    "message": "Post statistics retrieved successfully.",
    "data": [
        {
            "participants": 12633,
            "tweets_count": 17314,
            "like_count": 3420,
            "view_count": 367578,
            "analyzing_started_at": "2025-06-27 12:03:08.243",
            "analyzing_finished_at": "2025-06-27 12:03:12.867"
        }
    ]
}
Modified at 2026-02-10 16:32:00
Previous
Get leaderboard twitter user statistics
Next
Get post ratings
Built with