Not Following Back: XCROP API Documentation
Not Following Back
Every account a user follows that does not follow them back, as full user objects (the same fields as users/batch), newest follow first, in one call. There is no cursor and no count parameter: the whole list comes back at once. The same check runs on the web page xcrop.io/following-back (sign-in required, 1 credit per account followed there)
/v2/users/:username/following-backList the accounts a user follows that do not follow back| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| username | string | required | default — | Username, with or without @ (path parameter) |
curl "https://xcrop.io/api/v2/users/jaredpalmer/following-back" -H "Authorization: Bearer $XCROP_API_KEY"
{ "data": [ { "id": "44196397", "username": "elonmusk", "name": "Elon Musk", "followers": 236033705, "following": 1292, "verified": true } ], "meta": { "username": "jaredpalmer", "following": 2897, "followers": 115270, "not_following_back": 1697, "unavailable": 0, "credits": 5794, "latency_ms": 28000 } }
meta.following and meta.followers are the account's own counts. meta.not_following_back is how many accounts did not follow back, and meta.unavailable is how many of them were counted but are suspended or deactivated, so they are missing from data
Price: 2 credits per account the user follows, 10 credits minimum, with the whole list of profiles included. The follower side is not billed, and credits are charged only after the whole list was read. A user who follows 2,897 accounts costs 5,794 credits. A large account can take up to about a minute, so use a generous client timeout
Errors: 400 BAD_HANDLE, 401, 403 PROTECTED (private account), 404 NOT_FOUND or SUSPENDED, 422 TOO_LARGE (following over 50,000 or a follower list too large to read whole, roughly 395,000 followers), 429 and 503 UPSTREAM_BUSY. A 503 means X did not return the whole list, nothing is charged and the response carries Retry-After: 30. Every error except a charged success is free