Interaction (account action)

[AUTHENTICATED READ] User Analytics

Get analytics for the X account identified by the required authToken, including account engagement and follower metrics.

get/tw-v2/interaction/user-analytics

Request

  • Base URL: https://api.tweetapi.com
  • URL: https://api.tweetapi.com/tw-v2/interaction/user-analytics
  • Auth: API key in header X-API-Key

Query parameters

authTokenstring required

Caller-supplied auth_token cookie value. Treat it as a secret.

Example:YOUR_AUTH_TOKEN

Authentication token (auth_token cookie value) for the account whose analytics are returned

toTimestring date-time

End time for analytics period in ISO 8601 format (default: current time)

fromTimestring date-time

Start time for analytics period in ISO 8601 format (default: 30 days ago)

granularity'Daily' | 'Weekly' | 'Monthly'

Time granularity for metrics: Daily, Weekly, or Monthly (default: Daily)

showVerifiedFollowersboolean

Include verified follower metrics (default: true)

proxystring
Example:proxy.example.com:8080@username:password

Optional proxy in format 'host:port@user:pass'

Response

Successful response

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.