Users

Check follow relationship

GET /v1/users/{screen_name}/relationship/{other_screen_name} reads 1 credits

How two accounts relate: whether the first follows the second and whether it is followed back.

response

Both accounts as references, following and followed_by from the first account's side, plus any further flags X discloses (for example can_dm). The two handles must differ.

Status: 200, 400, 404, 429, 502

request
curl https://api.xsignalfeed.com/v1/users/elonmusk/relationship/jack \
  -H "Authorization: Bearer xsf_your_key"
response · 200 / 400
{
  "source": {
    "id": "44196397",
    "screen_name": "elonmusk"
  },
  "target": {
    "id": "12",
    "screen_name": "jack"
  },
  "following": true,
  "followed_by": true,
  "can_dm": true
}