toolzerhub API Docs

Check follow relationship

Check whether one account follows another, in both directions. An unknown handle returns data: null.

2 credits / requestBilled only on success
GET
/v1/x/profile/relationship

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

source*string

The account whose follows are checked. Account handle with or without @, or an x.com or twitter.com profile URL.

Lengthlength <= 300
target*string

The account checked against source. Account handle with or without @, or an x.com or twitter.com profile URL.

Lengthlength <= 300
curl -X GET "https://example.com/v1/x/profile/relationship?source=NASA&target=NASA" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "source": "NASA",    "target": "elonmusk",    "source_follows_target": false,    "target_follows_source": true  }}