YepAPI

Command Palette

Search for a command to run...

POST/v1/serp/youtube

YouTube SERP API

YouTube search results API. Get video rankings, channel data, and metadata on the world's largest video platform. YouTube SEO tracking from $0.01/call.

Live YouTube search results. Get video rankings, channel data, and metadata for any search query on the world's largest video platform.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/serp/youtube
Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "query": "best react frameworks 2026",
    "totalResults": 1240000,
    "items": [
      {
        "position": 1,
        "type": "organic",
        "title": "Top 10 React Frameworks in 2026",
        "url": "https://example.com/react-frameworks",
        "description": "A comprehensive guide to the best React frameworks...",
        "domain": "example.com"
      }
    ]
  }
}

Features

Up to 20 YouTube search results per query

Each POST to /v1/serp/youtube returns up to 20 video results for a search query, with the depth param controlling paging so you can capture the ranked video SERP for any keyword.

Video title, URL, and channel

Every result returns the video title, its URL, and the channel that published it, so you can identify which creators own visibility for your target search terms.

View count and publish date

Each item includes the video's view count and publish date, letting you weigh ranking position against popularity and recency when analyzing the results.

Location and language targeting

Set the location and language fields to retrieve YouTube results for a specific country and locale, since video rankings are personalized by region.

Video result type classification

The type field on each result lets you distinguish standard video listings from other blocks YouTube returns in search.

Use cases

YouTube SEO

Track video rankings for your target keywords on YouTube.

Content Research

Analyze what video content ranks for target topics on YouTube.

Competitor Video Analysis

Monitor competitor video performance and ranking positions.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/serp/youtube', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "query": "best react frameworks 2026",
    "depth": 10,
    "location_code": 2840,
    "language": "en"
  }),
});
const data = await res.json();
console.log(data);

YouTube SERP API — track video rankings on the largest video platform

The YepAPI YouTube SERP API returns live YouTube search results as structured JSON. Send a query and get ranked videos with titles, URLs, channels, view counts, and publish dates.

It runs on the same key as YepAPI's Google, Bing, and other SERP endpoints plus scraping and AI, so YouTube SEO tracking joins your wider search workflow at $0.01 per query.

What is a YouTube Search API?

A YouTube Search API lets you programmatically query YouTube and get structured video results instead of scraping the results page. For a keyword it returns each video's title, URL, channel, view count, and publish date, ordered by position, with a type field per result. Because YouTube is the world's second-largest search engine, video rankings there drive enormous discovery — and they depend on signals distinct from web search. The API captures those video positions directly for any keyword and market, so you can analyze what ranks without running a headless browser against YouTube's search UI.

Build your own YouTube SEO tool

With ranked video data as JSON you can build a YouTube rank tracker, a channel-competitor monitor, or a video content-research tool. Loop your target keywords through the endpoint, store each video's position, channel, views, and publish date, and chart how your videos move over time. The view-count and date fields let you spot which formats and freshness win rankings, and tracking it on the same YepAPI key as Google lets you compare video versus web visibility for the same query.

YouTube SERP API pricing — $0.01 per query

Each call to /v1/serp/youtube is a flat $0.01 for up to 20 video results. No subscriptions, no minimums. SerpApi charges $0.05 per query and video-SEO suites cost far more per call. Because every YepAPI SERP endpoint is priced at $0.01, tracking YouTube rankings across a large keyword set stays cheap and predictable.

Research video content and competitors

Ranking on YouTube means understanding what already wins. Use the endpoint to see which videos and channels hold the top positions for your topics, weigh them by view count and recency, and find gaps your content can fill. Monitor competitor channels over time, and re-run queries with different location and language values to track how video rankings shift across the markets you target.

Try the YouTube SERP API free

Get $5 in free credit, no credit card needed. That covers 500 YouTube queries — enough to benchmark your video keywords, monitor competitor channels, and test location and language targeting before choosing a paid plan.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Live YouTube search results. Get video rankings, channel data, and metadata for any search query on the world's largest video platform.

Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/serp/youtube. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More serp api endpoints