Skip to main content
POST
Add Tasks
Add Twitter search results to scrape by providing search URLs from X.com (Twitter). The scraper will extract tweets matching your search query.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Request body format. Value: application/json

Request Body

Task Object

Search URL Parameters

Twitter search URLs support various filters via query parameters:
Perform your search on Twitter/X first, apply filters, then copy the URL to preserve all search parameters.
Use f=live to get the most recent tweets matching your query.
Advanced search operators like from:username, since:2024-01-01, and filter:media are supported in the query.

Code Examples

Response

200