Install
Authenticate
Get your API key from the TwexAPI dashboard.auth_token:
Basic example
Workflow: post a tweet with dry-run
Preview write actions before sending:--media-url.
Workflow: send a DM
Workflow: publish Markdown as an X Article
Raw API requests
Call any TwexAPI path directly:Use as a skill
Install from a GitHub skill installer:Security notes
- The CLI reads
X_API_SCRAPER_KEY,X_API_SCRAPER_BASE_URL, andX_API_SCRAPER_CONFIG_DIRfrom the environment. - Saved app configs and profiles are stored as plain JSON in
~/.x-api-scraper/config.jsonby default. - Use
--dry-runbefore any write action in agent workflows.