GET /api/v1/x/accounts/{id}/users/{username}
One X user by @username: id, name, subscriptionType, verified, followers, receivesYourDm
GET
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringX account id
username*stringX username without @
{accountId, user}
application/json- response
accountId?stringuser?curl -X GET 'https://example.com/api/v1/x/accounts/string/users/string'Example Response
{ "accountId": "string", "user": {}}GET /api/v1/x/accounts/{id}/posts/{postId} GET
One X post: text, author, url, public metrics
GET /api/v1/ads/accounts GET
Ad accounts the connected Facebook user can reach (needs ads_read or ads_management on the account). Only those linked to the Page (owned by its business, that promoted it, or allowed by a person) can be used: others answer 403 ad_account_not_linked. currencyOffset 100: amounts in cents; 1: whole units. Mock mode returns three sandbox accounts (USD, EUR, CLP)