youtube/
search
tiktok / profilesTikTok Profiles APItiktok / videosTikTok Videos APItiktok / video-transcriptTikTok Video Transcript APItiktok / commentsTikTok Comments APItiktok / comment-repliesTikTok Comment Replies APItiktok / searchTikTok Search APItiktok / hashtagsTikTok Hashtags APItiktok / trending-feedTikTok Trending Feed APItiktok / followers-listTikTok Followers List APItiktok / following-listTikTok Following List APItiktok / user-videosTikTok User Videos APItiktok / live-room-infoTikTok Live Room Info APIx / profilesTwitter Profile Scraper APIx / followers-listX Followers List APIx / postsTwitter Tweet Scraper APIx / post-retweetersX Post Retweeters APIx / user-postsTwitter User Tweets Scraper APIx / searchTwitter Search APIx / following-listX Following List APIx / post-quotesX Post Quotes APIx / post-repliesX Post Replies APIx / trendsX Trends APIinstagram / postsInstagram Posts APIinstagram / post-infoInstagram Post Info APIinstagram / hashtag-postsInstagram Hashtag Posts APIinstagram / reels-searchInstagram Reels Search APIinstagram / story-highlightsInstagram Story Highlights APIinstagram / tagged-postsInstagram Tagged Posts APIinstagram / transcriptInstagram Transcript APIinstagram / audio-reelsInstagram Audio Reels APIinstagram / commentsInstagram Comments APIfacebook / pagesFacebook Pages APIfacebook / postsFacebook Posts APIfacebook / group-postsFacebook Group Posts APIfacebook / reelsFacebook Reels APIfacebook / commentsFacebook Comments APIfacebook / comment-repliesFacebook Comment Replies APIfacebook / company-reviewsFacebook Company Reviews APIfacebook / video-transcriptFacebook Video Transcript APIfacebook / ad-transcriptFacebook Ad Transcript APIfacebook / events-searchFacebook Events Search APIfacebook / event-detailsFacebook Event Details APIfacebook / profile-eventsFacebook Profile Events APIfacebook / profile-photosFacebook Profile Photos APIfacebook / profilesFacebook Profiles APIinstagram / followers-countInstagram Followers Count APIinstagram / profilesInstagram Profiles APIinstagram / followers-listInstagram Followers List APIinstagram / following-listInstagram Following List APIinstagram / reelsInstagram Reels APIinstagram / searchInstagram Search APIinstagram / highlight-itemsInstagram Highlight Items APIinstagram / trending-reelsInstagram Trending Reels APIyoutube / channelsYouTube Channels APIyoutube / videosYouTube Videos APIyoutube / channel-videosYouTube Channel Videos APIyoutube / playlist-videosYouTube Playlist Videos APIyoutube / channel-live-videosYouTube Channel Live Videos APIyoutube / commentsYouTube Comments APIyoutube / comment-repliesYouTube Comment Replies APIyoutube / community-postsYouTube Community Posts APIyoutube / shortsYouTube Shorts APIyoutube / searchYouTube Search APIyoutube / hashtag-searchYouTube Hashtag Search APIyoutube / transcriptsYouTube Transcripts APIlinkedin / profilesLinkedIn Profiles APIlinkedin / companiesLinkedIn Companies APIlinkedin / postsLinkedIn Posts APIlinkedin / jobsLinkedIn Jobs APIlinkedin / company-jobsLinkedIn Company Jobs APIlinkedin / company-postsLinkedIn Company Posts APIlinkedin / post-commentsLinkedIn Post Comments APIlinkedin / profile-postsLinkedIn Profile Posts APIlinkedin / search-jobsLinkedIn Search Jobs APIlinkedin / search-peopleLinkedIn Search People APIlinkedin / search-postsLinkedIn Search Posts APIreddit / postsReddit Posts APIreddit / commentsReddit Comments APIreddit / subreddit-postsReddit Subreddit Posts APIreddit / searchReddit Search APIpinterest / profilesPinterest Profiles APIpinterest / pinsPinterest Pins APIpinterest / user-pinsPinterest User Pins APIpinterest / searchPinterest Search APIthreads / postsThreads Posts APIthreads / profilesThreads Profiles APIthreads / user-postsThreads User Posts APIbluesky / profileBluesky Profile APIbluesky / postBluesky Post APIbluesky / user-postsBluesky User Posts APIfacebook-marketplace / location-searchFacebook Marketplace Location Search APIfacebook-marketplace / searchFacebook Marketplace Search APIfacebook-marketplace / itemFacebook Marketplace Item APIfacebook-ad-library / adFacebook Ad Library Ad APIfacebook-ad-library / company-adsFacebook Ad Library Company Ads APIfacebook-ad-library / company-searchFacebook Ad Library Company Search APIfacebook-ad-library / searchFacebook Ad Library Search APIgoogle-ad-library / adGoogle Ad Library Ad APIgoogle-ad-library / advertiser-searchGoogle Ad Library Advertiser Search APIgoogle-ad-library / company-adsGoogle Ad Library Company Ads APIgoogle-maps / searchGoogle Maps Search APIgoogle-maps / place-detailsGoogle Maps Place Details APIgoogle-maps / reviewsGoogle Maps Reviews APItiktok-ad-library / adTikTok Ad Library Ad APItiktok-ad-library / searchTikTok Ad Library Search APIlinkedin-ad-library / adLinkedIn Ad Library Ad APIlinkedin-ad-library / searchLinkedIn Ad Library Search APItiktok-shop / searchTikTok Shop Search APItiktok-shop / productsTikTok Shop Products APItiktok-shop / productTikTok Shop Product APItiktok-shop / product-reviewsTikTok Shop Product Reviews APIseo / google-organic-serpGoogle Organic SERP APIseo / keyword-difficultyKeyword Difficulty APIseo / keyword-overviewKeyword Overview APIseo / keyword-search-volumeKeyword Search Volume APIseo / keywords-for-siteKeywords for Site APIseo / keyword-suggestionsKeyword Suggestions APIseo / ranked-keywordsRanked Keywords APIseo / related-keywordsRelated Keywords APIseo / relevant-pagesRelevant Pages APIseo / search-intentSearch Intent APItiktok-shop / user-showcaseTikTok Shop User Showcase APIsnapchat / profileSnapchat Profile APIsnapchat / spotlightSnapchat Spotlight APIsnapchat / spotlight-commentsSnapchat Spotlight Comments APItwitch / profileTwitch Profile APItwitch / user-videosTwitch User Videos APIkwai / profileKwai Profile APIkwai / user-postsKwai User Posts APIkwai / postKwai Post APIamazon / best-sellersAmazon Best Sellers APIamazon / product-detailAmazon Product Details APIamazon / product-searchAmazon Product Search APIamazon / reviewsAmazon Reviews APIamazon / seller-infoAmazon Seller Info APIgoogle-play / app-detailGoogle Play App Detail APIgoogle-play / app-rankingsGoogle Play App Rankings APIgoogle-play / app-reviewsGoogle Play App Reviews APIapple-app-store / app-detailApple App Store App Detail APIapple-app-store / app-reviewsApple App Store App Reviews APIapple-app-store / rankingsApple App Store Rankings APItruth-social / profileTruth Social Profile APItruth-social / user-postsTruth Social User Posts APItruth-social / postTruth Social Post APIdouyin / live-room-detailDouyin Live Room Detail APIdouyin / user-profileDouyin User Profile APIdouyin / user-videosDouyin User Videos APIdouyin / video-commentsDouyin Video Comments APIdouyin / video-detailDouyin Video Detail APIdouyin / video-searchDouyin Video Search APIrednote / comment-repliesRednote Comment Replies APIrednote / home-recommendationsRednote Home Recommendations APIrednote / note-commentsRednote Note Comments APIrednote / note-detailRednote Note Detail APIrednote / search-notesRednote Search Notes APIrednote / search-usersRednote Search Users APIrednote / user-notesRednote User Notes APIrednote / user-profileRednote User Profile API

