Trending Shorts
curl --request GET \
--url https://api.sociavault.com/v1/scrape/youtube/shorts/trending \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sociavault.com/v1/scrape/youtube/shorts/trending"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sociavault.com/v1/scrape/youtube/shorts/trending', 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://api.sociavault.com/v1/scrape/youtube/shorts/trending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sociavault.com/v1/scrape/youtube/shorts/trending"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sociavault.com/v1/scrape/youtube/shorts/trending")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sociavault.com/v1/scrape/youtube/shorts/trending")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"shorts": {
"0": {
"id": "6jpwQC97vck",
"thumbnail": "https://img.youtube.com/vi/6jpwQC97vck/maxresdefault.jpg",
"url": "https://www.youtube.com/watch?v=6jpwQC97vck",
"publishDate": "2026-01-28T02:55:53-08:00",
"title": "memes da loro๐
",
"description": null,
"commentCountText": "15",
"commentCountInt": 15,
"likeCountText": "3929",
"likeCountInt": 3929,
"viewCountText": "97,286",
"viewCountInt": 97286,
"publishDateText": "Jan 28, 2026",
"collaborators": {},
"channel": {
"id": "UCiuI0_qxCj9OCGmoegJqCfw",
"url": "https://www.youtube.com/@Lorokira2026",
"handle": "Lorokira2026",
"title": "@Jesus e Bom Oficial "
},
"chapters": {},
"keywords": {},
"genre": "People & Blogs",
"durationMs": 14000,
"durationFormatted": "00:00:14",
"captionTracks": {}
}
}
},
"credits_used": 1,
"endpoint": "youtube/shorts/trending"
}{
"error": "Missing required parameter: handle",
"endpoint": "<string>",
"credits_required": 123
}{
"error": "Invalid API key",
"docs": "https://docs.sociavault.com/authentication"
}{
"error": "Insufficient credits",
"required": 1,
"available": 0
}{
"error": "Service configuration error"
}YouTube
Trending Shorts
Get about 48 trending shorts
GET
/
v1
/
scrape
/
youtube
/
shorts
/
trending
Trending Shorts
curl --request GET \
--url https://api.sociavault.com/v1/scrape/youtube/shorts/trending \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sociavault.com/v1/scrape/youtube/shorts/trending"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sociavault.com/v1/scrape/youtube/shorts/trending', 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://api.sociavault.com/v1/scrape/youtube/shorts/trending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sociavault.com/v1/scrape/youtube/shorts/trending"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sociavault.com/v1/scrape/youtube/shorts/trending")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sociavault.com/v1/scrape/youtube/shorts/trending")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"shorts": {
"0": {
"id": "6jpwQC97vck",
"thumbnail": "https://img.youtube.com/vi/6jpwQC97vck/maxresdefault.jpg",
"url": "https://www.youtube.com/watch?v=6jpwQC97vck",
"publishDate": "2026-01-28T02:55:53-08:00",
"title": "memes da loro๐
",
"description": null,
"commentCountText": "15",
"commentCountInt": 15,
"likeCountText": "3929",
"likeCountInt": 3929,
"viewCountText": "97,286",
"viewCountInt": 97286,
"publishDateText": "Jan 28, 2026",
"collaborators": {},
"channel": {
"id": "UCiuI0_qxCj9OCGmoegJqCfw",
"url": "https://www.youtube.com/@Lorokira2026",
"handle": "Lorokira2026",
"title": "@Jesus e Bom Oficial "
},
"chapters": {},
"keywords": {},
"genre": "People & Blogs",
"durationMs": 14000,
"durationFormatted": "00:00:14",
"captionTracks": {}
}
}
},
"credits_used": 1,
"endpoint": "youtube/shorts/trending"
}{
"error": "Missing required parameter: handle",
"endpoint": "<string>",
"credits_required": 123
}{
"error": "Invalid API key",
"docs": "https://docs.sociavault.com/authentication"
}{
"error": "Insufficient credits",
"required": 1,
"available": 0
}{
"error": "Service configuration error"
}๐ณ 1 credit per request
Authorizations
Response
Successful response
Key Response Fields:
data.shorts[0].id: YouTube short video IDdata.shorts[0].url: Full YouTube URLdata.shorts[0].title: Short titledata.shorts[0].description: Short description (may be null)data.shorts[0].thumbnail: Thumbnail URLdata.shorts[0].viewCountInt: View count as integerdata.shorts[0].likeCountInt: Like count as integerdata.shorts[0].commentCountInt: Comment count as integerdata.shorts[0].publishDate: ISO timestamp of publicationdata.shorts[0].durationMs: Duration in millisecondsdata.shorts[0].durationFormatted: Duration as formatted string (e.g.,"00:00:14")data.shorts[0].channel.id: Channel ID of the creatordata.shorts[0].channel.handle: Creator's @handle
โI