Instagram profile reels API
A paged feed of the profile's public reels, 12 a page, with play, like and comment counts, caption, exact time, duration and video URL.
GET /v1/instagram/profile/reels
GET /v1/instagram/profile/reels
A paged feed of the profile's public reels, 12 a page, with play, like and comment counts, caption, exact time, duration and video URL. stats.views is Instagram's play count (extra.views_source = plays). Look a profile up by handle.
- Cost: 1 credit
- Cache: Results are kept up to 30 days; send
max_age_daysto reuse them for free. - Timeout: A request still running after about 25 seconds answers
202with a job to poll (Batch and jobs).
Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | one of | Username, with or without the leading @. Also accepted as username. |
id | string | one of | Numeric Instagram user id. Also accepted as user_id, userId. |
require_play_counts | boolean | no | Fail rather than return a reel whose play count is missing. Default false. |
Send at least one of handle, id. If you send several, the first listed is used and the rest are ignored.
Every request also accepts:
cursor: the cursor from the previous page (Pagination).trim:truefor a smaller response withoutnullfields andextra.raw:trueto also get the platform's original object asraw.max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).
Example request#
Set your key in the environment first (see Authentication).
1curl -G "https://api.socialscrape.dev/v1/instagram/profile/reels" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode "handle=nasa"1import os2import requests34params = {5 "handle": "nasa",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/instagram/profile/reels",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11)12body = res.json()1314if body["ok"]:15 print(body["data"])16else:17 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/instagram/profile/reels");2url.search = new URLSearchParams({3 "handle": "nasa"4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape Instagram profile reels",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/instagram/profile/reels",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "handle",19 "value": "nasa"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}Example response#
This is a sample from a recorded response, lists and long text are shortened. Status 200.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_6441bd0ae5a0a9feb3fc6f8e",8 "data": {9 "object": "list",10 "items": [11 {12 "object": "post",13 "platform": "instagram",14 "id": "DfF3eqGSKKc",15 "url": "https://www.instagram.com/reel/DfF3eqGSKKc/",16 "type": "reel",17 "author": {18 "id": "673882723",19 "handle": null,20 "name": null,21 "url": null,22 "avatar_url": null,23 "verified": null24 },25 "title": null,26 "text": "More power loading. π\n\nToday, NASA astronaut Anil Menon and CSA (Canadian Space Agency) astronaut Joshua Kutryk conducted a spacewalk to install the 7th of 8 new roll out solar arrays. The final new array is slated to be installed during th...",27 "published_at": "2026-10-29T20:35:35Z",28 "duration_seconds": 41.0,29 "language": null,30 "hashtags": [],31 "mentions": [],32 "stats": {33 "views": 1022540,34 "likes": 6274,35 "comments": 64,36 "shares": null,37 "saves": null,38 "dislikes": null39 },40 "media": {41 "thumbnail_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/865204930_18640535563026724_3353517023594775034_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=1&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc...",42 "video_url": "https://scontent-ord5-2.cdninstagram.com/o1/v/t2/f2/m86/AQMgO65IBSO4D1Fg1v8qWRLjCR7N-LaX4H_sPQeyoyjFQE149o094RWHdy1qn9GBy1VHAND2Io7UoTGpUBgIXE-YSbD4UnaCrO694xk.mp4?_nc_cat=102&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=4...",43 "audio_url": null,44 "image_urls": null,45 "width": 1080,46 "height": 192047 },48 "song": {49 "id": "29430201353240150",50 "title": "Original audio",51 "artist": "nasajohnson",52 "url": "https://www.instagram.com/reels/audio/29430201353240150/"53 },54 "location": null,55 "is_pinned": null,56 "is_sponsored": null,57 "extra": {58 "accessibility_caption": "Video by NASAβs Johnson Space Center on October 29, 2026. May be an image of poster, magazine and text.",59 "coauthors": [60 "iss",61 "nasa"62 ],63 "media_id": "4018862241843028636",64 "product_type": "clips",65 "published_from": "taken_at",66 "tagged_users": [67 "nasa",68 "iss",69 "astro_anil"70 ],71 "topics": [72 "spacewalk",73 "iss",74 "astronaut"75 ],76 "views_source": "plays"77 }78 },79 {80 "object": "post",81 "platform": "instagram",82 "id": "De7XCa_TJ4h",83 "url": "https://www.instagram.com/reel/De7XCa_TJ4h/",84 "type": "reel",85 "author": {86 "id": "79712351002",87 "handle": null,88 "name": null,89 "url": null,90 "avatar_url": null,91 "verified": null92 },93 "title": null,94 "text": "This is how @nasa does game day. Roll Tide! ππ",95 "published_at": "2026-10-25T18:35:11Z",96 "duration_seconds": 61.0,97 "language": null,98 "hashtags": [],99 "mentions": [100 "nasa"101 ],102 "stats": {103 "views": 4293502,104 "likes": 50154,105 "comments": 232,106 "shares": null,107 "saves": null,108 "dislikes": null109 },110 "media": {111 "thumbnail_url": "https://scontent-ord5-1.cdninstagram.com/v/t51.82787-15/858088880_1909652077075572_3321833479248057878_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=101&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_n...",112 "video_url": "https://scontent-ord5-2.cdninstagram.com/o1/v/t2/f2/m86/AQO_XE-Eozfv9EhJgpBw8CpgqEydxrCcLTTmdJ4OmJL4u8TmjEREW4NyjX7EoxhsUiVfVbZseRJAIb1F9nUfjAsGTOK4bYFiS-v5fw4.mp4?_nc_cat=105&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=4...",113 "audio_url": null,114 "image_urls": null,115 "width": 1916,116 "height": 1078117 },118 "song": {119 "id": "28950738997869062",120 "title": "Original audio",121 "artist": "nasaadmin",122 "url": "https://www.instagram.com/reels/audio/28950738997869062/"123 },124 "location": {125 "name": "Bryant-Denny Stadium",126 "address": null,127 "city": null,128 "region": null,129 "country": null,130 "latitude": 33.207475199557,131 "longitude": -87.550968119022132 },133 "is_pinned": null,134 "is_sponsored": null,135 "extra": {136 "accessibility_caption": "Video by NASA Administrator Jared Isaacman on October 25, 2026. May be an image of stadium and text.",137 "coauthors": [138 "univofalabama",139 "nasa",140 "alabamafbl"141 ],142 "media_id": "4015904814218911265",143 "product_type": "clips",144 "published_from": "taken_at",145 "tagged_users": [146 "ua_athletics",147 "alabamafbl",148 "nasa"149 ],150 "topics": [151 "alabama football",152 "artemis program",153 "reid wiseman"154 ],155 "views_source": "plays"156 }157 }158 ],159 "cursor": "c17841401474538262:AQHTHMmlaPdA-6bF07PfanKgYJNHJ-6Hq5zlmr-g3eo2kS9HJGFp94XRCnWa7ntQhXlpAImfwhLJOUMejXbYfaQenw",160 "has_more": true,161 "parent": {162 "object": "profile",163 "platform": "instagram",164 "id": null,165 "handle": "nasa",166 "name": null,167 "headline": null,168 "url": "https://www.instagram.com/nasa/",169 "kind": "unknown",170 "bio": null,171 "avatar_url": null,172 "banner_url": null,173 "verified": null,174 "is_private": null,175 "external_url": null,176 "links": null,177 "location": null,178 "category": null,179 "created_at": null,180 "stats": {181 "followers": null,182 "following": null,183 "posts": null,184 "likes": null,185 "views": null186 },187 "extra": null188 }189 },190 "cursor": "c17841401474538262:AQHTHMmlaPdA-6bF07PfanKgYJNHJ-6Hq5zlmr-g3eo2kS9HJGFp94XRCnWa7ntQhXlpAImfwhLJOUMejXbYfaQenw",191 "has_more": true192}Response#
A list of Post objects in data.items, with data.cursor and data.has_more.
See Data models for every field. The envelope around data is described in Responses.
Errors#
Failures are free: credits_charged is 0. Branch on error.code, never on the message.
| Code | HTTP | Retry | Meaning |
|---|---|---|---|
invalid_params | 400 | no | A parameter is missing, unknown or has the wrong type. |
not_found | 404 | no | The platform says this profile, post or item does not exist. |
Every request can also fail with the account and platform errors listed on the Errors page.
Example error:
1{2 "ok": false,3 "error": {4 "code": "not_found",5 "message": "The platform says this profile, post or item does not exist.",6 "retryable": false7 },8 "credits_charged": 0,9 "request_id": "req_99824cdc3b43d567e8c737e2"10}Also served at#
These paths answer the same request, so code written for other APIs keeps working: /v1/instagram/user/reels. See Switching from ScrapeCreators.
Related endpoints#
- Instagram profile (
GET /v1/instagram/profile) - Instagram profile by user id (
GET /v1/instagram/basic-profile) - Instagram profile post count (
GET /v1/instagram/profile/post-count) - Instagram profile posts (
GET /v1/instagram/profile/posts) - Instagram post or reel details (
GET /v1/instagram/post) - Instagram reel transcript (
GET /v1/instagram/post/transcript) - Instagram post comments (
GET /v1/instagram/post/comments) - Instagram popular topic (
GET /v1/instagram/search/popular)