Search following (v1)
Find accounts this account follows whose username or full name matches query. No match returns an empty items list.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
username?string
Account username with or without @, or an instagram.com profile URL.
Length
length <= 300user_id?string
Numeric account ID, from the pk field of /v1/instagram/profile. Send exactly one of username or user_id.
Match
^\d{1,25}$query*string
Part of a username or full name. Leave out . and _ at the start or end; Instagram may not match them.
Length
1 <= length <= 100cursor?string
next_cursor from the previous response. Omit for the first page and send it unchanged for later pages.
Length
length <= 2000curl -X GET "https://example.com/v1/instagram/user/following/search?query=john" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "items": [ { "property1": null, "property2": null } ], "next_cursor": "string" }, "details": { "reason": "no_results", "message": "string" }}