Skip to main content
curl -G https://xquik.com/api/v1/x/tweets/search \
  --data-urlencode "q=from:xquikcom giveaway" \
  -H "x-api-key: xq_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2" | jq

Query parameters

q
string
required
Search query. Supports X search operators such as from:username, to:username, #hashtag, and boolean operators.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Response

tweets
object[]
Array of matching tweets.
total
number
Number of tweets returned in this response.
{
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "Tweet content here",
      "createdAt": "2026-02-24T10:00:00.000Z",
      "likeCount": 150,
      "retweetCount": 42,
      "replyCount": 10,
      "author": {
        "id": "987654321",
        "username": "xquikcom",
        "name": "Xquik",
        "verified": true
      }
    }
  ],
  "total": 1
}
Next steps: Get Tweet to fetch full details for a specific tweet, or Get User to look up an author profile.