VOOZH about

URL: https://apify.com/thescrappa/youtube-api-search-by-category

โ‡ฑ Youtube API Search By Category ยท Apify


Pricing

from $0.20 / 1,000 results

Go to Apify Store

Youtube API Search By Category

Search for videos using a specific hashtag. Provide hashtag without #.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Scrappa

Scrappa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

a month ago

Last modified

Share

YouTube Search By Category Scraper

Get YouTube search results from predefined category searches such as education, music, gaming, news, sports, and technology. The Actor returns one dataset item per YouTube result, so you can export videos to JSON, CSV, Excel, or connect them to downstream Apify integrations.

What You Can Get

  • Category-based YouTube video results
  • Titles, descriptions, thumbnails, video IDs, durations, view counts, and publish times
  • Channel metadata including channel ID, name, URL, thumbnail, and verification status
  • Badges such as CC, New, 4K, or other labels returned by YouTube
  • Live, Shorts, and Premium flags when available
  • Continuation tokens in logs when another page is available

Input

FieldTypeRequiredDescription
categoryarrayYesCategory to search in. Examples: education, music, gaming, news, sports, tech.
sortarrayNoSort order. One of relevance, rating, upload_date, or view_count. Defaults to relevance.
durationarrayNoVideo duration filter. One of short, medium, or long.
upload_datearrayNoUpload date filter. One of hour, today, week, month, or year.
limitintegerNoMaximum results to request, from 1 to 1024. The upstream API can return a smaller page with a continuation token.
continuationstringNoContinuation token for the next page of results.
contentTypearrayNoFilter by content type: live, recorded, or premiere.
featuresstringNoComma-separated feature filters such as hd,cc.

Apify select fields are arrays in JSON input. Use a single selected value in each array, for example "category": ["education"].

Example Inputs

Education Videos

{
"category":["education"],
"sort":["relevance"],
"duration":["short"],
"limit":10
}

High-View Music Videos

{
"category":["music"],
"sort":["view_count"],
"limit":20
}

Recent Tech Videos

{
"category":["tech"],
"sort":["upload_date"],
"upload_date":["week"],
"limit":20
}

Continue to the Next Page

{
"category":["education"],
"sort":["relevance"],
"limit":20,
"continuation":"PASTE_CONTINUATION_TOKEN_FROM_PREVIOUS_RUN"
}

When the API returns a next-page token, the Actor logs it as Continuation token available for next page: ....

Output

Each result is saved as one dataset item. Fields vary by YouTube result, but video results commonly include:

{
"type":"Video",
"id":"KVLTxKyxioA",
"title":"The Science of Teaching, Effective Education, and Great Schools",
"description":"Scientific evidence suggests that the secret to thriving students...",
"thumbnail":"https://i.ytimg.com/vi/KVLTxKyxioA/hq720.jpg",
"duration":"6:21",
"viewCount":"824,846 views",
"publishedTime":"8 years ago",
"channel":{
"id":"UC-RKpEc4eE9PwJaupN91xYQ",
"name":"Sprouts",
"thumbnail":"https://yt3.ggpht.com/...",
"verified":true,
"isVerifiedArtist":false,
"url":"https://www.youtube.com/@sprouts"
},
"badges":["CC"],
"isLive":false,
"isShort":false,
"isPremium":false,
"expandableMetadata":{
"label":"Summary"
}
}

Pricing

$0.30 per 1,000 results. No additional API keys required.

Support

For issues or questions, contact us through Apify.

You might also like

YouTube Video Scraper By Hashtag

simpleapi/youtube-video-scraper-by-hashtag

YouTube Video Scraper by Hashtag extracts videos associated with any YouTube hashtag, capturing titles, descriptions, creators, metrics, timestamps, and video URLs. Perfect for trend tracking, content research, hashtag analysis, and automating structured YouTube hashtag-based data collection.

Youtube Hashtag Videos Urls Scraper

sasky/youtube-hashtag-videos-urls-scraper

Scrapes Youtube videos URLs related to a given hashtag

Abdulrahman

15

Youtube Video Scraper By Hashtag

scraper-engine/youtube-video-scraper-by-hashtag

Extract YouTube video data by hashtags ๐ŸŽฏ. The YouTube Video Scraper by Hashtag collects titles, channels, views, tags, and URLs from videos using specific hashtags. Perfect for hashtag research, trend analysis, and YouTube SEO optimization. ๐Ÿš€

๐Ÿ‘ User avatar

Scraper Engine

9

Youtube Video Scraper By Hashtag

scrapepilotapi/youtube-video-scraper-by-hashtag

Find YouTube videos by hashtag instantly ๐ŸŽฏ๐ŸŽฅ Scrape video titles, URLs, views, likes, comments, publish dates, and more using any hashtag. Perfect for trend discovery, SEO research, content planning, and competitor analysis. Unlock hashtag-driven insights fast ๐Ÿš€๐Ÿ“Š

YouTube Hashtag Scraper

crawlerbros/youtube-hashtag-scraper

Scrape YouTube videos and Shorts by hashtag. Extract all videos tagged with specific hashtags including views, channel info, and metadata.