extractr docs
Instagram

Public profile by username

GET
/instagram/get_profile

Full public profile for an Instagram username: identity, verification and account flags, exact follower/following/post counts, bio and external links, profile picture, and recent posts with engagement. Scraped anonymously — no login. Private accounts return their public header only (no posts).

Costs 2 credits per request.

Authorization

ApiKeyAuth
X-API-Key<token>

API key created in the extractr dashboard (ext_live_...). Also accepted as Authorization: Bearer.

In: header

Query Parameters

username*string

Instagram handle, with or without a leading @.

Match^@?[A-Za-z0-9._]+$
Length1 <= length <= 30

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/instagram/get_profile?username=instagram"
{  "id": "25025320",  "username": "instagram",  "full_name": "Instagram",  "biography": "Discover what’s next on Instagram.",  "url": "https://www.instagram.com/instagram/",  "external_url": "https://about.instagram.com",  "bio_links": [    {      "title": "My shop",      "url": "https://example.com",      "type": "external"    }  ],  "followers": 683000000,  "following": 176,  "posts_count": 7714,  "is_verified": true,  "is_private": false,  "is_business_account": true,  "is_professional_account": true,  "category": "Media/News Company",  "pronouns": [    "she",    "her"  ],  "profile_pic_url": "string",  "highlight_reel_count": 12,  "hide_like_counts": true,  "recent_posts": [    {      "id": "3312345678901234567",      "shortcode": "C1a2b3c4d5e",      "url": "https://www.instagram.com/p/C1a2b3c4d5e/",      "type": "image",      "caption": "New drop out now 🔥",      "display_url": "https://instagram.fxxx.fna.fbcdn.net/v/...",      "thumbnail_url": "string",      "is_video": true,      "video_url": "string",      "likes": 10432,      "comments": 214,      "video_views": 88400,      "taken_at": "2026-05-11T18:04:00.000Z",      "width": 1080,      "height": 1350,      "accessibility_caption": "string"    }  ]}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}