instagram_similar_accounts
Find Instagram accounts similar to a given username. Input a handle to retrieve lookalike profiles with details.
Instructions
List the accounts Instagram itself considers similar to one you name.
This reads the same "Suggested for you" graph the app shows under a profile, built from co-follow behaviour Instagram has already modelled. It is by far the highest-precision way to find more accounts like one you already like - far better than searching words - so the usual pattern is to find one good example by any means and then chain outward from it.
Instagram refuses chaining for some accounts, mostly private or recently flagged ones; a second, older endpoint is tried before giving up.
Args: username: The handle to find lookalikes for. user_id: The numeric id, if you already have it. amount: How many accounts to keep.
Returns: seed (the account asked about), count and users[]: user_id, username, full_name, is_private, is_verified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Maximum accounts to return. | |
| user_id | No | Numeric user id. Use instead of username. | |
| username | No | Handle to find lookalikes for, e.g. 'nasa'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||