Social Fetch icon

Social Fetch

Fetch social media and web data via the Social Fetch API

Actions129

Twitter → Search

AI-generated

Summary

Search public tweets on X (Twitter) using a specified query and optional filters, retrieving multiple or all pages of results depending on settings.

Inputs

  • Query (required) — The text string to search for in public tweets.
  • Return All — Whether to paginate through all result pages or only retrieve the first page.
  • Additional Fields — Optional filters including search section (top, latest, people, photos, videos), minimum retweets, likes, and replies, limit per page (max 20), start and end date in YYYY-MM-DD format, and language code to filter results.

Output shape

A list of tweet items matching the search criteria.

If 'Return All' is true, all pages of results are fetched via cursor-based pagination until no more pages are available; otherwise, only the first page is returned. Pagination and filtering parameters directly correspond to API query parameters.

Links

Discussion