YepAPI
Instagram API

Similar Accounts

Get Instagram accounts similar to a given user.

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": [
      {
        "username": "discoverearth",
        "full_name": "Discover Earth",
        "profile_pic_url": "https://scontent.cdninstagram.com/...",
        "is_verified": true,
        "follower_count": 12500000
      },
      {
        "username": "earthpix",
        "full_name": "EarthPix",
        "profile_pic_url": "https://scontent.cdninstagram.com/...",
        "is_verified": true,
        "follower_count": 8900000
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.similar_accountsobject[]Array of similar account objects
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[].follower_countnumberNumber of followers

On this page