Users
Get subscriptions
GET /v1/users/{screen_name}/subscriptions reads 2 credits
The creators an account subscribes to, as user references.
Query parameters
| Query parameter | Type | Meaning |
|---|---|---|
count | int 1–100 = 20 | Requested page size; X treats it as a hint |
cursor | string | From the previous page's next_cursor |
response
The account, a page of user references, and a cursor (null at the end). An account that hides its subscriptions yields an empty page. Field by field: User reference.
Status: 200, 400, 404, 429, 502
request
curl https://api.xsignalfeed.com/v1/users/cb_doge/subscriptions?count=20 \ -H "Authorization: Bearer xsf_your_key"
response · 200 / 400
{
"user": {
"id": "1389913567671975937",
"screen_name": "cb_doge"
},
"users": [
{
"id": "44196397",
"screen_name": "elonmusk",
"name": "Elon Musk"
},
{
"id": "…",
"screen_name": "…",
"name": "…"
}
],
"next_cursor": null
}