Skip to Content

Profile Reels

An account's reels with their plays, 12 a page.

GET
/v1/instagram/profile/reels

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The username, with or without @.

url?string

The profile's link, instead of handle.

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.instagram.profileReels({ handle: "natgeo" });
Example Response
{  "data": [    {      "id": "4037787067701342133",      "url": "https://www.instagram.com/reel/DgJGfHpAS-1/",      "text": null,      "createdAt": null,      "author": {        "id": "787132",        "username": "natgeo",        "displayName": null,        "avatarUrl": null,        "verified": false,        "url": "https://www.instagram.com/natgeo/"      },      "stats": {        "views": 795351,        "likes": 39042,        "comments": 140,        "shares": null,        "saves": null,        "engagementRate": 0.0493      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": "https://scontent-muc2-1.cdninstagram.com/v/t51.82787-15/921525947_18722563309019133_591112174822918768_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=8erJMuyaCRsQ7kNvwEZw2mQ&_nc_oc=AdreMdgEDrv8otarFZaxrMIEmjCckXeTDhNo_0p9Li3T9EjCXEEFjkNQ1oojnqxa9mE&_nc_zt=23&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=NHyoBlgmA6GHzlXT7QFO1w&_nc_ss=79b8c&_nc_ct=RQosPBUKFQQAAAA&oh=00_AQRPROySx5Il9o7yuT-0jIGHN-DSk5IzIa68GXkEJ6Yq2Q&oe=6B0CAD83",          "width": null,          "height": null,          "durationSeconds": null        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "code": "DgJGfHpAS-1",        "kind": "reel",        "location": null,        "sound": null,        "tagged": [],        "paidPartnership": false,        "countsHidden": false,        "altText": null      }    },    {      "id": "4037061490883314525",      "url": "https://www.instagram.com/reel/DgGhglkgkNd/",      "text": null,      "createdAt": null,      "author": {        "id": "787132",        "username": "natgeo",        "displayName": null,        "avatarUrl": null,        "verified": false,        "url": "https://www.instagram.com/natgeo/"      },      "stats": {        "views": 1298680,        "likes": 18354,        "comments": 68,        "shares": null,        "saves": null,        "engagementRate": 0.0142      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": "https://scontent-muc2-1.cdninstagram.com/v/t51.82787-15/930624953_18722449651019133_85184317330909988_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=jRYk4Xlx2NQQ7kNvwF2oGVq&_nc_oc=AdpYTYYWtl87sj1m2JMR7nF25zND_tD2nd5_YwsdvqBK_LMBpNSiVkFd7WWDY4dkSs4&_nc_zt=23&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=NHyoBlgmA6GHzlXT7QFO1w&_nc_ss=79b8c&_nc_ct=RQosPBUKFQwAAAA&oh=00_AQQx348na3teZJrRcqjLtxhmMLvCMTP5QKGzfK12s2fe2g&oe=6B0CAD7E",          "width": null,          "height": null,          "durationSeconds": null        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "code": "DgGhglkgkNd",        "kind": "reel",        "location": null,        "sound": null,        "tagged": [],        "paidPartnership": false,        "countsHidden": false,        "altText": null      }    }  ],  "pagination": {    "nextCursor": "AQHT2jv6NIUKqXX-rzrlTt7eHraqasm1vmkjaHjOai3drogOgL-cdq5R19w9JZfyokw9ZwCGkeCspfcU5wHnJjt5qQ",    "hasMore": true  }}