Instagram profile API: get user details by username
Public profile details for a username: bio, links, counts, verification and profile picture.
About the Profile details by username endpoint
The Instagram profile API returns the public details of any Instagram account from just its username: full name, bio and bio links, follower and following counts, number of posts, verification and business flags, and the profile picture URL. It needs no Instagram login, access token or app review, and every field has a consistent name you can rely on.
What you can build with it
- Influencer discovery: pull an Instagram user's details by username to check reach and verification before reaching out
- CRM and lead enrichment: attach Instagram account info to customer and prospect records
- Brand monitoring: keep a current profile snapshot of your own and competitor accounts
Request
https://socialgraph.dev/api/v1/instagram/profile
Send your API key as Authorization: Bearer YOUR_API_KEY.
Parameters go in the query string.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired |
string | Instagram username, e.g. apple. |
Code examples
Example response
{
"id": "5821462185",
"bio": "Everyone has a story to tell.\n#ShotoniPhone",
"avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/…_s150x150….jpg",
"username": "apple",
"bio_links": [
{
"url": "http://apple.co/Apple-Support",
"title": "Apple Support"
}
],
"followers": 38072239,
"following": 9,
"full_name": "apple",
"is_private": false,
"is_verified": true,
"media_count": 1400,
"external_url": "http://apple.co/Apple-Support"
}Errors
| Status | Meaning | Charged? |
|---|---|---|
| 401 | Missing, invalid or revoked API key | No |
| 402 | Not enough credits (insufficient_credits) | No |
| 404 | The account or post doesn't exist | No |
| 422 | Missing or invalid parameters | No |
| 502 / 503 | The data source is temporarily unavailable | No |
Profile details by username API: frequently asked questions
Do I need an Instagram login or access token to get user details?
No. This API returns publicly available Instagram profile information from the username alone. You only need your socialgraph.dev API key.
Which Instagram user details does the API return?
The account ID, username, full name, bio, bio links, follower count, following count, number of posts, whether the account is verified, private or a business account, and the profile picture URL.
Does it work for private Instagram accounts?
Only public information is returned. For a private account you still get the profile basics such as name, counts and the private flag, but no posts.
How do I get Instagram user details by user ID instead of username?
Use the Profile details by user ID endpoint, which takes the numeric Instagram user ID and returns the same profile information.
How much does the Profile details by username endpoint cost?
2 credits per successful call (0.004 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.
Can I try the Profile details by username API without signing up?
Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.
🔒 Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.