Skip to main content

Check Relationship

Check Relationship

Check the follow relationship between two users. Returns whether the source follows the target and vice versa. Consumes 50 credits (interaction rate).

GET/v2/users/check-followCheck follow relationship between two users.
ParameterTypeRequiredDefaultDescription
sourcestringrequired—Source username (query parameter)
targetstringrequired—Target username (query parameter)
BASH
curl "https://xcrop.io/api/v2/users/check-follow?source=elonmusk&target=VitalikButerin" \
  -H "Authorization: Bearer $XCROP_API_KEY"
ResponseJSON
{
  "data": {
    "source": "elonmusk",
    "target": "VitalikButerin",
    "source_follows_target": false,
    "target_follows_source": false
  },
  "meta": { "latency_ms": 189 }
}

More in REST API

Full documentation with search: xcrop.io/docs