X

Search Twitter/X tweets

Changed on

Searches for tweets matching a query. Returns a paginated list of matching tweets. Use the cursor field from the response to retrieve subsequent pages.

Query behavior:

  • The query is run as written and supports X search operators, e.g. lang:en, from:handle, since:2026-01-01, -filter:retweets.
  • A broad OR term matches any tweet that contains it, so prefer specific phrases.
  • Very long exact phrases rarely match.

A page with no matching tweets is still charged. To narrow results, check each tweet's lang, isRetweet, isReply, createdAt, and engagement counts.

<span>⚡ <strong>Rate limit:</strong> 500 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per page of results <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/twitter/search

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/twitter/search
  • Auth
    none declared

Request body

apiKeystring required

Your Fiber API key

querystring required

Tweet search query string (e.g. 'TypeScript from:elonmusk'). Supports standard Twitter/X search operators.

cursorstring nullable

Pagination cursor from a previous response to retrieve the next page of results. Omit for the first page.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the response's property default value was removed for the status

    • info

      api tag X added

    • info

      api tag Social media removed

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status