API ReferenceX
List posts
List recent tweets for an X profile.
Returns the first page only; pagination isn't exposed yet.
Cost: 2 credits per successful call.
Authorization
ApiKeyAuth X-API-Key<token>
Required on every request. Keys are issued manually during early access, see Authentication.
In: header
Query Parameters
username*string
X handle, no @.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/x/posts?username=elonmusk"{ "success": true, "platform": "x", "data": [ { "id": "2101767007406641574", "text": "Cybertruck as Heavy Cav", "likes": 6648, "comments": 875 } ], "meta": { "credits_used": 2 }}