Twitter APITwitter Search API: Search Tweets by Keyword, User and Date
The Twitter (X) search API is a pair of endpoints that return posts matching a query: recent search covers the last 7 days, and full-archive search reaches.
The API silo. X's own search endpoints, their 7-day and full-archive limits, their per-post pricing, and an honest comparison with running the same query through a scraper.