curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/youtube/posts \
--header 'Content-Type: application/json' \
--data '
{
"username": "MrBeast",
"contentType": "shorts"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/youtube/posts"
payload = {
"username": "MrBeast",
"contentType": "shorts"
}
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({username: 'MrBeast', contentType: 'shorts'})
};
fetch('https://app.sideshift.app/api/v1/scrape/youtube/posts', 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/youtube/posts",
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([
'username' => 'MrBeast',
'contentType' => 'shorts'
]),
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/youtube/posts"
payload := strings.NewReader("{\n \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\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/youtube/posts")
.header("Content-Type", "application/json")
.body("{\n \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/youtube/posts")
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 \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"posts": [
{
"id": "f7y2XikE7sY",
"title": "Paying For Food With My Car",
"views": 23605627,
"likes": 1091856,
"comments": 0,
"shares": 0,
"bookmarks": 0,
"uploadedAt": 1785513611,
"uploadedAtFormatted": "2026-07-31T16:00:11.000Z",
"postPage": "https://www.youtube.com/shorts/f7y2XikE7sY",
"creator": "MrBeast",
"thumbnail": "https://i.ytimg.com/…",
"videoUrl": "",
"platform": "youtube",
"hashtags": [],
"region": null
},
{
"id": "Df5Y-2ndQyU",
"title": "Read My Book, You Could Win $1,000,000\n\nLegal residents of AU, MX, US (excl, MD), or UK, 18+. You must have proof of purchase of a physical Hardcover Edition to participate. Mor…",
"views": 16127314,
"likes": 451432,
"comments": 0,
"shares": 0,
"bookmarks": 0,
"uploadedAt": 1784304006,
"uploadedAtFormatted": "2026-07-17T16:00:06.000Z",
"postPage": "https://www.youtube.com/shorts/Df5Y-2ndQyU",
"creator": "MrBeast",
"thumbnail": "https://i.ytimg.com/…",
"videoUrl": "",
"platform": "youtube",
"hashtags": [],
"region": null
}
],
"profile_pictures": {
"MrBeast": "https://yt3.googleusercontent.com/…"
},
"next_cursor": "B1:H4sIAHCTdmoA_-1caW_jPJL-K5pgsDsDpNM6LB8NLGZtR5LtRLKj09b2IKAtxlJ0Roevwfvft0pOOrY6WEw2eb8F6FYskSxWFZ8qFouU_nWxufjBXV4sq4eLH__zr4ssLcr7wLv4ceH2tN2dd9fVs_XF5cWKZGWQJvB8kAfJmlEp02…"
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid username: must match @?[a-zA-Z0-9._-]{1,100}",
"field": "username",
"reason": "must match @?[a-zA-Z0-9._-]{1,100}",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Scraper routes require an independent scraper key from the Scraper API dashboard.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PROFILE_NOT_FOUND",
"message": "Profile not found or unavailable.",
"platform": "instagram",
"identifier": "someuser",
"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",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_USAGE_FINALIZE_FAILED",
"message": "Request could not be finalized. Your credits were refunded.",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"platform": "youtube",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"platform": "facebook",
"request_id": "req_8f3c9a2b1d4e6f70"
}Returns one page of a channel’s recent content. Accepts a @handle or a UC… channel
id as username, plus an optional contentType (shorts default, or video).
videoUrl is always empty in YouTube listings; use /scrape/youtube/post for it.
1 credit per page.
curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/youtube/posts \
--header 'Content-Type: application/json' \
--data '
{
"username": "MrBeast",
"contentType": "shorts"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/youtube/posts"
payload = {
"username": "MrBeast",
"contentType": "shorts"
}
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({username: 'MrBeast', contentType: 'shorts'})
};
fetch('https://app.sideshift.app/api/v1/scrape/youtube/posts', 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/youtube/posts",
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([
'username' => 'MrBeast',
'contentType' => 'shorts'
]),
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/youtube/posts"
payload := strings.NewReader("{\n \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\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/youtube/posts")
.header("Content-Type", "application/json")
.body("{\n \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/youtube/posts")
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 \"username\": \"MrBeast\",\n \"contentType\": \"shorts\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"posts": [
{
"id": "f7y2XikE7sY",
"title": "Paying For Food With My Car",
"views": 23605627,
"likes": 1091856,
"comments": 0,
"shares": 0,
"bookmarks": 0,
"uploadedAt": 1785513611,
"uploadedAtFormatted": "2026-07-31T16:00:11.000Z",
"postPage": "https://www.youtube.com/shorts/f7y2XikE7sY",
"creator": "MrBeast",
"thumbnail": "https://i.ytimg.com/…",
"videoUrl": "",
"platform": "youtube",
"hashtags": [],
"region": null
},
{
"id": "Df5Y-2ndQyU",
"title": "Read My Book, You Could Win $1,000,000\n\nLegal residents of AU, MX, US (excl, MD), or UK, 18+. You must have proof of purchase of a physical Hardcover Edition to participate. Mor…",
"views": 16127314,
"likes": 451432,
"comments": 0,
"shares": 0,
"bookmarks": 0,
"uploadedAt": 1784304006,
"uploadedAtFormatted": "2026-07-17T16:00:06.000Z",
"postPage": "https://www.youtube.com/shorts/Df5Y-2ndQyU",
"creator": "MrBeast",
"thumbnail": "https://i.ytimg.com/…",
"videoUrl": "",
"platform": "youtube",
"hashtags": [],
"region": null
}
],
"profile_pictures": {
"MrBeast": "https://yt3.googleusercontent.com/…"
},
"next_cursor": "B1:H4sIAHCTdmoA_-1caW_jPJL-K5pgsDsDpNM6LB8NLGZtR5LtRLKj09b2IKAtxlJ0Roevwfvft0pOOrY6WEw2eb8F6FYskSxWFZ8qFouU_nWxufjBXV4sq4eLH__zr4ssLcr7wLv4ceH2tN2dd9fVs_XF5cWKZGWQJvB8kAfJmlEp02…"
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid username: must match @?[a-zA-Z0-9._-]{1,100}",
"field": "username",
"reason": "must match @?[a-zA-Z0-9._-]{1,100}",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Scraper routes require an independent scraper key from the Scraper API dashboard.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PROFILE_NOT_FOUND",
"message": "Profile not found or unavailable.",
"platform": "instagram",
"identifier": "someuser",
"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",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_USAGE_FINALIZE_FAILED",
"message": "Request could not be finalized. Your credits were refunded.",
"platform": "tiktok",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"platform": "youtube",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"platform": "facebook",
"request_id": "req_8f3c9a2b1d4e6f70"
}Body
Creator handle (with or without a leading @), matching @?[a-zA-Z0-9._-]{1,100}. Facebook also accepts a numeric profile_id; YouTube accepts a @handle or UC… channel id; LinkedIn accepts a person slug or a company/<slug> identifier. A full profile URL is not accepted on any platform.
"mrbeast"
Pagination cursor from a previous response's next_cursor — send it back verbatim and never construct one. Omit for the first page. Snapchat and LinkedIn return a single page and never issue one. A cursor the platform does not recognise is not an error; on Instagram it silently returns page 1 again, and you are billed for it.
shorts, video Response
A page of posts.
Show child attributes
Show child attributes
Number of upstream data-source calls this request generated (always 1 — one page per call on every platform).
Per-request credit accounting (also surfaced in the X-Scraper-Credits-* response headers).
Show child attributes
Show child attributes