seo/
youtube-serp

The YouTube Rank Tracker API shows the videos YouTube lists for a search in the country and language you pick, in ranking order, with each video's title, channel, view count, length, thumbnail and publish date.

YouTube Rank Tracker API

Ranking order
Ranked videos
Channel and views
Any country and language
0.5 credits / result
Ready
Ready

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

README

By SocQ · Updated

YouTube Rank Tracker

YouTube search rankings are the ordered list of videos YouTube shows for a query in a given country and language, and they decide which videos get discovered for the topics people look up. Tracking them for target keywords shows where a channel's videos land, which channels own a topic in each market, how fresh and how long the winning videos are, and which keywords have thin results worth competing for.

YouTube Rank Tracker API Features

  • Videos in ranking orderRows follow YouTube's search order for the query, and each one is a video with its id, watch url and title in text.
  • The channel behind each videoauthor carries the channel id, name, url and avatar, so rankings can be grouped by channel.
  • Views, length and publish datemetrics.views_count, duration_seconds and published_at show how popular, how long and how recent each ranking video is.
  • Thumbnail for every resultmedia holds the video thumbnail, ready for a visual report of the results page.
  • Rankings per marketSet the country and language of the search and read 1 to 200 videos with results_limit.

YouTube Rank Tracker API Parameters

ParametersRequiredDescription
queryRequiredKeyword to search on YouTube, such as crm tutorial.
location_codeOptionalLocation code of the search market. Defaults to 2840 (United States).
location_nameOptionalMarket name as an alternative to location_code. When filled, it is used instead of location_code.
language_codeOptionalLanguage code of the search. Defaults to en.
languageOptionalLanguage name as an alternative to language_code. When filled, it is used instead of language_code.
results_limitOptionalMaximum number of videos, from 1 to 200. Defaults to 20.

How to Use the YouTube Rank Tracker API

Send a search query to the YouTube Rank Tracker API and read one row per video in ranking order.

  1. POST {"query": "crm tutorial", "location_code": 2840, "language_code": "en", "results_limit": 20} to /v1/seo/youtube-serp.
  2. Poll GET /v1/tasks/{task_id} until status is succeeded.
  3. Read videos from results.items in order, and request the next page with results.next_cursor while has_more is true.
curl -X POST "https://api.socq.ai/v1/seo/youtube-serp" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"crm tutorial","location_code":2840,"language_code":"en","results_limit":20}'

YouTube Rank Tracker API Use Cases

  • Track your videos for target keywords: Schedule the YouTube Rank Tracker API for your keywords and record the position of each video whose author id is your channel.
  • See which channels own a topic: Count how often each author appears in the results for a set of keywords to map the channels that dominate a topic in each market.
  • Find keywords worth competing for: Look for queries whose top videos have low views_count or old published_at, a sign that a strong new video can move up.
  • Plan video length and format: Compare duration_seconds across the top results to see what length YouTube is rewarding for a topic.

YouTube Rank Tracker API Pro Tips

  • If you store positions, record each video's place in the returned order together with the query, market and date, since the order is the ranking.
  • When you match your own videos, compare author.id rather than the channel name, which can change.
  • If you only follow the first screen of results, keep results_limit near 20, since the YouTube Rank Tracker API bills 0.5 credits per video.

Beyond the YouTube Rank Tracker API, use these APIs when you need a different type of public SEO data.

  • Google Organic SERP API — Retrieve one live Google result page by query and market with normalized destinations, ranks, element types, and full result details.
  • Keyword Difficulty API — Compare organic ranking difficulty for a submitted keyword batch, returning each available keyword with its normalized score.
  • Keyword Overview API — Enrich a submitted keyword batch with available demand, paid competition, difficulty, monthly-search, and intent context.
  • Keyword Search Volume API — Measure known keywords with available search volume, CPC, paid competition, and monthly search history.
  • Keywords for Site API — Generate keywords relevant to one website with available demand measurements, monthly history, market context, and complete source rows.
  • Google Autocomplete API — Collect the search completions Google suggests for the start of a query, in Google's order, for any country and language.

Explore other platforms

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

YouTube Rank Tracker API — FAQ

YouTube Rank Tracker API returns the videos YouTube lists for a search query in the chosen country and language, in ranking order, with each video's title, channel, views, duration, thumbnail and publish date.

Yes. Each row is a ranked video in search order, and author holds the channel that published it.

results_limit accepts 1 to 200 and defaults to 20.

Each video returned costs 0.5 credits.