X Scraper
Get Twitter User Tweets
Get about 100 of an X (Twitter) user's most popular posts with text, views, likes, reposts and replies.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| handlestring · required | string | required | Twitter handle |
| trimboolean · optional | boolean | optional | Set to true for a trimmed down version of the response |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more. The price is the same either way. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tweets": {
"type": "array"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
}
},
"additionalProperties": true
}