Parameters
Two-letter country code (e.g., US, GB, CA)
Maximum number of results to return (default: 10)
Response
Whether the request was successful
Show Trending shorts properties
Array of trending short videos with id, title, url, thumbnail, viewCountInt, likeCountInt, commentCountInt
Request metadata including credits_used and request_id
Example Request
curl -X GET "https://yoinkit.ai/api/v1/openclaw/youtube/trending?country=US&limit=10" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Example Response
{
"success": true,
"data": {
"success": true,
"shorts": [
{
"id": "ou0nl5ET0HA",
"thumbnail": "https://img.youtube.com/vi/ou0nl5ET0HA/maxresdefault.jpg",
"url": "https://www.youtube.com/watch?v=ou0nl5ET0HA",
"title": "That hooper who says their just shoes",
"commentCountText": "168",
"commentCountInt": 168,
"likeCountText": "151957",
"likeCountInt": 151957,
"viewCountText": "13,798,774",
"viewCountInt": 13798774,
"publishDateText": "3 days ago"
}
]
},
"meta": {
"platform": "youtube",
"endpoint": "trending",
"credits_used": 1,
"request_id": "req_abc123def456"
}
}