Show my X (Twitter) credits
get_x_creditsShows what posting to X (Twitter) costs this account and what it has left. X is a pay-per-use add-on of the paid plans (Starter, Pro, Agency, Scale; not Free, not during a trial): 1 X credit = 1 plain X post, a post with a link uses 10, each image or video adds 1. Returns mode (paid, free, trial or internal), the plan's monthly X credits, used and left, top-up credits, X posts today against the daily limit, the price table, the last movements, and links to buy top-up credits (80 credits for $5, 340 for $20; each opens a Stripe payment page, nothing is charged unless paid there). With text, it also returns how many credits that post would use (with thread or reply: the whole chain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional: an X post to price before sending it. | |
| reply | No | Optional: a reply under the post (or the thread), priced with it. | |
| video | No | Optional: a video attached to that post. | |
| images | No | Optional: images attached to that post. | |
| thread | No | Optional: the posts of a thread after text, to price the whole thread. |