cURL
curl --request POST \ --url https://api.anysite.io/api/instagram/user/friendships \ --header 'Content-Type: application/json' \ --header 'access-token: <api-key>' \ --data ' { "user": "<string>", "count": 123, "type": "followers", "timeout": 300 } '
[ { "id": "<string>", "name": "<string>", "alias": "<string>", "url": "<string>", "@type": "InstagramUserPreview", "image": "<string>", "is_verified": false, "is_private": false } ]
Instagram Get User Followers or Following
User ID, alias or URL
Max result count
Type of relationships to fetch
followers
following
Max scrapping execution timeout (in seconds)
20 <= x <= 1500
Successful Response