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.| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| source | string | required | — | Source username (query parameter) |
| target | string | required | — | 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 } }