Publish
Text, images or video.
Analytics
Account & per-tweet metrics.
Connect
OAuth 2.0 (PKCE) flow:authUrl and approve. The callback /connect/x/callback must
be registered in your X app’s User authentication settings.
Publish a tweet
X accepts text only, 1–4 images, or a single video/GIF (media is optional):platformPostId and platformPostUrl.
Analytics
X feeds the analytics store like the other platforms — likes, replies, reposts and impressions per post — with two differences that follow from X billing every API read. Once enabled:- A post is refreshed at most once a day, whatever your plan. The hourly window other platforms get would cost $0.005 per post per hour.
- Only posts published through PlugKit are tracked. Listing your timeline to discover the others would be a billed read per page, forever, to find posts we already know about.
- Collection stops when your spend cap is reached. Publishing never does.
Pricing
X calls are re-billed at cost — 0.015 a post, and $0.200 for a post containing a URL (X’s own pricing, roughly 13× a normal post). Watch it withGET /v1/usage; see Plans & billing.
Not supported
X DMs need elevated paid API access, so messaging isn’t exposed here.Permissions
Scopes:tweet.read, tweet.write, users.read, media.write,
offline.access (for token refresh).