Get Similar Accounts
Lookup for user similar accounts by id. Typically, up to 80 accounts will be returned.
Params
Name | Type | Default | Description |
---|---|---|---|
id (required) | int | – | User id |
Usage
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_similar_accounts(173560420))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->getUserSimilarAccounts(173560420));
curl --request POST \
--url https://v1.rocketapi.io/instagram/user/get_similar_accounts \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"id": 173560420
}'
Response example
Loading...