Docs menu

Instagram profile reels

Beta 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
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
handlestringone ofUsername, with or without the leading @. Also accepted as username.
idstringone ofNumeric Instagram user id. Also accepted as user_id, userId.
require_play_countsbooleannoFail 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: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • 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).

curl
curl -G "https://api.socialscrape.io/v1/instagram/profile/reels" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "handle=nasa"
Python
import os
import requests

params = {
    "handle": "nasa",
}
res = requests.get(
    "https://api.socialscrape.io/v1/instagram/profile/reels",
    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
    params=params,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const url = new URL("https://api.socialscrape.io/v1/instagram/profile/reels");
url.search = new URLSearchParams({
  "handle": "nasa"
}).toString();
const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();

if (body.ok) {
  console.log(body.data);
} else {
  console.error(body.error.code, body.error.message);
}
n8n
{
  "nodes": [
    {
      "name": "SocialScrape Instagram profile reels",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/instagram/profile/reels",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "handle",
              "value": "nasa"
            }
          ]
        },
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "x-api-key",
              "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
            }
          ]
        }
      }
    }
  ],
  "connections": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_6441bd0ae5a0a9feb3fc6f8e",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "post",
        "platform": "instagram",
        "id": "DfF3eqGSKKc",
        "url": "https://www.instagram.com/reel/DfF3eqGSKKc/",
        "type": "reel",
        "author": {
          "id": "673882723",
          "handle": null,
          "name": null,
          "url": null,
          "avatar_url": null,
          "verified": null
        },
        "title": null,
        "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...",
        "published_at": "2026-10-29T20:35:35Z",
        "duration_seconds": 41.0,
        "language": null,
        "hashtags": [],
        "mentions": [],
        "stats": {
          "views": 1022540,
          "likes": 6274,
          "comments": 64,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "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...",
          "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...",
          "audio_url": null,
          "image_urls": null,
          "width": 1080,
          "height": 1920
        },
        "song": {
          "id": "29430201353240150",
          "title": "Original audio",
          "artist": "nasajohnson",
          "url": "https://www.instagram.com/reels/audio/29430201353240150/"
        },
        "location": null,
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "accessibility_caption": "Video by NASA’s Johnson Space Center on October 29, 2026. May be an image of poster, magazine and text.",
          "coauthors": [
            "iss",
            "nasa"
          ],
          "media_id": "4018862241843028636",
          "product_type": "clips",
          "published_from": "taken_at",
          "tagged_users": [
            "nasa",
            "iss",
            "astro_anil"
          ],
          "topics": [
            "spacewalk",
            "iss",
            "astronaut"
          ],
          "views_source": "plays"
        }
      },
      {
        "object": "post",
        "platform": "instagram",
        "id": "De7XCa_TJ4h",
        "url": "https://www.instagram.com/reel/De7XCa_TJ4h/",
        "type": "reel",
        "author": {
          "id": "79712351002",
          "handle": null,
          "name": null,
          "url": null,
          "avatar_url": null,
          "verified": null
        },
        "title": null,
        "text": "This is how @nasa does game day. Roll Tide! πŸš€πŸˆ",
        "published_at": "2026-10-25T18:35:11Z",
        "duration_seconds": 61.0,
        "language": null,
        "hashtags": [],
        "mentions": [
          "nasa"
        ],
        "stats": {
          "views": 4293502,
          "likes": 50154,
          "comments": 232,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "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...",
          "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...",
          "audio_url": null,
          "image_urls": null,
          "width": 1916,
          "height": 1078
        },
        "song": {
          "id": "28950738997869062",
          "title": "Original audio",
          "artist": "nasaadmin",
          "url": "https://www.instagram.com/reels/audio/28950738997869062/"
        },
        "location": {
          "name": "Bryant-Denny Stadium",
          "address": null,
          "city": null,
          "region": null,
          "country": null,
          "latitude": 33.207475199557,
          "longitude": -87.550968119022
        },
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "accessibility_caption": "Video by NASA Administrator Jared Isaacman on October 25, 2026. May be an image of stadium and text.",
          "coauthors": [
            "univofalabama",
            "nasa",
            "alabamafbl"
          ],
          "media_id": "4015904814218911265",
          "product_type": "clips",
          "published_from": "taken_at",
          "tagged_users": [
            "ua_athletics",
            "alabamafbl",
            "nasa"
          ],
          "topics": [
            "alabama football",
            "artemis program",
            "reid wiseman"
          ],
          "views_source": "plays"
        }
      }
    ],
    "cursor": "c17841401474538262:AQHTHMmlaPdA-6bF07PfanKgYJNHJ-6Hq5zlmr-g3eo2kS9HJGFp94XRCnWa7ntQhXlpAImfwhLJOUMejXbYfaQenw",
    "has_more": true,
    "parent": {
      "object": "profile",
      "platform": "instagram",
      "id": null,
      "handle": "nasa",
      "name": null,
      "headline": null,
      "url": "https://www.instagram.com/nasa/",
      "kind": "unknown",
      "bio": null,
      "avatar_url": null,
      "banner_url": null,
      "verified": null,
      "is_private": null,
      "external_url": null,
      "links": null,
      "location": null,
      "category": null,
      "created_at": null,
      "stats": {
        "followers": null,
        "following": null,
        "posts": null,
        "likes": null,
        "views": null
      },
      "extra": null
    }
  },
  "cursor": "c17841401474538262:AQHTHMmlaPdA-6bF07PfanKgYJNHJ-6Hq5zlmr-g3eo2kS9HJGFp94XRCnWa7ntQhXlpAImfwhLJOUMejXbYfaQenw",
  "has_more": true
}

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.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
not_found404noThe 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:

{
  "ok": false,
  "error": {
    "code": "not_found",
    "message": "The platform says this profile, post or item does not exist.",
    "retryable": false
  },
  "credits_charged": 0,
  "request_id": "req_99824cdc3b43d567e8c737e2"
}

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.