AnyAPIX (Twitter)Social

X / Twitter Search

anyapi.x.search.posts

Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.

Price
$0.00075/successAt provider cost
Success rate
100%Last 30 days · 1,103,645 calls
Latency p50
1.6 sp95 2.7 s
Last verified
Sep 19, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/anyapi.x.search.postsPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

This tool has no parameters. See provider docs ↗ Provider docs

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/anyapi.x.search.posts' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"limit":20,"query":"openai"}'

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00075/success, including the service fee.