Instagram Followings
List the accounts an Instagram user follows by username or user_id — username, full name, verification and user_id — with pagination, as JSON. 2 credits per page.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringInstagram username (without @). Provide this or user_id.
Example: nike
user_idstringNumeric user id. Provide this or username.
countnumberUsers per page (1-100, default 12).
cursorstringThe next_max_id from the previous page.
Notes
Credits. Typically 2 credits per page. A request can cost up to 10 credits when it needs extra work to answer; credits_used in the response is always the exact charge.
Paging. Accounts are in users. For the next page, pass next_max_id as cursor while has_more is true.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.user_followings(username="nike")
print(results)Response