Ssocialgraph.dev
API reference / Instagram / Profile details by user ID

Profile details by user ID

Public profile details for a numeric Instagram user ID.

2 credits per successful call Errors are never charged

Request

GET https://socialgraph.dev/api/v1/instagram/profile-by-id

Send your API key as Authorization: Bearer YOUR_API_KEY. Parameters go in the query string.

Parameters

NameTypeDescription
user_id
required
integer Numeric Instagram user ID, e.g. 33719785.

Code examples


Example response

{
    "id": "5821462185",
    "bio": "Everyone has a story to tell.\n#ShotoniPhone",
    "avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/20635165_….jpg",
    "username": "apple",
    "bio_links": [
        {
            "url": "http://apple.co/Apple-Support",
            "title": "Apple Support"
        }
    ],
    "followers": 38073627,
    "following": 9,
    "full_name": "apple",
    "is_private": false,
    "is_business": false,
    "is_verified": true,
    "media_count": null,
    "external_url": "http://apple.co/Apple-Support",
    "is_professional_account": null
}

Errors

StatusMeaningCharged?
401Missing, invalid or revoked API keyNo
402Not enough credits (insufficient_credits)No
404The account or post doesn't existNo
422Missing or invalid parametersNo
502 / 503The data source is temporarily unavailableNo

All error codes →

Try it live: Profile details by user ID GET

🔒 Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account →