Install
openclaw skills install twitterapi-io-cliFetch and paginate Twitter/X data using twitterapi.io. Use when you need to fetch one tweet, fetch a user profile, get recent tweets for a user, fetch replie...
openclaw skills install twitterapi-io-cliUse the installed twitterapi-io CLI for read-only twitterapi.io access.
This skill exists to make common twitterapi.io reads simple and low-noise instead of rebuilding custom API calls each time.
--raw only when you actually need full API objects.references/links.md when validating endpoint behavior.Prefer an installed CLI over hardcoded script paths.
Preferred install:
pipx install git+https://github.com/ropl-btc/twitterapi-io-cli.git
Fallback inside a repo checkout:
pip install .
After install, use:
twitterapi-io
twitterapi-io help
twitterapi-io auth --api-key YOUR_KEY
You can also use env:
export TWITTERAPI_IO_KEY='YOUR_KEY'
twitterapi-io tweet --url 'https://x.com/jack/status/20'
or:
twitterapi-io tweet --id 20
twitterapi-io user --username OpenAI
twitterapi-io user-tweets --username OpenAI --limit 10
Include replies:
twitterapi-io user-tweets --username OpenAI --limit 10 --include-replies
twitterapi-io replies --url 'https://x.com/jack/status/20' --limit 20
Optional unix-time filters:
twitterapi-io replies --id 20 --since-time 1741219200 --until-time 1741305600 --limit 20
twitterapi-io quotes --id 20 --limit 20
twitterapi-io thread-context --id 20 --limit 40
twitterapi-io mentions --username OpenAI --limit 20
twitterapi-io search --query 'AI agents -filter:replies' --from-user OpenAI --within-time 24h --max-tweets 50
Use Top results when needed:
twitterapi-io search --query 'AI agents' --queryType Top --max-pages 2
Use explicit unix-time operators when needed:
twitterapi-io search --query '$BTC' --since-time 1741219200 --until-time 1741305600 --max-tweets 50
references/links.md if you need the underlying official twitterapi.io docs links.twitterapi-io CLI is installed.auth or env.tweet, user, user-tweets, replies, quotes, thread-context, mentions, or search as needed.The CLI returns JSON. Parse it instead of scraping human text.
Default output is compact and low-noise.
Use --raw when full endpoint payloads are actually needed.
https://github.com/ropl-btc/twitterapi-io-cliscripts/twitterapi_io.pyreferences/links.md~/.config/twitterapi-io/config.jsonStop and ask before: