Social Scraper
Instagram

Get Profile

Retrieve public Instagram profile information.

Get Instagram Profile

Retrieve public profile information for an Instagram user.

Endpoint

GET /instagram/profile/:username

Parameters

Path Parameters

ParameterTypeRequiredDescription
usernamestringYesThe Instagram username (without @)

Request

Headers

HeaderRequiredDescription
AuthorizationYesBearer token with your API key

Example Request

curl -X GET "https://api.your-domain.com/instagram/profile/instagram" \
  -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch(
  'https://api.your-domain.com/instagram/profile/instagram',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);

const profile = await response.json();
import requests

response = requests.get(
    'https://api.your-domain.com/instagram/profile/instagram',
    headers={'Authorization': 'Bearer YOUR_API_KEY'}
)

profile = response.json()

Response

Success Response

Status Code: 200 OK

Returns the Instagram user profile data including biography, follower counts, and profile information.

{
  "id": "25025320",
  "username": "instagram",
  "full_name": "Instagram",
  "biography": "Bringing you closer to the people and things you love.",
  "profile_pic_url": "https://...",
  "profile_pic_url_hd": "https://...",
  "is_verified": true,
  "is_private": false,
  "edge_followed_by": {
    "count": 674000000
  },
  "edge_follow": {
    "count": 78
  },
  "edge_owner_to_timeline_media": {
    "count": 7845
  }
}

Response Fields

FieldTypeDescription
idstringUnique Instagram user ID
usernamestringInstagram username
full_namestringDisplay name
biographystringProfile bio text
profile_pic_urlstringURL to profile picture
profile_pic_url_hdstringURL to high-resolution profile picture
is_verifiedbooleanWhether the account is verified
is_privatebooleanWhether the account is private
edge_followed_by.countnumberNumber of followers
edge_follow.countnumberNumber of accounts followed
edge_owner_to_timeline_media.countnumberNumber of posts

Error Responses

StatusDescription
400Invalid username format
401Invalid or missing API key
404Profile not found
429Rate limit exceeded
500Failed to extract profile data

See Error Handling for detailed error response formats.

Notes

Private Instagram profiles will return limited information. The is_private field will be true for these accounts.

Instagram may temporarily block requests if too many are made in a short period. Implement appropriate retry logic with exponential backoff.

On this page