Twitter Analytics — A Practical Walkthrough
Twitter analytics used to be a single dashboard at analytics.twitter.com. It still exists, but the data depth has shrunk over the years — engagement, impressions, top tweets, and limited audience data. For most teams that need more than "how did this tweet do," the built-in dashboard runs out quickly.
What people actually want from "Twitter analytics" splits into four jobs: tracking engagement on your own posts, measuring reach (impressions, profile views, link clicks), watching audience growth (followers gained / lost, demographics), and benchmarking against competitors. The built-in dashboard handles the first two for your own account. The other two — competitor benchmarking and follower-graph analysis — need API access.
Below is what's in each tier of Twitter analytics in 2026, what costs what, and how to wire up a basic analytics pipeline if you need data the dashboard doesn't give you.
The Built-In Twitter (X) Analytics Dashboard
Anyone with a free Twitter / X account can see analytics for their own posts at the analytics tab. What you get:
Per-tweet metrics: impressions, engagements (likes, retweets, replies, profile clicks, link clicks, hashtag clicks). Goes back about 28 days for free accounts; X Premium users see longer history.
Account overview: total monthly impressions, profile visits, new followers, and a top-tweet selection. Updated daily, with ~24h lag.
Audience insights: rough breakdowns by gender, country, and interests. Sampled data, not full population. Useful for direction, not for precise marketing decisions.
What it doesn't give you: data on accounts you don't own, exportable raw data, or historical depth past 90 days. For those, you need the API.
Twitter Analytics via API (Your Own Account or Anyone's)
API-based analytics opens up the things the dashboard can't:
Competitor account tracking — pull a competitor's recent tweets, score engagement (likes + retweets ÷ followers at post time), compare against your own ratios. This is the most common API analytics use case.
Hashtag analytics — search by hashtag, count post volume over time, see top accounts using the hashtag. Useful for measuring branded campaign reach.
Follower graph audit — pull your follower list, look up each follower's account size + activity, identify bots / inactive accounts / actual potential influencers.
Sentiment of brand mentions — search for your brand name, pull each match, run sentiment scoring, aggregate over time.
Cost of API-Based Analytics
Official X API Basic ($200/mo) gives you 10K reads — enough for a personal analytics dashboard but tight for competitive monitoring.
Third-party APIs like TwitterAPI.io let you pay per call (~$0.15 per 1,000 tweets retrieved). Sample budgets:
Single-account analytics, daily refresh: about 100 tweets/day = ~$0.45/month.
Competitive tracking, 20 accounts daily: about 2,000 tweets/day = $9/month.
Hashtag campaign tracking, real-time: depends on tag volume. A campaign hashtag with 5K mentions/day costs ~$22 to capture every match for a month.
For most analytics workloads under 100K tweets/month, third-party billing is dramatically cheaper than the official tier minimums.
Wiring a Simple Twitter Analytics Pipeline
A minimum useful setup:
1. Daily cron job pulls last 24h of tweets from each account you're tracking.
2. For each tweet, store: tweet id, posted at, text, likes, retweets, replies, impressions if available.
3. After 7-14 days of collection, compute rolling engagement rate per account.
4. Sort accounts by engagement velocity; spot anomalies (one account suddenly trending = signal).
Total infrastructure: one cron job, one PostgreSQL or DuckDB table, a small dashboard (Metabase / Grafana / a Python notebook). The data costs $5-20/month at competitive tracking scale.
What Most People Get Wrong
Tracking the wrong metric. Impressions are inflated and gameable; engagement rate is what predicts actual reach. Likes alone undercount — replies and retweets are higher-signal because they reflect commitment.
Sampling against a fast-moving conversation. If you only pull tweets once a day, you'll miss the engagement velocity curve. Most posts get 80% of their engagement in the first 4 hours.
Confusing follower count with audience quality. A 100K-follower account with 0.1% engagement reaches less than a 5K-follower account with 5% engagement. Always look at engagement, never just size.
import requests
from datetime import datetime
API_KEY = "your_api_key"
HEADERS = {"X-API-Key": API_KEY}
def fetch_account_analytics(username: str, since_hours: int = 24):
r = requests.get(
"https://api.twitterapi.io/v1/user/last_tweets",
params={"username": username, "limit": 100},
headers=HEADERS,
timeout=30,
)
tweets = r.json()["data"]
total_likes = sum(t["likes"] for t in tweets)
total_rts = sum(t["retweets"] for t in tweets)
total_replies = sum(t["replies"] for t in tweets)
profile = requests.get(
"https://api.twitterapi.io/v1/user/info",
params={"username": username},
headers=HEADERS,
timeout=30,
).json()["data"]
followers = profile["followers_count"]
engagement_rate = (total_likes + total_rts*2 + total_replies*3) / followers / len(tweets) * 100 if followers and tweets else 0
return {
"username": username,
"tweets_in_window": len(tweets),
"avg_likes": total_likes / len(tweets) if tweets else 0,
"engagement_rate_pct": round(engagement_rate, 3),
"followers": followers,
}
print(fetch_account_analytics("nasa"))Frequently asked
Is Twitter analytics free?
Yes for your own account — the built-in dashboard at the analytics tab. For analytics on other accounts (competitors, hashtags, the broader conversation) you need API access. The API has a free trial credit (~6,000 tweets on TwitterAPI.io) but ongoing analytics requires paid usage.
Can I get historical Twitter analytics beyond 90 days?
Built-in dashboard is limited to ~90 days. Via API, third-party providers offer 12-24 month historical depth. The official X API's full archive is Enterprise tier only ($42K+/month).
What's the most important Twitter analytics metric?
Engagement rate (engagements ÷ followers ÷ post count). Impressions are inflated and easy to game; followers don't tell you anything about audience activation. Engagement rate predicts how your content actually performs in the algorithm.
Can I track competitor Twitter accounts in analytics?
Not in the built-in dashboard — that only shows your own data. Through the API you can pull any public account's tweets, count engagements, and compute their metrics yourself. This is the most common reason teams need API-level Twitter analytics.
How much does Twitter analytics tracking cost at scale?
Single account, daily refresh: ~$0.50/month on third-party API. 20 competitor accounts: ~$9/month. Campaign hashtag tracking: $20-50/month depending on volume. Compare to the X API official Basic tier flat $200/month.
Continue reading
Starter credits cover end-to-end testing. No card, no application queue.