YepAPI
Instagram API

User Profile

Get profile information for an Instagram user.

POST/v1/instagram/user
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/instagram/user', {
  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 \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "natgeo"}'

Request Body

ParameterTypeRequiredDescriptionDefault
usernamestringYesInstagram username

Response

{
  "ok": true,
  "data": {
    "id": "787132",
    "username": "natgeo",
    "full_name": "National Geographic",
    "biography": "Experience the world through the eyes of National Geographic photographers.",
    "profile_pic_url": "https://scontent.cdninstagram.com/...",
    "profile_pic_url_hd": "https://scontent.cdninstagram.com/...",
    "follower_count": 284000000,
    "following_count": 156,
    "media_count": 28500,
    "is_verified": true,
    "is_private": false,
    "is_business_account": true,
    "category": "Media/News Company",
    "external_url": "https://www.nationalgeographic.com"
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.idstringUnique Instagram user ID
data.usernamestringInstagram username
data.full_namestringUser's display name
data.biographystringUser bio text
data.profile_pic_urlstringStandard profile picture URL
data.profile_pic_url_hdstringHigh-resolution profile picture URL
data.follower_countnumberNumber of followers
data.following_countnumberNumber of accounts followed
data.media_countnumberTotal number of posts
data.is_verifiedbooleanWhether the user is verified
data.is_privatebooleanWhether the account is private
data.is_business_accountbooleanWhether this is a business account
data.categorystringBusiness category (if applicable)
data.external_urlstringLink in bio URL

On this page