Sources › Social media › Youtube › Get User Videos
Youtube User Videos API
Get User Videos, one of the endpoints of the Youtube API.
Request
https://api.zapi.ink/v1/social-media:youtube-scraper/videos/:channelSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| channel | string | path | Yes | Channel handle (@user), channel ID (UCxxx), atau full YouTube URL Example: MrBeast |
| tab | enum: videos | shorts | streams | query | No | Tab yang di-scrape. Default 'videos'. Cursor TIDAK kompatibel antar-tab |
| page | number | query | No | Nomor halaman. Default 1, max 50. Per page ~30 video |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:youtube-scraper/videos/MrBeast?tab=&page=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:youtube-scraper/videos/MrBeast?tab=&page=", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:youtube-scraper/videos/MrBeast", params={"tab":"","page":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:youtube-scraper", "data": { "tab": "videos", "page": 1, "count": 30, "videos": [ { "url": "https://www.youtube.com/watch?v=AaMdXZMvT3w", "title": "Survive 30 Days On An Island With Your Ex, Win $250,000", "videoId": "AaMdXZMvT3w", "duration": 0, "thumbnail": "https://i.ytimg.com/vi/AaMdXZMvT3w/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAfwDXsWdeKhhuSk9s8s1TnaZVv0Q", "viewCount": 65000000, "viewCountText": "65M views", "publishedTimeText": "6 days ago" }, { "url": "https://www.youtube.com/watch?v=6Zy5VLcEbZc", "title": "I Stranded 100 People In The Wilderness For $250,000", "videoId": "6Zy5VLcEbZc", "duration": 0, "thumbnail": "https://i.ytimg.com/vi/6Zy5VLcEbZc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDXMEvwxFyL_olBjmhazAn6BR96jw", "viewCount": 110000000, "viewCountText": "110M views", "publishedTimeText": "2 weeks ago" }, { "url": "https://www.youtube.com/watch?v=zRtGL0-5rg4", "title": "Last To Leave Grocery Store, Wins $250,000", "videoId": "zRtGL0-5rg4", "duration": 0, "thumbnail": "https://i.ytimg.com/vi/zRtGL0-5rg4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAG-ou5PizjilKG7ZXLg61ZkWF6-g", "viewCount": 140000000, "viewCountText": "140M views", "publishedTimeText": "1 month ago" } ], "channel": { "title": "MrBeast", "handle": "@MrBeast", "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA" }, "hasMore": true, "nextPage": 2 }, "timestamp": "2026-05-27T13:36:09Z" }
Frequently asked questions
How do I call the Youtube User Videos API?
Send a GET request to https://api.zapi.ink/v1/social-media:youtube-scraper/videos/MrBeast with your Zapi key in the x-api-key header. Parameters — required: channel; optional: tab, page. The response is JSON in the { project, data, timestamp } envelope.
What does the Youtube User Videos API return?
The example response has the fields tab, page, count, videos, channel, hasMore, nextPage. Each item in videos has fields such as url, title, videoId, duration, thumbnail, viewCount, viewCountText, publishedTimeText.
Is the Youtube User Videos API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the Youtube User Videos API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "youtube-scraper" and endpoint "videos".
What other Youtube API endpoints are there?
It has 12 endpoints. Besides Get User Videos: Get User Profile, Get Video Detail, Get Video Comments, Search, Get Playlist, Search Within Channel, and 5 more.