Skip to content

Instagram Reels Search API

GET https://api.fetchproof.com/v2/instagram/reels/search

Instagram's signed-out Popular page for a topic (instagram.com/popular/<topic>/), as a drop-in for clients that call this path with only query, including the last30days skill. The query becomes the page path ("best pizza in chicago" → /popular/best-pizza-in-chicago/, a glued tag "claudecode" → /popular/claudecode/). At most about 12 items, no paging (cursor is null and has_more is false), and not every topic has a page. This is that one page, not a full Instagram search. video_play_count is the play count already on the page. like_count, comment_count and video_duration are not on the page and are null. A video's url is /reel/<shortcode>/; a photo on a mixed page is kept and its url is /p/<shortcode>/. No Popular page, or a page with no items, is HTTP 404 at 0 credits: success false, error not_found, message "No reels found for that query".

Default cost: 1 credit per call 0 credits on error
Code & Payload

Quick start

Open interactive playground in Docs ↗

cURL

curl --request GET 'https://api.fetchproof.com/v2/instagram/reels/search?query=best+pizza+in+chicago' \
  --header 'x-api-key: YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.fetchproof.com/v2/instagram/reels/search?query=best+pizza+in+chicago", {
  method: 'GET',
  headers: {
    'x-api-key': process.env.FETCHPROOF_API_KEY,
  },
});
const data = await response.json();
console.log(data);

Python

import os
import requests

response = requests.get(
    "https://api.fetchproof.com/v2/instagram/reels/search?query=best+pizza+in+chicago",
    headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json())

Go

package main

import (
  "fmt"
  "io"
  "net/http"
  "os"
)

func main() {
  req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v2/instagram/reels/search?query=best+pizza+in+chicago", nil)
  req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := io.ReadAll(res.Body)
  fmt.Println(string(body))
}

PHP

<?php
$ch = curl_init("https://api.fetchproof.com/v2/instagram/reels/search?query=best+pizza+in+chicago");
curl_setopt_array($ch, [
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
  ],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "query": "best pizza in chicago",
  "reels": [
    {
      "id": "3645729063969738991",
      "shortcode": "DKYO0SNO9Dv",
      "url": "https://www.instagram.com/reel/DKYO0SNO9Dv/",
      "caption": "THIS WAS VOTED THE TOP PIZZA IN CHICAGO (ad)\n\nAnd I grew up on this pizza so for me it was really special to make this \n\nI had no idea about just how much detail goes into everything from the cheese to the crust to the sauce \n\nThis is my...",
      "taken_at": "2025-06-02T00:39:53.000Z",
      "taken_at_timestamp": 1748824793,
      "video_play_count": 182651,
      "like_count": null,
      "comment_count": null,
      "video_duration": null,
      "owner": {
        "id": "49393308377",
        "username": "chicagofoodhq"
      }
    }
  ],
  "cursor": null,
  "has_more": false
}
Response JSON · /v2/instagram/reels/search

What it returns

success boolean
credits_remaining integer
credits_charged integer
query string
reels array
cursor stringnull
has_more boolean

Parameters

query string query required

Topic, as words or as a glued tag. Only this parameter is used.

Use cases

Billing

Errors cost zero credits. Empty results follow this operation’s rules.

Default: 1 credit when no rule matches.

  1. 0 credits when response field reels is empty or absent.

An empty result costs 0 credits.

How charges are determined

Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.

Errors, blocked or timed-out requests, invalid requests and cache hits cost nothing. A not-found or empty result is charged only where that operation's published cost says so.

`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.

A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).

A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.

FAQ

How much does the Instagram Reels Search API cost?

A call costs 1 credit by default. A response whose reels comes back empty costs 0 credits. Errors cost 0 credits. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.

What do I need to call it?

An API key in the x-api-key header, plus query. You don't need a Instagram account or developer app.

What does it return?

Typed JSON. Top-level fields include query, reels, cursor and has_more. The full schema and a real sample response are on this page and in the API reference.

Is this an official Instagram API?

No. Fetchproof is an unofficial API that returns public Instagram data only.