user_idstringrequired
Instagram user ID
https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-idReturns Instagram account information and recent timeline media details for a specified account. Queries using the unique numerical user ID.
[
{
"data": {
"ai_agent_owner_username": null,
"attempts": "9",
"bio_links": [
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUBnFwhtiVK6OFgINQXPs3KVUyIaHGOc12ek49o7wpZRV3HwCZTLMxhw24SKaxx9f1nq5cckfMUMANnr_ztMTB4stuHQZNkE",
"title": "",
"url": "http://help.instagram.com"
},
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fopen.spotify.com%2Fepisode%2F6B8XsGCYuHMYzSLvLMitS7%3Fsi%3DkXd6_Y6AQhueoC_McepSKg&e=AUDCagcadEr-LPE6KG4AS9LV7BJAUkdyvWRXOs153PJdkWWsAWKJYpADKfpwN0BwlwFtDA629TKacfQrtghC8W3igD3m7E7t",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | Spotify",
"url": "https://open.spotify.com/episode/6B8XsGCYuHMYzSLvLMitS7?si=kXd6_Y6AQhueoC_McepSKg"
},
"… 1 more items in the full response"
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"blocked_by_viewer": false,
"business_address_json": null,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"category_enum": null,
"category_name": null,
"country_block": false,
"edge_follow": {
"count": 305
},
"edge_followed_by": {
"count": 686584231
},
"edge_owner_to_timeline_media": {
"count": 8612,
"edges": [
{
"node": {
"__typename": "GraphVideo",
"accessibility_caption": null,
"clips_music_attribution_info": {
"artist_name": "Wonder Girls",
"audio_id": "314742886009556",
"should_mute_audio": false,
"should_mute_audio_reason": "",
"song_name": "Tell Me (Rap Version)",
"uses_original_audio": false
},
"coauthor_producers": [],
"comments_disabled": false,
"dash_info": {
"is_dash_eligible": false,
"number_of_qualities": 0,
"video_dash_manifest": null
},
"dimensions": {
"height": 1920,
"width": 1080
},
"display_url": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=lNt9jIeoRLsQ7kNvwHqO1…",
"edge_liked_by": {
"count": 642817
},
"edge_media_preview_like": {
"count": 642817
},
"edge_media_to_caption": {
"edges": [
"…"
]
},
"edge_media_to_comment": {
"count": 18380
},
"edge_media_to_tagged_user": {
"edges": [
"…"
]
},
"fact_check_information": null,
"fact_check_overall_rating": null,
"felix_profile_grid_crop": null,
"gating_info": null,
"has_audio": true,
"has_upcoming_event": false,
"id": "3998430248382584993",
"is_video": true,
"like_and_view_counts_disabled": false,
"location": null,
"media_overlay_info": null,
"media_preview": "ABgq58LngDmums2JgXPVRtP4dP0xUY0uJectke//ANarMdusYwMke5zUvUaKmd3U4YnnP8h7D+dFWZIFYZ6H2oqLF3LJqlLMwJ2chcZHrV48VGQOabQkV47gPjPGf5+lFVG+WQem4fzopoGa5FRt6CpHqM0xFKePJ96KmloqS0f/2Q==",
"nft_asset_info": null,
"owner": {
"id": "25025320",
"username": "instagram"
},
"pinned_for_users": [],
"product_type": "clips",
"profile_grid_thumbnail_fitting_style": "UNSET",
"sharing_friction_info": {
"bloks_app_url": null,
"should_have_sharing_friction": false
},
"shortcode": "Dd9RyBWBVih",
"taken_at_timestamp": 1790870385,
"tall_profile_grid_crop": {
"crop_bottom": 0.914492753623188,
"crop_left": 0,
"crop_right": 1,
"crop_top": 0.165217391304347
},
"thumbnail_resources": [
{
"config_height": 150,
"config_width": 150,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
{
"config_height": 240,
"config_width": 240,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
"… 3 more items in the full response"
],
"thumbnail_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=l…",
"thumbnail_tall_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=dst-jpg_e35_p640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=lNt9jIeoRLsQ7kNvwHq…",
"tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiZmY0ODlhZWUyMzkwNDE1Njg1MjFkNjcxMmZlNmVjZWUzOTk4NDMwMjQ4MzgyNTg0OTkzIn0sInNpZ25hdHVyZSI6IiJ9",
"video_url": "https://instagram.fqpa2-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQPSpP2QuNVX3DLKJj_iVnYb1-7O4TvN-6jnTrP6GilIPrOETMuukhTDS4u1TIP4bPclqcmkRt5xRhf_riabqCVglEj4OOOd7urAGH4.mp4?_nc_cat=1&_nc_oc=Adpys8KxWg9aQc9smjqPxQI6yDhAgIagN0Fz524fKa7ZLWkzR8Ej9_-YQvvzS1vYXw0&_nc_sid=5e9851&_nc_ht=instagram.fqpa2-1.fna.fbcdn.ne…",
"video_view_count": 40743799,
"…": "1 more fields in the full response"
}
},
{
"node": {
"__typename": "GraphVideo",
"accessibility_caption": null,
"clips_music_attribution_info": {
"artist_name": "THE 8, Vernon",
"audio_id": "2059878424601687",
"should_mute_audio": false,
"should_mute_audio_reason": "",
"song_name": "singasong",
"uses_original_audio": false
},
"coauthor_producers": [],
"comments_disabled": false,
"dash_info": {
"is_dash_eligible": false,
"number_of_qualities": 0,
"video_dash_manifest": null
},
"dimensions": {
"height": 1920,
"width": 1080
},
"display_url": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=uh7oFPO_zWsQ7kNvwECLB…",
"edge_liked_by": {
"count": 785065
},
"edge_media_preview_like": {
"count": 785065
},
"edge_media_to_caption": {
"edges": [
"…"
]
},
"edge_media_to_comment": {
"count": 10492
},
"edge_media_to_tagged_user": {
"edges": [
"…",
"…",
"… 3 more items in the full response"
]
},
"fact_check_information": null,
"fact_check_overall_rating": null,
"felix_profile_grid_crop": null,
"gating_info": null,
"has_audio": true,
"has_upcoming_event": false,
"id": "3997798548002238943",
"is_video": true,
"like_and_view_counts_disabled": false,
"location": null,
"media_overlay_info": null,
"media_preview": "ABgquW0ZU7zwDkD39z/Sr4PNRsVZdy4YcDiozLsbGMD3NPYW5U1GHLow/i+U/XtRU0t4r/IADz1P8x/jRSGhtptSAkDALA/Xkdu1R3Um8E/d7VlQzt5bbj3HbnAHH4elDyDy1RTkHn+fr3FADg2w5zzjp3oqusyldrDnPGO3+elFIByoWhZuhJP6dqikiKxryWP8geauN92on+6PpVAVPLLc98E/iOgoq2vSikB//9k=",
"nft_asset_info": null,
"owner": {
"id": "25025320",
"username": "instagram"
},
"pinned_for_users": [],
"product_type": "clips",
"profile_grid_thumbnail_fitting_style": "UNSET",
"sharing_friction_info": {
"bloks_app_url": null,
"should_have_sharing_friction": false
},
"shortcode": "Dd7CJkhPvHf",
"taken_at_timestamp": 1790795094,
"tall_profile_grid_crop": {
"crop_bottom": 1,
"crop_left": 0,
"crop_right": 1,
"crop_top": 0.25072463768115943
},
"thumbnail_resources": [
{
"config_height": 150,
"config_width": 150,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
{
"config_height": 240,
"config_width": 240,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
"… 3 more items in the full response"
],
"thumbnail_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=u…",
"thumbnail_tall_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=dst-jpg_e35_p640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=uh7oFPO_zWsQ7kNvwEC…",
"tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiZmY0ODlhZWUyMzkwNDE1Njg1MjFkNjcxMmZlNmVjZWUzOTk3Nzk4NTQ4MDAyMjM4OTQzIn0sInNpZ25hdHVyZSI6IiJ9",
"video_url": "https://instagram.fqpa2-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOXIkIK55DzAi2_DogPBk6_wrFDq3NlAAmqrvawi52g7mxe5kqFrQwSNR_rZc8vWAtbyKzIR4K9CHxAhzKfICYK_a3sydtZtRnmDE4.mp4?_nc_cat=106&_nc_oc=Adptp2OahA4tifwXqW2yHjgNnllJIkA7V1CPyyVjtq6i2AkD16wEpVz3qbK_zMmH3Ak&_nc_sid=5e9851&_nc_ht=instagram.fqpa2-1.fna.fbcdn.…",
"video_view_count": 26321604,
"…": "1 more fields in the full response"
}
},
"… 10 more items in the full response"
]
},
"eimu_id": "117943452927407",
"external_url": "http://help.instagram.com/",
"external_url_linkshimmed": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUCCrmdr0sz-PcCIs3lsOxTKzkOLhckcwh9tIGgMCRB25qi_0nmfO0JBz4omuwkGcflIf26OOAFH_ZK5n8N-_1r9pAKaQuqR",
"fb_profile_biolink": null,
"fbid": "17841400039600391",
"followed_by_viewer": false,
"follows_viewer": false,
"full_name": "Instagram",
"group_metadata": null,
"guardian_id": null,
"has_ar_effects": false,
"has_blocked_viewer": false,
"has_channel": false,
"has_clips": true,
"has_guides": false,
"has_onboarded_to_text_post_app": false,
"has_requested_viewer": false,
"hide_like_and_view_counts": false,
"highlight_reel_count": 11,
"id": "25025320",
"is_business_account": false,
"is_embeds_disabled": false,
"is_guardian_of_viewer": false,
"…": "24 more fields in the full response"
}
}
]Select an example to load its inputs and result into the playground.
Returns profile data for one Instagram account, plus a page of its recent timeline media. It needs the numeric Instagram user_id.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ai_agent_owner_username": null,
"attempts": "0",
"bio_links": [
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUAVag0WPMwXU8S1…",
"title": "",
"url": "http://help.instagram.com"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"blocked_by_viewer": false,
"business_address_json": null,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"category_enum": null
}
| Field | Meaning |
|---|---|
id | The numeric Instagram user ID of the account. It matches the user_id you sent. |
full_name | The display name of the account. |
biography | The bio text. biography_with_entities.raw_text holds the same text, and biography_with_entities.entities lists any tagged entities. |
edge_followed_by.count / edge_follow.count | Number of followers and number of accounts this profile follows. |
bio_links[].url / bio_links[].title / bio_links[].link_type | Links listed in the bio, with their title and type. bio_links[].lynx_url is the same link wrapped in an Instagram redirect URL. |
external_url | The main website link on the profile. |
is_business_account | Whether the account is a business account. Related fields include business_email, business_phone_number and business_category_name, which are null when not set. |
highlight_reel_count | Number of story highlights on the profile. |
edge_owner_to_timeline_media.count | Total number of posts on the account. |
edge_owner_to_timeline_media.edges[].node | One recent post. It includes __typename (such as GraphVideo or GraphSidecar), display_url, dimensions.height / dimensions.width, comments_disabled and edge_liked_by.count. |
edges list in edge_owner_to_timeline_media holds only a few recent posts. The API has no pagination parameter, so use Instagram User Posts (V1) to read more posts.coauthor_producers list the co-author's id, username and is_verified flag.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"user_id": "25025320"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
user_idstringrequiredInstagram user ID
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"ai_agent_owner_username": null,
"attempts": "9",
"bio_links": [
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUBnFwhtiVK6OFgINQXPs3KVUyIaHGOc12ek49o7wpZRV3HwCZTLMxhw24SKaxx9f1nq5cckfMUMANnr_ztMTB4stuHQZNkE",
"title": "",
"url": "http://help.instagram.com"
},
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fopen.spotify.com%2Fepisode%2F6B8XsGCYuHMYzSLvLMitS7%3Fsi%3DkXd6_Y6AQhueoC_McepSKg&e=AUDCagcadEr-LPE6KG4AS9LV7BJAUkdyvWRXOs153PJdkWWsAWKJYpADKfpwN0BwlwFtDA629TKacfQrtghC8W3igD3m7E7t",
"title": "Close Friends Only with @kaicenat and @kaiyacenat | Spotify",
"url": "https://open.spotify.com/episode/6B8XsGCYuHMYzSLvLMitS7?si=kXd6_Y6AQhueoC_McepSKg"
},
"… 1 more items in the full response"
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"blocked_by_viewer": false,
"business_address_json": null,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"business_email": null,
"business_phone_number": null,
"category_enum": null,
"category_name": null,
"country_block": false,
"edge_follow": {
"count": 305
},
"edge_followed_by": {
"count": 686584231
},
"edge_owner_to_timeline_media": {
"count": 8612,
"edges": [
{
"node": {
"__typename": "GraphVideo",
"accessibility_caption": null,
"clips_music_attribution_info": {
"artist_name": "Wonder Girls",
"audio_id": "314742886009556",
"should_mute_audio": false,
"should_mute_audio_reason": "",
"song_name": "Tell Me (Rap Version)",
"uses_original_audio": false
},
"coauthor_producers": [],
"comments_disabled": false,
"dash_info": {
"is_dash_eligible": false,
"number_of_qualities": 0,
"video_dash_manifest": null
},
"dimensions": {
"height": 1920,
"width": 1080
},
"display_url": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=lNt9jIeoRLsQ7kNvwHqO1…",
"edge_liked_by": {
"count": 642817
},
"edge_media_preview_like": {
"count": 642817
},
"edge_media_to_caption": {
"edges": [
"…"
]
},
"edge_media_to_comment": {
"count": 18380
},
"edge_media_to_tagged_user": {
"edges": [
"…"
]
},
"fact_check_information": null,
"fact_check_overall_rating": null,
"felix_profile_grid_crop": null,
"gating_info": null,
"has_audio": true,
"has_upcoming_event": false,
"id": "3998430248382584993",
"is_video": true,
"like_and_view_counts_disabled": false,
"location": null,
"media_overlay_info": null,
"media_preview": "ABgq58LngDmums2JgXPVRtP4dP0xUY0uJectke//ANarMdusYwMke5zUvUaKmd3U4YnnP8h7D+dFWZIFYZ6H2oqLF3LJqlLMwJ2chcZHrV48VGQOabQkV47gPjPGf5+lFVG+WQem4fzopoGa5FRt6CpHqM0xFKePJ96KmloqS0f/2Q==",
"nft_asset_info": null,
"owner": {
"id": "25025320",
"username": "instagram"
},
"pinned_for_users": [],
"product_type": "clips",
"profile_grid_thumbnail_fitting_style": "UNSET",
"sharing_friction_info": {
"bloks_app_url": null,
"should_have_sharing_friction": false
},
"shortcode": "Dd9RyBWBVih",
"taken_at_timestamp": 1790870385,
"tall_profile_grid_crop": {
"crop_bottom": 0.914492753623188,
"crop_left": 0,
"crop_right": 1,
"crop_top": 0.165217391304347
},
"thumbnail_resources": [
{
"config_height": 150,
"config_width": 150,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
{
"config_height": 240,
"config_width": 240,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
"… 3 more items in the full response"
],
"thumbnail_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=l…",
"thumbnail_tall_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830594125_18798964129001321_5625309391674938800_n.jpg?stp=dst-jpg_e35_p640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=lNt9jIeoRLsQ7kNvwHq…",
"tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiZmY0ODlhZWUyMzkwNDE1Njg1MjFkNjcxMmZlNmVjZWUzOTk4NDMwMjQ4MzgyNTg0OTkzIn0sInNpZ25hdHVyZSI6IiJ9",
"video_url": "https://instagram.fqpa2-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQPSpP2QuNVX3DLKJj_iVnYb1-7O4TvN-6jnTrP6GilIPrOETMuukhTDS4u1TIP4bPclqcmkRt5xRhf_riabqCVglEj4OOOd7urAGH4.mp4?_nc_cat=1&_nc_oc=Adpys8KxWg9aQc9smjqPxQI6yDhAgIagN0Fz524fKa7ZLWkzR8Ej9_-YQvvzS1vYXw0&_nc_sid=5e9851&_nc_ht=instagram.fqpa2-1.fna.fbcdn.ne…",
"video_view_count": 40743799,
"…": "1 more fields in the full response"
}
},
{
"node": {
"__typename": "GraphVideo",
"accessibility_caption": null,
"clips_music_attribution_info": {
"artist_name": "THE 8, Vernon",
"audio_id": "2059878424601687",
"should_mute_audio": false,
"should_mute_audio_reason": "",
"song_name": "singasong",
"uses_original_audio": false
},
"coauthor_producers": [],
"comments_disabled": false,
"dash_info": {
"is_dash_eligible": false,
"number_of_qualities": 0,
"video_dash_manifest": null
},
"dimensions": {
"height": 1920,
"width": 1080
},
"display_url": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=uh7oFPO_zWsQ7kNvwECLB…",
"edge_liked_by": {
"count": 785065
},
"edge_media_preview_like": {
"count": 785065
},
"edge_media_to_caption": {
"edges": [
"…"
]
},
"edge_media_to_comment": {
"count": 10492
},
"edge_media_to_tagged_user": {
"edges": [
"…",
"…",
"… 3 more items in the full response"
]
},
"fact_check_information": null,
"fact_check_overall_rating": null,
"felix_profile_grid_crop": null,
"gating_info": null,
"has_audio": true,
"has_upcoming_event": false,
"id": "3997798548002238943",
"is_video": true,
"like_and_view_counts_disabled": false,
"location": null,
"media_overlay_info": null,
"media_preview": "ABgquW0ZU7zwDkD39z/Sr4PNRsVZdy4YcDiozLsbGMD3NPYW5U1GHLow/i+U/XtRU0t4r/IADz1P8x/jRSGhtptSAkDALA/Xkdu1R3Um8E/d7VlQzt5bbj3HbnAHH4elDyDy1RTkHn+fr3FADg2w5zzjp3oqusyldrDnPGO3+elFIByoWhZuhJP6dqikiKxryWP8geauN92on+6PpVAVPLLc98E/iOgoq2vSikB//9k=",
"nft_asset_info": null,
"owner": {
"id": "25025320",
"username": "instagram"
},
"pinned_for_users": [],
"product_type": "clips",
"profile_grid_thumbnail_fitting_style": "UNSET",
"sharing_friction_info": {
"bloks_app_url": null,
"should_have_sharing_friction": false
},
"shortcode": "Dd7CJkhPvHf",
"taken_at_timestamp": 1790795094,
"tall_profile_grid_crop": {
"crop_bottom": 1,
"crop_left": 0,
"crop_right": 1,
"crop_top": 0.25072463768115943
},
"thumbnail_resources": [
{
"config_height": 150,
"config_width": 150,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
{
"config_height": 240,
"config_width": 240,
"src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e15_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLmMxIn0&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1…"
},
"… 3 more items in the full response"
],
"thumbnail_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=c0.420.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=u…",
"thumbnail_tall_src": "https://instagram.fqpa2-1.fna.fbcdn.net/v/t51.82787-15/830434625_18798675220001321_2218595363940657891_n.jpg?stp=dst-jpg_e35_p640x640_sh2.08_tt6&_nc_ht=instagram.fqpa2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2gE3Mb3qJlFoGyQUlF5eDr8nesmm0sqHoCMNW2-9CtjwxCwyseScIc1P9UCqlsuUaE0&_nc_ohc=uh7oFPO_zWsQ7kNvwEC…",
"tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiZmY0ODlhZWUyMzkwNDE1Njg1MjFkNjcxMmZlNmVjZWUzOTk3Nzk4NTQ4MDAyMjM4OTQzIn0sInNpZ25hdHVyZSI6IiJ9",
"video_url": "https://instagram.fqpa2-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOXIkIK55DzAi2_DogPBk6_wrFDq3NlAAmqrvawi52g7mxe5kqFrQwSNR_rZc8vWAtbyKzIR4K9CHxAhzKfICYK_a3sydtZtRnmDE4.mp4?_nc_cat=106&_nc_oc=Adptp2OahA4tifwXqW2yHjgNnllJIkA7V1CPyyVjtq6i2AkD16wEpVz3qbK_zMmH3Ak&_nc_sid=5e9851&_nc_ht=instagram.fqpa2-1.fna.fbcdn.…",
"video_view_count": 26321604,
"…": "1 more fields in the full response"
}
},
"… 10 more items in the full response"
]
},
"eimu_id": "117943452927407",
"external_url": "http://help.instagram.com/",
"external_url_linkshimmed": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUCCrmdr0sz-PcCIs3lsOxTKzkOLhckcwh9tIGgMCRB25qi_0nmfO0JBz4omuwkGcflIf26OOAFH_ZK5n8N-_1r9pAKaQuqR",
"fb_profile_biolink": null,
"fbid": "17841400039600391",
"followed_by_viewer": false,
"follows_viewer": false,
"full_name": "Instagram",
"group_metadata": null,
"guardian_id": null,
"has_ar_effects": false,
"has_blocked_viewer": false,
"has_channel": false,
"has_clips": true,
"has_guides": false,
"has_onboarded_to_text_post_app": false,
"has_requested_viewer": false,
"hide_like_and_view_counts": false,
"highlight_reel_count": 11,
"id": "25025320",
"is_business_account": false,
"is_embeds_disabled": false,
"is_guardian_of_viewer": false,
"…": "24 more fields in the full response"
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Instagram User Profile by IDThis API Instagram | $0.001 per call | JSON |
Instagram | $0.001 per call | JSON |
Instagram | $0.001 per call | JSON |
Instagram | $0.001 per call | JSON |
Instagram | $0.001 per call | JSON |
Instagram | $0.001 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/user-info-by-id with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
Required: user_id (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Instagram User Profile by ID runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.