xquik
Execute Twitter API requests via approved catalog routes for searching posts, profiles, trends, followers, monitoring, and authorized writes, with authentication handled by the server.
Instructions
The live 'xquik' tool sends approved requests across 120 catalog routes. This package stub returns setup guidance only.
When to use
Call it after 'explore' identifies the endpoint and parameters.
Use it for Twitter search, user lookup, draws, extractions, composition, private reads, monitors, webhooks, and approved writes.
Get approval before private reads, persistent resources, metered operations, and writes.
When not to use
Use 'explore' first when you do not know the endpoint.
Omit API keys and authorization headers. The server adds authentication.
Behavior
The live server processes
xquik.request(path, options?)inside a bounded sandbox.The package stub makes no API request and returns setup instructions.
The live tool cannot access local files or arbitrary network hosts.
119 catalog routes support JSON or text. Use REST for binary downloads.
Write operations require prior approval and can return durable actions.
Pagination responses include
has_moreandnext_cursor. Passcursorfor the next page.Show the exact payload, target, and usage estimate before changing X or Xquik resources.
Error handling
For 402, explain the account state and send the user to the dashboard.
For 429, wait before retrying.
For 404, explain which user, tweet, or monitor was not found.
For durable writes, follow
safe_to_retryandnext_actionbefore retrying.
Input format
Provide a bounded function that calls xquik.request(path, { method?, body?, query? }). The server adds authentication.
Examples
Search tweets: async () => xquik.request('/api/v1/x/tweets/search', { query: { q: 'twitter scraper api', limit: '50' } })
Get user: async () => xquik.request('/api/v1/x/users/elonmusk')
Post after approval: async () => xquik.request('/api/v1/x/tweets', { method: 'POST', body: { account: '<confirmed_account>', text: '<confirmed_text>' } })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Bounded function that calls xquik.request(path, options?) for Twitter API operations. The server adds authentication. Example: async () => xquik.request('/api/v1/x/tweets/search', { query: { q: 'twitter api', limit: '20' } }) |