Skip to main content
POST
Search X posts

POST /api/v1/platform/scrapers/x/search-posts

Search X (Twitter) posts by keyword or query.
Search public X posts matching a query, with optional date, language, and location filters.

Example

Authorizations

X-Access-Key
string
header
required

The public API key from the Credentials page.

X-Secret-Key
string
header
required

The API secret shown when the credential is created.

Body

application/json
query
string
required
Example:

"typescript nestjs"

maxTweets
number
Required range: 1 <= x <= 200
options
object

Response

Successful response.

data
object[]
required
meta
object
required