Search public YouTube videos by keyword with sort, date, duration, and caption filters, returning normalized metadata, channel context, thumbnails, and engagement.

YouTube Search API

Video search
Discovery
Portable filters
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

YouTube Search

YouTube Search results are regular public videos matched to a keyword or phrase, with titles, channels, thumbnails, duration, publication details, and visible engagement. These records support topic discovery, content research, competitor tracking, and opportunity analysis.

Features

  • URL-free video discoveryDiscover public regular videos without knowing their URLs in advance.
  • Result sortingSort results by relevance, publication date, rating, or public view count.
  • Publication windowsFilter results by hour, day, week, month, or year publication windows.
  • Duration and caption filtersFilter by short, medium, or long duration and require caption availability when needed.
  • Normalized video resultsReturn normalized video metadata, channel information, thumbnails, duration, publication data, and public metrics.

Parameters

ParametersRequiredDescription
queryRequiredKeyword or phrase used to discover public videos.
results_limitOptionalMaximum number of public video results to request. Must be a positive integer and defaults to 100.
sort_byOptionalResult ordering. Defaults to relevance.
published_withinOptionalOptional publication window measured from the current request time.
durationOptionalOptional YouTube duration category.
has_captionsOptionalOptional caption-availability filter. Leave untouched to omit this filter.

