X-score
  1. Posts
X-score
  • Posts
    • Get post statistics
      GET
    • Get post ratings
      GET
  • Users
    • Check if twitter user has posts in the campaign
      GET
    • Get leaderboard twitter user statistics
      GET
    • Get a ranked X user in a campaign
      GET
  • Schemas
    • Schemas
    • Twitter Post With Scores
    • Twitter Post statistics
    • User Leaderboard Resource
    • User Rank Resource
    • Twitter User
  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
Query Params

Responses

🟢200OK
application/json
Successful response
Body

🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/posts/stats?campaign'
Response Response Example
200 - Example 1
{
    "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-01-29 00:21:25
Next
Get post ratings
Built with