Twitter / X Scraping
Search Twitter X Posts
POST /v1/x/search
#Example
curl -X POST /v1/x/search \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"query": "laravel"
}'
#Request Body
{
"query": "laravel"
}
#Pricing
- 10 credits
Credits are only deducted for successful requests.
#Notes
- this route is throttled
- results are returned under the
responsearray
#Example Response
{
"response": {
"query": "laravel",
"tweets": [
{
"id": "11",
"tweet_url": "https://x.com/testuser/status/11",
"text": "Search result text"
}
]
}
}