Users
Get user posts
GET /v1/users/{screen_name}/tweets reads 2 credits
Recent posts by an account, newest first.
Query parameters
| Query parameter | Type | Meaning |
|---|---|---|
replies | bool = false | Include replies |
count | int 1–100 = 40 | Requested page size; X treats it as a hint |
cursor | string | From the previous page's next_cursor |
response
The account, its posts, and a cursor for the next page (null at the end). Field by field: Tweet (read).
Status: 200, 404, 429, 502
request
curl https://api.xsignalfeed.com/v1/users/elonmusk/tweets?count=20&replies=true \ -H "Authorization: Bearer xsf_your_key"
response · 200 / 404
{
"user": {
"id": "44196397",
"screen_name": "elonmusk"
},
"tweets": [
{
"id": 2097879002992070835,
"created_ms": 1789012345678,
"user_id": 44196397,
"user": "elonmusk",
"name": "Elon Musk",
"text": "…",
"lang": "en",
"reply_to": null,
"reply_to_status_id": null,
"reply_to_user_id": null,
"conversation_id": "2097879002992070835",
"is_rt": false,
"rt_of": null,
"is_quote": false,
"quoted": null,
"media": [],
"media_items": [],
"urls": [],
"views": 1204331,
"counts": {
"reply": 812,
"rt": 1930,
"like": 14022,
"quote": 210,
"bookmark": 388
}
}
],
"next_cursor": "DAAHCgABHSMQD72__-oL"
}