Instagram — reels search
curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/instagram/reels-search \
--header 'Content-Type: application/json' \
--data '
{
"query": "coffee"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/instagram/reels-search"
payload = { "query": "coffee" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: 'coffee'})
};
fetch('https://app.sideshift.app/api/v1/scrape/instagram/reels-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sideshift.app/api/v1/scrape/instagram/reels-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'coffee'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/scrape/instagram/reels-search"
payload := strings.NewReader("{\n \"query\": \"coffee\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sideshift.app/api/v1/scrape/instagram/reels-search")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"coffee\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/instagram/reels-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"coffee\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_more": true,
"page": 1,
"query": "coffee",
"success": true,
"reels": [
{
"__typename": "XDTGraphVideo",
"accessibility_caption": null,
"caption": "Salty Canadian: Worth every calorie! 👀\n\nRecipe:\n-prepare your coffee:\n* lungo (large espresso, needs to be hot)\n* piece of butter (roughly a tsp)\n* 0.5 oz/ 15ml maple syrup (you can add more if you like sweetness)\n* pinch of sal\n* froth till butter dissolved\n- add ice to se…",
"comment_count": 389,
"comments_disabled": false,
"display_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/723918380_18085276082434521_9017903275434061510_n.jpg",
"has_audio": true,
"id": "3917981479610046083",
"is_ad": false,
"is_affiliate": false,
"is_paid_partnership": false,
"is_video": true,
"like_and_view_counts_disabled": false,
"like_count": 66594,
"location": null,
"product_type": "clips",
"shortcode": "DZfd2W4t1aD",
"taken_at": 1781280135,
"thumbnail_src": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/723918380_18085276082434521_9017903275434061510_n.jpg",
"url": "https://www.instagram.com/reel/DZfd2W4t1aD/",
"video_duration": 17.367,
"video_play_count": 3012800,
"video_url": "https://scontent-lga3-2.cdninstagram.com/o1/v/t2/f2/m367/AQNXHJdg4Eia-NF6-BpWvb1B8MBWh05Fcm9SiFoVluLnZvViQprQtjOS-ZLReexxBBzyhhRlzn_dSgaAikqS5_TmQypuMseZJg13gvU.mp4",
"video_view_count": 1460117
}
]
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid request body.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Invalid scraper API key.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "RESOURCE_NOT_FOUND",
"message": "Requested resource not found or unavailable.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PAYLOAD_TOO_LARGE",
"message": "Request body must be 32KB or smaller.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_RATE_LIMITED",
"message": "Scraper API rate limit exceeded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INTERNAL_ERROR",
"message": "Request failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}Keyword reel search. Platform field names are preserved inside data. Billing: 1 SideShift credit per completed lookup.
POST
/
scrape
/
instagram
/
reels-search
Instagram — reels search
curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/instagram/reels-search \
--header 'Content-Type: application/json' \
--data '
{
"query": "coffee"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/instagram/reels-search"
payload = { "query": "coffee" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: 'coffee'})
};
fetch('https://app.sideshift.app/api/v1/scrape/instagram/reels-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.sideshift.app/api/v1/scrape/instagram/reels-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'coffee'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/scrape/instagram/reels-search"
payload := strings.NewReader("{\n \"query\": \"coffee\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sideshift.app/api/v1/scrape/instagram/reels-search")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"coffee\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/instagram/reels-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"coffee\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_more": true,
"page": 1,
"query": "coffee",
"success": true,
"reels": [
{
"__typename": "XDTGraphVideo",
"accessibility_caption": null,
"caption": "Salty Canadian: Worth every calorie! 👀\n\nRecipe:\n-prepare your coffee:\n* lungo (large espresso, needs to be hot)\n* piece of butter (roughly a tsp)\n* 0.5 oz/ 15ml maple syrup (you can add more if you like sweetness)\n* pinch of sal\n* froth till butter dissolved\n- add ice to se…",
"comment_count": 389,
"comments_disabled": false,
"display_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/723918380_18085276082434521_9017903275434061510_n.jpg",
"has_audio": true,
"id": "3917981479610046083",
"is_ad": false,
"is_affiliate": false,
"is_paid_partnership": false,
"is_video": true,
"like_and_view_counts_disabled": false,
"like_count": 66594,
"location": null,
"product_type": "clips",
"shortcode": "DZfd2W4t1aD",
"taken_at": 1781280135,
"thumbnail_src": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/723918380_18085276082434521_9017903275434061510_n.jpg",
"url": "https://www.instagram.com/reel/DZfd2W4t1aD/",
"video_duration": 17.367,
"video_play_count": 3012800,
"video_url": "https://scontent-lga3-2.cdninstagram.com/o1/v/t2/f2/m367/AQNXHJdg4Eia-NF6-BpWvb1B8MBWh05Fcm9SiFoVluLnZvViQprQtjOS-ZLReexxBBzyhhRlzn_dSgaAikqS5_TmQypuMseZJg13gvU.mp4",
"video_view_count": 1460117
}
]
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid request body.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Invalid scraper API key.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "RESOURCE_NOT_FOUND",
"message": "Requested resource not found or unavailable.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PAYLOAD_TOO_LARGE",
"message": "Request body must be 32KB or smaller.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_RATE_LIMITED",
"message": "Scraper API rate limit exceeded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INTERNAL_ERROR",
"message": "Request failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}Body
application/json
Response
Completed lookup. 1 SideShift credit.
Instagram platform data payload. Field names and nesting are preserved.
Show child attributes
Show child attributes
SideShift request id. Include it in support requests.
Number of data-source lookups performed.
Available options:
1 Per-request credit accounting (also surfaced in the X-Scraper-Credits-* response headers).
Show child attributes
Show child attributes
⌘I