I used Claude to check my
@Polymarket stats on X
my stats:
> 130k impressions
> 200 posts
> 3.5k likes
Here's how you can check the latest data:
► Step 1: Get a X API Key
> go to: twitterapi(.)io
> sign up with your email (no credit card needed)
> you'll get free bonus credits (enough for this)
> your API key will show on the dashboard
► Step 2: Set Up Claude Code
You need claude code - works in VS code or the claude desktop app
> download from claude(.)ai/download
> create a folder called x-stats
> open claude code and navigate to that folder
► Step 3: Paste This Prompt
"I want to analyze all my tweets mentioning Polymarket on X/Twitter.
I have a twitterapi(.)io API key. Tell me where to save it first (use a .env file).
Important: X's search index misses video and article tweets. So use a hybrid approach:
1. First, search for all tweets from @[YOUR_USERNAME] that mention "Polymarket" using the advanced_search endpoint. Paginate through ALL results.
2. Then, also fetch my last 30 days of timeline tweets using the user/last_tweets endpoint. Filter those locally for "Polymarket".
3. Merge both datasets and deduplicate by tweet ID so nothing is counted twice.
4. Save the merged raw data to a local JSON file for caching — use cached data on reruns, don't call the API again.
5. Exclude retweets — only count my original tweets and replies.
6. Calculate totals: total impressions/views, total likes, total retweets, total replies, total quotes, total bookmarks, and number of tweets.
7. Show a breakdown per tweet sorted by impressions (top 20).
8. Export the summary as a clean table.
Guide me step by step"
► Replace [YOUR_USERNAME] with your X handle
► Step 4: Follow claude code's instructions
Claude code will:
> ask you to save your API key - it'll create a .env file
> open it, paste your API key, save with Ctrl S
> ask permission to run commands (click "Yes" every time)
done
it will show you the results (total stats top tweets table)