xquik
Send confirmed X/Twitter API requests for search, user lookup, writes, and monitors. Requires prior endpoint discovery via explore.
Instructions
Send confirmed Xquik API requests across 100+ REST endpoints.
When to use
Use after calling 'explore' to discover the endpoint path and parameters.
Use for live X/Twitter operations such as tweet search, user lookup, giveaway draws, extraction jobs, composition, private reads, persistent monitors, webhooks, and confirmation-gated writes.
Confirm private reads, persistent resources, billing flows, and writes before using endpoints that require user approval.
When NOT to use
Do NOT use to discover endpoints - use 'explore' first.
Do NOT pass API keys or auth headers - authentication is injected automatically.
Behavior
Processes the provided request function with
xquik.request(path, options?)andspec.endpointsavailable.No filesystem or arbitrary network access - only xquik.request() is available. Console calls are silently ignored.
Timeout: 60 seconds per invocation, 60 seconds per individual API request.
Read operations (GET) return JSON objects with the requested data. Mutating operations (POST/PATCH/DELETE) require prior user confirmation and return
{ success: true }or{ success: true, warning: '...' }.Pagination: responses include
has_next_page(boolean) andnext_cursor(string). Passcursoras a query param for the next page.Some operations modify X or Xquik resources. Show the exact payload, target, and cost before calling them.
Error handling
402: Subscription required or insufficient credits. Explain the billing issue and ask before any checkout or top-up action.
429: Rate limited. Retry after backoff.
404: Resource not found (user, tweet, or monitor does not exist).
200 with
warningfield: Probable success - do NOT retry.
Costs
Free: compose, styles, drafts, radar, account info, support, credit balance, and webhook management.
1 credit/read ($0.00015): tweet search, timeline, bookmarks, favoriters.
10 credits/write ($0.0015): tweet, like, retweet, follow, DM.
Input format
Provide a bounded request function using xquik.request(path, { method?, body?, query? }). Auth is automatic.
Examples
Search tweets: async () => xquik.request('/api/v1/x/tweets/search', { query: { q: 'AI agents', limit: '50' } })
Get user: async () => xquik.request('/api/v1/x/users/elonmusk')
After explicit user confirmation, post tweet: 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 request function that calls xquik.request(path, options?) to perform X/Twitter API operations. Auth is injected automatically. Example: async () => xquik.request('/api/v1/x/tweets/search', { query: { q: 'AI', limit: '20' } }) |