AS
Apify Store
/apidojo/youtube-scraper
Youtube Scraper (Pay Per Result)
Experience unparalleled efficiency and depth with its ultra-fast capabilities in searching, URL, playlist, channel, and profile scraping. It comes equipped with a variety of filters to customize your
liveasyncunknown~30s typical
social mediavideoslead generationyoutube
$0.00063
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.0005 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /apidojo/youtube-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| startUrls | array | Paste the Youtube URLs, and get the results immediately. Video, Channel, Playlist, Shorts and Search URLs are supported. |
| youtubeHandles | array | Youtube handles that you want to search on Youtube (e.g. @MrBeast, @babishculinaryuniverse) |
| includeShorts | boolean | When searching for channel videos or by keywords, includes shorts. |
| getTrending | boolean | If selected, returns trending videos. |
| keywords | array | Search keywords you want to search on YouTube. |
| gl | string (us | af | al | dz | as | ad) | Location for the search results, which is passed to YouTube as the gl URL query parameter. (US, AF, AL, etc...) default "us" |
| hl | string (en | af | ak | sq | ws | am) | Language for the search results, which is passed to YouTube as the hl URL query parameter. (af, tr, de, etc...) default "en" |
| uploadDate | string (all | l | t | w | m | y) | Upload date for the search results, which is passed to YouTube as the upload date URL query parameter. (any, hour, today, week, month, year) Only works with search keywords. |
| duration | string (all | s | l) | Duration of the video for the search results, which is passed to YouTube as the duration URL query parameter. (any, short, long) |
| features | string (all | h | hd | s | c | 3d) | Features for video. (any, 4k, hd, live, movie, cc, 3d, hdr, location, purchased, subtitles, vr180, vr360) |
| sort | string (r | ra | u | v) | Sorts search results by the given option. Only works with search keywords. |
| maxItems | integer | Maximum number of items that you want as output. |
| customMapFunction | string | Function that takes each of the objects as argument and returns data that will be mapped by the function itself. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/apidojo/youtube-scraper","input":{"startUrls":["https://www.youtube.com/results?search_query=never+gonna+give+you+up","https://www.youtube.com/watch?v=xuCn8ux2gbs"],"youtubeHandles":["@MrBeast"],"keywords":["pixel art"],"uploadDate":"all","duration":"all","features":"all","sort":"r","maxItems":3,"customMapFunction":"(object) => { return {...object} }"},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /apidojo/youtube-scraper -i '{"startUrls":["https://www.youtube.com/results?search_query=never+gonna+give+you+up","https://www.youtube.com/watch?v=xuCn8ux2gbs"],"youtubeHandles":["@MrBeast"],"keywords":["pixel art"],"uploadDate":"all","duration":"all","features":"all","sort":"r","maxItems":3,"customMapFunction":"(object) => { return {...object} }"}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/apidojo/youtube-scraper", input: {"startUrls":["https://www.youtube.com/results?search_query=never+gonna+give+you+up","https://www.youtube.com/watch?v=xuCn8ux2gbs"],"youtubeHandles":["@MrBeast"],"keywords":["pixel art"],"uploadDate":"all","duration":"all","features":"all","sort":"r","maxItems":3,"customMapFunction":"(object) => { return {...object} }"}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.