Docs menu

Instagram trending reels

Beta GET /v1/instagram/reels/trending

GET /v1/instagram/reels/trending

Reels from Instagram's anonymous logged-out Reels feed, 8 a page, with like and comment counts (the feed carries no play counts), caption, author and video URL. The feed is whatever Instagram serves an anonymous visitor from the engine's region, so it changes from call to call.

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 1 day; 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#

This endpoint takes no parameters of its own.

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 "https://api.socialscrape.io/v1/instagram/reels/trending" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY"
Python
import os
import requests

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

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
const res = await fetch("https://api.socialscrape.io/v1/instagram/reels/trending", {
  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 trending reels",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.socialscrape.io/v1/instagram/reels/trending",
        "sendQuery": false,
        "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_04255ab8c75084e51cc726ba",
  "data": {
    "object": "list",
    "items": [
      {
        "object": "post",
        "platform": "instagram",
        "id": "DfBK2blPXvQ",
        "url": "https://www.instagram.com/reel/DfBK2blPXvQ/",
        "type": "reel",
        "author": {
          "id": "482800315",
          "handle": "jordan_the_stallion8",
          "name": null,
          "url": "https://www.instagram.com/jordan_the_stallion8/",
          "avatar_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/285991107_1949738301878400_2184506833080232846_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=qD8...",
          "verified": null
        },
        "title": null,
        "text": "Welp #cool",
        "published_at": "2026-10-28T00:42:54Z",
        "duration_seconds": 59.0,
        "language": null,
        "hashtags": [
          "cool"
        ],
        "mentions": [],
        "stats": {
          "views": null,
          "likes": 1199765,
          "comments": 7689,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.71878-15/867222764_1460016686076295_326860792276666744_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=1&ig_cache_key=NDAxNzU0MDA2MzUyMzg2MzUwNDEwODgxODUyNjcxNzc1ODg%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=ey...",
          "video_url": "https://scontent-ord5-2.cdninstagram.com/o1/v/t2/f2/m86/AQPMuEGNTXQxfaBU_CISdxgZqxmr6QSbWpUN2QFsS0bhIVHwu8XDMBpqVmgcC1weu5Pc8EUiC9V7_LGjX7uaPcmRfRw1RtkSOM7TeZw.mp4?_nc_cat=104&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=V...",
          "audio_url": null,
          "image_urls": null,
          "width": 720,
          "height": 1280
        },
        "song": null,
        "location": null,
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "media_id": "4017540063523863504",
          "product_type": "clips",
          "published_from": "taken_at"
        }
      },
      {
        "object": "post",
        "platform": "instagram",
        "id": "DfBr-yyhUZS",
        "url": "https://www.instagram.com/reel/DfBr-yyhUZS/",
        "type": "reel",
        "author": {
          "id": "33485837",
          "handle": "samcotton",
          "name": null,
          "url": "https://www.instagram.com/samcotton/",
          "avatar_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/484002943_1021890979871879_2466961439446529627_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=PWx...",
          "verified": null
        },
        "title": null,
        "text": "Sus on this quote. \n\n1 week until my book Chippy Chasers: The Champion-Chips is released. A 300 page, hand drawn, wholesome comedy graphic novel about Aussie birds competing to see who’s the best at stealing chippies. Thanks for all the sup...",
        "published_at": "2026-10-28T05:32:25Z",
        "duration_seconds": 21.0,
        "language": null,
        "hashtags": [],
        "mentions": [],
        "stats": {
          "views": null,
          "likes": 386153,
          "comments": 902,
          "shares": null,
          "saves": null,
          "dislikes": null
        },
        "media": {
          "thumbnail_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/870499926_18646293229013838_4230535615439245027_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=1&ig_cache_key=NDAxNzY4NTc3MzczMzQxNDQ4MjE4NjQ2MjkzMjI2MDEzODM4.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=ey...",
          "video_url": "https://scontent-ord5-2.cdninstagram.com/o1/v/t16/f2/m84/AQOacY_T9eLL_fDsVI4rmuRVW41gynyzhtVBVICYaULKSGVMPAXSuNvV_YTUAOFLd8MsFVe6nuzt07U1rBPmiTc64wk5pCVXHJA3foQ.mp4?_nc_cat=110&_nc_sid=5e9851&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_ohc=...",
          "audio_url": null,
          "image_urls": null,
          "width": 1080,
          "height": 1920
        },
        "song": null,
        "location": null,
        "is_pinned": null,
        "is_sponsored": null,
        "extra": {
          "media_id": "4017685773733414482",
          "product_type": "clips",
          "published_from": "taken_at"
        }
      }
    ],
    "cursor": "cGoag7-vT3NmVwW-kmaqolvvXwW_0worCwZCpwG_Ss_qb6I-swG_as7mqpoOww2_-wNKC_NmQnW_ezISA3efEvm_w6brQwqynwG8mhPKSqbFoFBBZCBgAGgg6BhkMAA==",
    "has_more": true,
    "parent": null
  },
  "cursor": "cGoag7-vT3NmVwW-kmaqolvvXwW_0worCwZCpwG_Ss_qb6I-swG_as7mqpoOww2_-wNKC_NmQnW_ezISA3efEvm_w6brQwqynwG8mhPKSqbFoFBBZCBgAGgg6BhkMAA==",
  "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
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.