INSTAGRAM API
Profile
Retrieve profile from Instagram with a single API request.
GET
/api/data/v1/instagram/profile1credit base costZero-credit cache supported
Request parameters
Up to 1 creditInstagram handle
Set to true to get a trimmed response
If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.]
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/instagram/profile?handle=jane' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"data": {
"user": {
"biography": "Building scrapecreators.com | The easiest way to get public social media data at scale",
"bio_links": [
{
"title": "Scrape Creators",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fx.com%2Fadrian_horning_&e=AT0KAd0qSCzNTxgxhgbcBgpBfjdbmbmY2tBez0k8r-ykg_husVDislRpwV7hphrBf5oKxgE2JMWF43ZAkx4abc9zz8HfISec",
"url": "https://x.com/adrian_horning_",
"link_type": "external"
}
],
"biography_with_entities": {
"raw_text": "Building scrapecreators.com | The easiest way to get public social media data at scale",
"entities": []
},
"external_url": "https://x.com/adrian_horning_",
"edge_followed_by": {
"count": 24555
},
"fbid": "17841402777077586",
"edge_follow": {
"count": 110
},
"full_name": "Adrian Horning",
"id": "2700692569",
"is_business_account": true,
"is_professional_account": true,
"business_address_json": {
"city_name": "Austin, Texas",
"city_id": 106224666074625,
"latitude": 30.26759,
"longitude": -97.74299,
"street_address": null,
"zip_code": null
},
"category_name": "Entrepreneur",
"is_private": false,
"is_verified": false,
"profile_pic_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/430086429_362220943449758_2621012714660517106_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=RhIwCIipKVUQ7kNvwFpvyAL&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfPuXR8boR4S5dkEzAKuAxTDy2CiDHtblOt2xdmEYwUqdw&oe=685A08E9&_nc_sid=8b3546",
"profile_pic_url_hd": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/430086429_362220943449758_2621012714660517106_n.jpg?stp=dst-jpg_s320x320_tt6&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=RhIwCIipKVUQ7kNvwFpvyAL&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfONiKUtNB0AmfUKY78zqJc2wM8GVdfgKdx2t0-0HqIx_A&oe=685A08E9&_nc_sid=8b3546",
"username": "adrianhorning",
"edge_felix_video_timeline": {
"count": 0,
"page_info": {
"has_next_page": false,
"end_cursor": null
},
"edges": []
},
"edge_owner_to_timeline_media": {
"count": 90,
"page_info": {
"has_next_page": true,
"end_cursor": "QVFCY2E4Q1ZqQVBHdnBsUGMtVWlZZ2I3Qm9uOFdSSlZLS0NvdWVuQ05TQzR5T1hkSDM4cXVjTThsM1lQcXhsaWVyM2hQX0VoUzVYaHN3MmdRdmJGU0hENw=="
},
"edges": [
{
"node": {
"__typename": "GraphVideo",
"id": "3622533050035914969",
"shortcode": "DJF0p2ygMjZ",
"dimensions": {
"height": 1136,
"width": 640
},
"display_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-15/491901123_9680674652022458_2870310738491256504_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=3VMXYLESR9UQ7kNvwHFuMDk&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfN3JWSxHXGRcVbzi4bEP0e42CF-gmZRTwPGLuprdlJGuQ&oe=685A1889&_nc_sid=8b3546",
"edge_media_to_tagged_user": {
"edges": []
},
"fact_check_overall_rating": null,
"fact_check_information": null,
"gating_info": null,
"sharing_friction_info": {
"should_have_sharing_friction": false,
"bloks_app_url": null
},
"media_overlay_info": null,
"media_preview": "ABgqg3Uu4VPbGMZz94np6emPlbr3q+EBGQB+Y/H/AJZ1I7GK8bSHlsL6Dr+JorQuDGw+U/MDjp29+B/kmigCOaBUAJGM+/rUcOxuMnK56nj8PX8K0LrEsZUDOR+XfP4VjwI8hCngZ5/wHpmk0VFlqWMrGzr1AyKK0pY8oyj0IopkkoI/SoBGkblh1HI/z61Gh+X8KWTqfwqhCtJgg/gfzoqo3Q/570UAf//Z",
"owner": {
"id": "2700692569",
"username": "adrianhorning"
},
"is_video": true,
"has_upcoming_event": false,
"accessibility_caption": null,
"dash_info": {
"is_dash_eligible": true,
"video_dash_manifest": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd\" profiles=\"urn:mpeg:dash:profile:isoff-on-demand:2011\" minBufferTime=\"PT2S\" type=\"static\" mediaPresentationDuration=\"PT38.079273S\" FBManifestIdentifier=\"FgAYEnIyZXZldnA5LXIxZ2VuMnZwORlWuoXrvOS49QGol5CSkNy6ApKsiu6TkaMErp2h1d3e2g6y2szawPXGISIYGGRhc2hfbG5faGVhYWNfdmJyM19hdWRpbyIA\"><Period id=\"0\" duration=\"PT38.079273S\"><AdaptationSet id=\"0\" contentType=\"video\" subsegmentAlignment=\"true\" par=\"9:16\" FBUnifiedUploadResolutionMos=\"360:72.4\"><Representation id=\"9444624588969625vd\" bandwidth=\"93337\" codec",
"number_of_qualities": 4
},
"has_audio": true,
"tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiNDQzYjgyZjVhNmExNDY5Mjk3NzUwYTFiNDgxNDFhYjAzNjIyNTMzMDUwMDM1OTE0OTY5In0sInNpZ25hdHVyZSI6IiJ9",
"video_url": "https://scontent-lga3-3.cdninstagram.com/o1/v/t16/f2/m86/AQOtWzDoaQkqcah0vnQQ9OiZsZO_7DqXWlZS98KgVeme4ytLMOPYmhG9xprV3izReal1QXGlLQJHeYZPpucgpGowYKulh3AmomTiECc.mp4?stp=dst-mp4&efg=eyJxZV9ncm91cHMiOiJbXCJpZ193ZWJfZGVsaXZlcnlfdnRzX290ZlwiXSIsInZlbmNvZGVfdGFnIjoidnRzX3ZvZF91cmxnZW4uY2xpcHMuYzIuNzIwLmJhc2VsaW5lIn0&_nc_cat=110&vs=1123914736090327_2004971061&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC8xNzRGRTM0NzIzQUVFNDBENTVGQUVEOTdCM0MzQUU4NV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HRERLYVIydGxzaGYwMWtIQUdyaE5SaWZ3ZFFIYnFfRUFBQUYVAgLIARIAKAAYABsAFQAAJtLPi%2FW6684%2FFQIoAkMzLBdAQwztkWhysBgSZGFzaF9iYXNlbGluZV8xX3YxEQB1%2Fgdl5p0BAA%3D%3D&_nc_rid=443b81e6a9",
"video_view_count": 1870,
"edge_media_to_caption": {
"edges": []
},
"edge_media_to_comment": {
"count": 14
},
"comments_disabled": false,
"taken_at_timestamp": 1746059630,
"edge_liked_by": {
"count": 131
},
"edge_media_preview_like": {
"count": 131
},
"location": null,
"nft_asset_info": null,
"thumbnail_src": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-15/491901123_9680674652022458_2870310738491256504_n.jpg?stp=c0.248.640.640a_dst-jpg_e15_tt6&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=3VMXYLESR9UQ7kNvwHFuMDk&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfPtuS1pX4lCrFcqaqf28LYqOKhm388RGITip3ezIQa3xg&oe=685A1889&_nc_sid=8b3546",
"thumbnail_tall_src": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-15/491901123_9680674652022458_2870310738491256504_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=3VMXYLESR9UQ7kNvwHFuMDk&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfN3JWSxHXGRcVbzi4bEP0e42CF-gmZRTwPGLuprdlJGuQ&oe=685A1889&_nc_sid=8b3546",
"thumbnail_resources": [
{
"src": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-15/491901123_9680674652022458_2870310738491256504_n.jpg?stp=c0.248.640.640a_dst-jpg_e15_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi42NDB4MTEzNi5zZHIuZjcxODc4Lm5mcmFtZV9jb3Zlcl9mcmFtZSJ9&_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=3VMXYLESR9UQ7kNvwHFuMDk&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfMTtR_qbPhnbuudBcbRh_hbPXzrNUyY2-bhqZ85cQrazA&oe=685A1889&_nc_sid=8b3546",
"config_width": 150,
"config_height": 150
}
],
"felix_profile_grid_crop": null,
"tall_profile_grid_crop": null,
"profile_grid_thumbnail_fitting_style": "UNSET",
"coauthor_producers": [],
"pinned_for_users": [],
"viewer_can_reshare": true,
"like_and_view_counts_disabled": false,
"product_type": "clips",
"clips_music_attribution_info": {
"artist_name": "adrianhorning",
"song_name": "Original audio",
"uses_original_audio": true,
"should_mute_audio": false,
"should_mute_audio_reason": "",
"audio_id": "1052522106930425"
}
}
}
]
},
"edge_media_collections": {
"count": 0,
"page_info": {
"has_next_page": false,
"end_cursor": null
},
"edges": []
},
"edge_related_profiles": {
"edges": [
{
"node": {
"id": "66873381803",
"full_name": "ally krinsky",
"is_private": false,
"is_verified": false,
"profile_pic_url": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-19/465249338_1115706923297633_2956285260068952346_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2QHGD17MFSxvG6A4al-hcbMWJBsese4bMwMX39i8kBtCx0S4j1OYDyxMqJNJrP1lEEI&_nc_ohc=Tsg6TtnhEjYQ7kNvwGMqyjy&_nc_gid=SOClLZ7awnLvrffwVXt_dA&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfMROscsMYIyI5Fk8bU4J0EDI0TAVDiLmama26HDm3Sb5g&oe=685A28B1&_nc_sid=8b3546",
"username": "itsallykrinsky"
}
}
]
}
}
}
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"data": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"biography": {
"type": "string"
},
"bio_links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"lynx_url": {
"type": "string"
},
"url": {
"type": "string"
},
"link_type": {
"type": "string"
}
}
}
},
"biography_with_entities": {
"type": "object",
"properties": {
"raw_text": {
"type": "string"
},
"entities": {
"type": "array"
}
}
},
"external_url": {
"type": "string"
},
"edge_followed_by": {
"type": "object",
"properties": {
"count": {
"type": "integer"
}
}
},
"fbid": {
"type": "string"
},
"edge_follow": {
"type": "object",
"properties": {
"count": {
"type": "integer"
}
}
},
"full_name": {
"type": "string"
},
"id": {
"type": "string"
},
"is_business_account": {
"type": "boolean"
},
"is_professional_account": {
"type": "boolean"
},
"business_address_json": {
"type": "object",
"properties": {
"city_name": {
"type": "string"
},
"city_id": {
"type": "integer"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"street_address": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"zip_code": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
}
}
},
"category_name": {
"type": "string"
},
"is_private": {
"type": "boolean"
},
"is_verified": {
"type": "boolean"
},
"profile_pic_url": {
"type": "string"
},
"profile_pic_url_hd": {
"type": "string"
},
"username": {
"type": "string"
},
"edge_felix_video_timeline": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"page_info": {
"type": "object",
"properties": {
"has_next_page": {
"type": "boolean"
},
"end_cursor": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
}
}
},
"edges": {
"type": "array"
}
}
},
"edge_owner_to_timeline_media": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"page_info": {
"type": "object",
"properties": {
"has_next_page": {
"type": "boolean"
},
"end_cursor": {
"type": "string"
}
}
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"id": {
"type": "string"
},
"shortcode": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"height": {
"type": "integer"
},
"width": {
"type": "integer"
}
}
},
"display_url": {
"type": "string"
},
"edge_media_to_tagged_user": {
"type": "object",
"properties": {
"edges": {
"type": "array"
}
}
},
"fact_check_overall_rating": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"fact_check_information": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"gating_info": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"sharing_friction_info": {
"type": "object",
"properties": {
"should_have_sharing_friction": {
"type": "boolean"
},
"bloks_app_url": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
}
}
},
"media_overlay_info": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"media_preview": {
"type": "string"
},
"owner": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"is_video": {
"type": "boolean"
},
"has_upcoming_event": {
"type": "boolean"
},
"accessibility_caption": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"dash_info": {
"type": "object",
"properties": {
"is_dash_eligible": {
"type": "boolean"
},
"video_dash_manifest": {
"type": "string"
},
"number_of_qualities": {
"type": "integer"
}
}
},
"has_audio": {
"type": "boolean"
},
"tracking_token": {
"type": "string"
},
"video_url": {
"type": "string"
},
"video_view_count": {
"type": "integer"
},
"edge_media_to_caption": {
"type": "object",
"properties": {
"edges": {
"type": "array"
}
}
},
"edge_media_to_comment": {
"type": "object",
"properties": {
"count": {
"type": "integer"
}
}
},
"comments_disabled": {
"type": "boolean"
},
"taken_at_timestamp": {
"type": "integer"
},
"edge_liked_by": {
"type": "object",
"properties": {
"count": {
"type": "integer"
}
}
},
"edge_media_preview_like": {
"type": "object",
"properties": {
"count": {
"type": "integer"
}
}
},
"location": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"nft_asset_info": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"thumbnail_src": {
"type": "string"
},
"thumbnail_tall_src": {
"type": "string"
},
"thumbnail_resources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"src": {
"type": "string"
},
"config_width": {
"type": "integer"
},
"config_height": {
"type": "integer"
}
}
}
},
"felix_profile_grid_crop": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"tall_profile_grid_crop": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"profile_grid_thumbnail_fitting_style": {
"type": "string"
},
"coauthor_producers": {
"type": "array"
},
"pinned_for_users": {
"type": "array"
},
"viewer_can_reshare": {
"type": "boolean"
},
"like_and_view_counts_disabled": {
"type": "boolean"
},
"product_type": {
"type": "string"
},
"clips_music_attribution_info": {
"type": "object",
"properties": {
"artist_name": {
"type": "string"
},
"song_name": {
"type": "string"
},
"uses_original_audio": {
"type": "boolean"
},
"should_mute_audio": {
"type": "boolean"
},
"should_mute_audio_reason": {
"type": "string"
},
"audio_id": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"edge_media_collections": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"page_info": {
"type": "object",
"properties": {
"has_next_page": {
"type": "boolean"
},
"end_cursor": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
}
}
},
"edges": {
"type": "array"
}
}
},
"edge_related_profiles": {
"type": "object",
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"full_name": {
"type": "string"
},
"is_private": {
"type": "boolean"
},
"is_verified": {
"type": "boolean"
},
"profile_pic_url": {
"type": "string"
},
"username": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}