Dapatkan data profile, postingan, comment, dan lainnya dengan lengkap dan konsisten.
Dapatkan data profile, postingan, comment, dan lainnya dengan lengkap dan konsisten.
/v1/social-media:youtube-scraper/profile/:channel10m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("social-media:youtube-scraper", "profile", {
"channel": "MrBeast"
});
console.log(data);/v1/social-media:youtube-scraper/profile/:channelchannelstringrequiredin pathcurl -X GET "https://api-preview.zapi.ink/v1/social-media:youtube-scraper/profile/MrBeast" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"url": "https://www.youtube.com/@MrBeast",
"title": "MrBeast",
"avatar": "https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s900-c-k-c0x00ffffff-no-rj",
"banner": "https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"handle": "@MrBeast",
"rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA",
"country": "PT",
"keywords": "mrbeast6000 beast mrbeast Mr.Beast mr",
"verified": true,
"channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"vanityUrl": "http://www.youtube.com/@MrBeast",
"familySafe": true,
"videoCount": 982,
"description": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 people walk again\n- Helped 1,000 blind people see\n- Helped 1,000 deaf people hear\n- Built wells in Africa\n- Built and gave away 100 houses\n- Adopted every dog in a shelter (twice)\n- Given millions to charity\n- Started my own snack company Feastables\n- Started my own software company Viewstats\n- Gave away a private island (twice)\n- Gave away 1 million meals\n- I counted to 100k\n- Ran a marathon in the world's largest shoes\n- Survived 50 hours in Antarctica\n- Recreated Squid Game in real life\n- Created the largest competition show with 1000 people (Beast Games)\n- Gave $5,000,000 to one person\n\nTerms & Conditions of Current Sweepstakes: \nhttps://mrb.gg/bow-and-arrow\nhttps://bit.ly/MrB_Birthday_YT\nhttps://bit.ly/MrB_Cash_Giveaway\n\n\n",
"subscriberText": "489M subscribers",
"videoCountText": "982 videos",
"subscriberCount": 489000000
}/v1/social-media:youtube-scraper/videos/:channelchannelstringrequiredin pathtabenumoptionalpagenumberoptionalcurl -X GET "https://api-preview.zapi.ink/v1/social-media:youtube-scraper/videos/MrBeast?tab=&page=" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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
}/v1/social-media:youtube-scraper/video/:ididstringrequiredin pathcurl -X GET "https://api-preview.zapi.ink/v1/social-media:youtube-scraper/video/dQw4w9WgXcQ" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"tags": [],
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"isLive": false,
"channel": {
"name": "Rick Astley",
"avatar": "https://yt3.ggpht.com/MOWpaiGJdgN4aKMI-NGQLL4jMVP3aDORlQpOBWooi0GSE2TGt4_9ncyepk1pCh-yWQ795AhPbw=s176-c-k-c0x00ffffff-no-rj",
"handle": "@RickAstleyYT",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"subscriberCount": 4500000,
"subscriberCountText": "4.5M subscribers"
},
"videoId": "dQw4w9WgXcQ",
"captions": [
{
"name": "English",
"language": "en",
"isAutoGenerated": false
},
{
"name": "English (auto-generated)",
"language": "en",
"isAutoGenerated": true
},
{
"name": "German (Germany)",
"language": "de-DE",
"isAutoGenerated": false
}
],
"category": "Music",
"duration": 213,
"keywords": [
"rick astley",
"Never Gonna Give You Up",
"nggyu"
],
"isPrivate": false,
"likeCount": 19111621,
"thumbnail": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp",
"viewCount": 1775242717,
"hasCaption": true,
"isUnlisted": false,
"uploadDate": "2009-10-24T23:57:33-07:00",
"description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ …",
"publishDate": "2009-10-24T23:57:33-07:00",
"allowRatings": true,
"isFamilySafe": true,
"likeCountText": "19M",
"availableCountries": [
"AD",
"AE",
"AF"
]
}/v1/social-media:youtube-scraper/comments/:ididstringrequiredin pathpagenumberoptionalcurl -X GET "https://api-preview.zapi.ink/v1/social-media:youtube-scraper/comments/dQw4w9WgXcQ?page=" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 20,
"hasMore": true,
"videoId": "dQw4w9WgXcQ",
"comments": [
{
"author": {
"avatar": "https://yt3.ggpht.com/3s6evpqAiDU9tQR4sC2siJippbH2RWVPnwHgyl4V0th2iuQz0VDQZbUhQBGmsxLYo-mjG6TqZQ=s88-c-k-c0x00ffffff-no-rj",
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"isCreator": false,
"isVerified": true,
"displayName": "@YouTube"
},
"content": "can confirm: he never gave us up",
"commentId": "Ugzge340dBgB75hWBm54AaABAg",
"likeCount": 243000,
"replyCount": 1000,
"replyLevel": 0,
"likeCountText": "243K",
"replyCountText": "1K",
"publishedTimeText": "1 year ago"
},
{
"author": {
"avatar": "https://yt3.ggpht.com/ytc/AIdro_l_cdb12iEvfbconWqKW89iqSh69jL-NdmjZIuXCkr9Yg3iLzKFdf8SG32lYrR3AmrM9A=s88-c-k-c0x00ffffff-no-rj",
"channelId": "UCc4EU495shmfFPGMtoth0cQ",
"isCreator": false,
"isVerified": false,
"displayName": "@Sarah-x3j3z"
},
"content": "🇫🇷🇫🇷🇫🇷🇫🇷🇫🇷🍾🥂🎄💕😍👍🏻👌🏻🥰🥰🥰🥳😘🇫🇷🇫🇷🇫🇷",
"commentId": "Ugz_UZfwxElvwKkPfkl4AaABAg",
"likeCount": 0,
"replyCount": 0,
"replyLevel": 0,
"likeCountText": " ",
"publishedTimeText": "2 minutes ago"
},
{
"author": {
"avatar": "https://yt3.ggpht.com/WG1XhzebAPM055lM0LsEgtxNxirp0UMkvCQ0Us399-evEbG-K53F8pdUxwlq9dbleDo_qEfshMM=s88-c-k-c0x00ffffff-no-rj",
"channelId": "UC2icBtNHVnZL591ZoIpTrMQ",
"isCreator": false,
"isVerified": false,
"displayName": "@Hishamisgoodturbotrubo"
},
"content": "Get rickrolled",
"commentId": "UgxVqhrNBP9d4R0Zi_x4AaABAg",
"likeCount": 0,
"replyCount": 0,
"replyLevel": 0,
"likeCountText": " ",
"publishedTimeText": "6 minutes ago"
}
],
"nextPage": 2
}