YepAPI
Instagram API

Similar Accounts

Get Instagram accounts similar to a given user.

Pricing, live playground and use cases: Instagram Similar Accounts API on YepAPI

POST/v1/instagram/user-similar
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/instagram/user-similar', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ username: 'natgeo' }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/instagram/user-similar \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "natgeo"}'

Request Body

ParameterTypeRequiredDescriptionDefault
usernamestringYesInstagram username—

Response

{
  "ok": true,
  "data": {
    "similar_accounts": [
      {
        "id": "1769476128",
        "username": "ferrari",
        "full_name": "Ferrari",
        "profile_pic_url": "https://scontent.cdninstagram.com/...",
        "is_verified": true,
        "is_private": false
      },
      {
        "id": "25025320",
        "username": "instagram",
        "full_name": "Instagram",
        "profile_pic_url": "https://scontent.cdninstagram.com/...",
        "is_verified": true,
        "is_private": false
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.similar_accountsobject[]Array of similar account objects
data.similar_accounts[].idstringNumeric Instagram user ID
data.similar_accounts[].usernamestringInstagram username
data.similar_accounts[].full_namestringUser's display name
data.similar_accounts[].profile_pic_urlstringProfile picture URL
data.similar_accounts[].is_verifiedbooleanWhether the user is verified
data.similar_accounts[].is_privatebooleanWhether the account is private

An account that does not exist returns 404 NOT_FOUND and is not billed. Some accounts have no related profiles; they return an empty similar_accounts list.

On this page