User Analytics

GET/tw-v2/interaction/user-analytics

Description

Get detailed analytics for a user including engagement rates and growth metrics.

Parameters

ParameterTypeRequiredDescription
authTokenstringrequiredTwitter authentication token (auth_token cookie value)
toTimestringoptionalEnd time for analytics period in ISO 8601 format (default: current time)
fromTimestringoptionalStart time for analytics period in ISO 8601 format (default: 30 days ago)
granularitystringoptionalTime granularity for metrics: Daily, Weekly, or Monthly (default: Daily)
showVerifiedFollowersbooleanoptionalInclude verified follower metrics (default: true)
proxystringoptionalOptional proxy in format 'host:port@user:pass'

Code Examples

const params = new URLSearchParams({
  authToken: 'YOUR_AUTH_TOKEN'
});

const response = await fetch(`https://api.tweetapi.com/tw-v2/interaction/user-analytics?${params}`, {
  method: 'GET',
  headers: {
    'X-API-Key': 'YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);

Response

Success Response (200 OK)

200
{
  "data": {
    "__typename": "User",
    "verified_follower_count": "0",
    "relationship_counts": {
      "followers": 0
    },
    "organic_metrics_time_series": [
      {
        "metric_values": [
          {
            "metric_value": 1,
            "metric_type": "Engagements"
          },
          {
            "metric_type": "Impressions"
          },
          {
            "metric_type": "ProfileVisits"
          },
          {
            "metric_value": 1,
            "metric_type": "Follows"
          },
          {
            "metric_type": "Replies"
          },
          {
            "metric_type": "Likes"
          },
          {
            "metric_type": "Retweets"
          },
          {
            "metric_type": "Bookmark"
          },
          {
            "metric_type": "Share"
          },
          {
            "metric_type": "UrlClicks"
          },
          {
            "metric_type": "CreateTweet"
          },
          {
            "metric_type": "CreateQuote"
          },
          {
            "metric_type": "Unfollows"
          },
          {
            "metric_type": "CreateReply"
          }
        ],
        "timestamp": {
          "iso8601_time": "2025-09-28T00:00:00Z"
        }
      },
      {
        "metric_values": [
          {
            "metric_type": "Engagements"
          },
          {
            "metric_value": 15,
            "metric_type": "Impressions"
          },
          {
            "metric_type": "ProfileVisits"
          },
          {
            "metric_type": "Follows"
          },
          {
            "metric_type": "Replies"
          },
          {
            "metric_type": "Likes"
          },
          {
            "metric_type": "Retweets"
          },
          {
            "metric_type": "Bookmark"
          },
          {
            "metric_type": "Share"
          },
          {
            "metric_type": "UrlClicks"
          },
          {
            "metric_value": 6,
            "metric_type": "CreateTweet"
          },
          {
            "metric_type": "CreateQuote"
          },
          {
            "metric_type": "Unfollows"
          },
          {
            "metric_type": "CreateReply"
          }
        ],
        "timestamp": {
          "iso8601_time": "2025-10-06T00:00:00Z"
        }
      },
      {
        "metric_values": [
          {
            "metric_value": 8,
            "metric_type": "Engagements"
          },
          {
            "metric_value": 27,
            "metric_type": "Impressions"
          },
          {
            "metric_type": "ProfileVisits"
          },
          {
            "metric_type": "Follows"
          },
          {
            "metric_value": 3,
            "metric_type": "Replies"
          },
          {
            "metric_type": "Likes"
          },
          {
            "metric_type": "Retweets"
          },
          {
            "metric_type": "Bookmark"
          },
          {
            "metric_type": "Share"
          },
          {
            "metric_type": "UrlClicks"
          },
          {
            "metric_value": 11,
            "metric_type": "CreateTweet"
          },
          {
            "metric_type": "CreateQuote"
          },
          {
            "metric_type": "Unfollows"
          },
          {
            "metric_value": 1,
            "metric_type": "CreateReply"
          }
        ],
        "timestamp": {
          "iso8601_time": "2025-10-07T00:00:00Z"
        }
      }
    ],
    "id": "VXNlcjoxNzk2ODA4NjQ0NzI3ODg5OTIw"
  }
}

API Playground

GET/tw-v2/interaction/user-analytics

Sensitive Credentials Required

Requires your Twitter authToken. Use a test account.

Press ⌘ + Enter to execute

curl -X GET "https://api.tweetapi.com/tw-v2/interaction/user-analytics" \
  -H "X-API-Key: YOUR_API_KEY"
Response

Click "Try It!" to see the response