scrappy / x / search

X Data API

Profiles, tweets, followers, and search over plain HTTP.

search

GET/scrappy/x/v1/search1 credit / call

One page of tweets matching an advanced query. Operators supported.

Parameters

query
required
sort_order
optional · recency or relevancy
pagination_token
optional · from meta.next_token of the previous page

Request

curl "https://sfaie.com/api/scrappy/x/v1/search?query=golden+gate+park+min_faves%3A100" \
  -H "Authorization: Bearer $SFAIE_API_KEY"

Response

{
  "data": [
    {
      "id": "1462305720000000002",
      "text": "Golden Gate Park at dawn is worth the early alarm.",
      "created_at": "2026-05-16T13:02:45.000Z",
      "author_id": "1462305718290034688",
      "lang": "en",
      "public_metrics": {
        "retweet_count": 31,
        "reply_count": 9,
        "like_count": 214,
        "quote_count": 3
      },
      "url": "https://x.com/citytrailsf/status/1462305720000000002"
    }
  ],
  "meta": {
    "next_token": "tok_p2_4q8rt"
  }
}

Try it

recency or relevancy

from meta.next_token of the previous page

Sign in to try this endpoint.

Calls are real. Accepted calls cost 1 credit.