How to Use

Write the query as a retrieval strategy, not just a keyword. Begin broad enough to inspect the landscape, then add one filter at a time so you can see which decision removed candidates.

  1. Define the topic and the question: best topical matches, newest coverage, highly viewed items, or transcript-ready candidates.
  2. POST query and results_limit plus only the sort and filters needed for that question to /v1/youtube/search.
  3. Store the full request with task_id, then poll /v1/tasks/{task_id} until discovery succeeds or fails.
  4. Deduplicate results by video ID, preserve rank context and collected_at, and paginate while has_more is true.
curl -X POST "https://api.socq.ai/v1/youtube/search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"NASA Artemis","results_limit":10,"sort_by":"date","published_within":"month","duration":"medium","has_captions":true}'

# Poll GET /v1/tasks/{task_id}
# Read GET /v1/tasks/{task_id}?limit=50

Best Use Cases

  • Topic and market research: Discover public videos about products, industries, organizations, events, or emerging topics.
  • Creator and competitor discovery: Use search results and publishing channel information to identify relevant creators, brands, or competitors.
  • Recent video monitoring: Combine date sorting and publication windows to collect recent videos for review or analysis.
  • Transcript-ready datasets: Require caption availability to find videos for transcript collection, summarization, classification, or search.

Pro Tips

  • Test two or three precise query variants instead of hiding every concept inside one long phrase. The overlap is often as informative as the differences.
  • Add filters progressively. If you specify publication window, duration, and captions at once, an empty result gives little clue which constraint was too narrow.
  • Use date with published_within for monitoring; relevance with no window answers a different, broader research question.
  • Ranking is not stable. Save the request, task ID, video ID, and collected_at whenever the position or composition of the sample matters.
  • results_limit is a ceiling, not a completeness guarantee. Public eligibility and the selected filters can yield fewer records.
  • Deduplicate across query variants by video ID, but retain which query produced each match for later relevance analysis.
  • Once a URL is known, use Videos for refreshed details and Transcripts for available caption text rather than repeatedly searching for it.

Use these APIs when you need a different type of public YouTube data.

  • YouTube Channel Videos API — Collect regular public videos from channel URLs, excluding Shorts and live streams.
  • YouTube Comments API — Collect public comments, authors, engagement, source videos, and conversation context.
  • YouTube Transcripts API — Retrieve available plain-text transcripts with optional language selection.
  • YouTube Channels API — Retrieve public channel identity, images, verification, and visible audience statistics.
  • YouTube Videos API — Retrieve metadata, thumbnails, duration, and engagement for known video or Short URLs.
  • YouTube Shorts API — Collect public Shorts, thumbnails, duration, publication details, and engagement by channel.
  • YouTube Channel Live Videos API — Collect public broadcast records exposed on channel live surfaces, with source context and visible metrics.
  • YouTube Comment Replies API — Continue a known YouTube comment thread from its reply token and return public replies, authors, engagement, and parent context.
  • YouTube Community Posts API — Collect public Community-tab posts from channel URLs, including text, channel identity, timestamps, image references, and source context.
  • YouTube Hashtag Search API — Find public videos from hashtag feeds with all-content or Shorts-only collection.
  • YouTube Playlist Videos API — Collect video identity, channel context, thumbnails, duration, and playlist provenance from public playlist URLs or IDs.

Explore other platforms

Combine YouTube data with public data from other supported social platforms.

YouTube Search API — FAQ