Skip to content
EN
Get API key

YouTube Data API AI-ready video metadata.

FlashData's YouTube Data API returns video metadata, existing captions with timestamps, search results and channel details as JSON. Use Bulk jobs to retrieve metadata and captions for a file of video IDs.

Try up to 4,000 standard YouTube requests for free.

No credit card required.Trial details

API playground

API PLAYGROUND
API docs
Fixed for this demo; configurable in API callsConfigure API request
API options
Search results
Recorded response
{
"results": [
{
"results": [
{
"thumbnails": [
{
},
{
}
]
},
{
results[0].results[0].title↔ result
Recorded response · 2026-09-14 08:45:09 UTC

Select a result to highlight its JSON fields.

Protected by reCAPTCHA. Privacy · Terms

See your first API request
YouTube data sources
8
Extended Search requested results
Up to 700
Trace text to the video
Timestamps

START WITH YOUR TASK

Which YouTube API do you need?

Start with what you have and the result you want. Each source below links to its request parameters and response example.

Scroll horizontally to compare all columns →

Choose a YouTube data source by task
Your taskStart withChoose this APIWhat to expect
Find videos, channels or playlistsSearch queryyoutube_searchRequest 1–20 results. Uses the standard YouTube Data rate.
Search a larger collectionSearch queryyoutube_search_extendedRequest 1–700 results. Separate Extended Search rate; availability determines the returned count.
Read video detailsVideo IDyoutube_metadataTitle, description, engagement and optional chapters or formats.
Get existing subtitle textVideo ID + languageyoutube_transcriptyoutube_captionsTranscript defaults to automatic captions; Captions defaults to uploader-provided tracks. Neither creates a transcription or translation.
Explore a channelChannel handleyoutube_channelChannel profile and recent videos.
Suggest search termsSearch queryyoutube_suggestionsAutocomplete suggestions, with language and region options.
Classify the video licenseVideo IDyoutube_trainabilityChecks the Creative Commons license label. Does not establish model-training permission.

Standard YouTube Data

$0.50 / 1,000 requests · Pay as you go

Includes Search, Metadata, Transcripts, Captions, Channels, Suggestions and License Check.

Extended Search

$2.50 / 1,000 requests · Estimated Pay as you go

For broader discovery, up to 700 requested results. Uses a separate rate from standard YouTube Data. The estimate comes from the public source catalog; check your account’s source rate before running a large workload.

Extended Search details

YouTube Search API: Python Guide

YouTube Search API Python toolkit

WHY YOUTUBE DATA API

Video search, transcripts and bulk processing.

01

Search filters.

Search by keyword, refine by upload date, duration or other filters, and request up to 700 results with Extended Search. Returned counts depend on availability.

02

Captions with timestamps.

Retrieve available captions with timestamps so readers can return to the relevant part of a video. Add titles, channel details and available chapters to your records.

03

Bulk metadata and transcripts.

Upload a list of video IDs to process metadata, transcripts, captions or license checks with Bulk jobs. Track the collection’s progress and retrieve its results together.

FEATURES

Eight YouTube data sources.

Find relevant videos, explore their details and retrieve the text available on YouTube.

YouTube transcript APIs: existing captions or speech-to-text

USE CASES

Applications for video data.

Video knowledge bases

Index available transcripts with video IDs and timestamps so users can find passages and return to the source.

Content & channel research

Combine search, channel information and video metadata to organize a collection or study published content.

AI application context

Feed retrieved text and metadata into your own summarization, question-answering or research workflow.

GET STARTED

How to retrieve YouTube data.

  1. 01

    Find your source

    Search for videos or start with a known video ID. Use a channel handle when exploring a creator’s recent videos.

  2. 02

    Choose the data

    Request metadata or an available transcript. Select the language and whether to use automatic or uploader-provided captions.

  3. 03

    Use the results

    Index text with timestamps, enrich your video library or use the retrieved data in your own AI application.

Read the integration guideConnect your AI assistant with MCP
EXAMPLE REQUESTRealtime
Python 3 · requests
python3 -m pip install requests
import json

import requests

api_key = "YOUR_API_KEY"
payload = {
    "source": "youtube_transcript",
    "video_id": "dQw4w9WgXcQ",
    "params": {
        "language": "en",
        "auto": True,
    },
}

response = requests.post(
    "https://data.flashdata.dev/v1/queries/realtime",
    headers={"X-API-Key": api_key},
    json=payload,
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), ensure_ascii=False, indent=2))

Replace YOUR_API_KEY near the top of the example. Keep real keys out of source control.

USAGE PRICING

YouTube Data API
pricing.

The rate shown applies to all YouTube Data APIs except Extended Search, which has its own rate. Each query in a batch is billed separately.

Shared Credits across Google and YouTube APIs.
From$0.20per 1,000 standard requestsUSD · Business plan · Subscription required · $1,999.00 / monthCompare all plans

FAQ

Frequently asked questions.

Contact support
How do I start my free trial?
Create an account and verify your email. Eligible accounts receive trial Credits automatically. View your balance in account overview. No credit card is required.
How is the trial allowance shared?
One shared trial balance covers Google Search, YouTube Data and downloads. This estimate uses current Pay as you go rates for this product. This estimate covers standard YouTube Data requests. Extended Search has a separate, higher rate. Check your balance in the console.
What does the starting price require?

The starting usage rate is $0.20 per 1,000 standard requests on the Business plan. This rate requires a subscription costing $1,999.00 / month; the plan includes 40,000 Credits per billing period. Usage consumes Credits, and additional top-ups are charged separately. The rate shown applies to all YouTube Data APIs except Extended Search, which has its own rate. Each query in a batch is billed separately.

Current prices and plan limits
What is FlashData's YouTube Data API?

Retrieve YouTube search results, video metadata, existing captions, channel details, suggestions and license information. Responses default to JSON. Standard sources share your plan's YouTube Data rate; Extended Search has a separate rate.

Read the reference
Can you transcribe a video that has no captions?

No. FlashData retrieves existing YouTube captions; it does not transcribe audio or create translations. Choose a language and automatic or uploader-provided captions. If that selection is unavailable, you’ll need to request another available track.

How do I get YouTube transcripts in a specific language?

Send the video ID to youtube_transcript with params.language set to a language code, or an array of up to 10 distinct codes. Set params.auto to true for automatic captions or false for uploader-provided captions. Results contain available caption text with timestamps; FlashData does not create translations.

Read the reference
Can I get YouTube video metadata without downloading the video?

Yes. Send the video ID to youtube_metadata to retrieve the title, description, channel information, engagement and available chapters. This returns metadata without creating a media download job or requiring cloud storage.

Read the reference
Can I choose JSON, plain text or Markdown?

Yes. JSON is the default. Choose plain text or Markdown in the playground, or use the response headers in your API request. See the guide for examples.

Read the reference
Does Extended Search always return 700 results?

No. You can request up to 700 results, but the actual count depends on the query, filters and available results. Standard Search accepts up to 20 results. Extended Search has its own rate.

Can I get YouTube transcripts and metadata for a list of video IDs?

Yes. Upload a text file of video IDs to retrieve metadata, transcripts, captions or license checks with a Bulk job. For search, channels and suggestions, use individual requests or submit a regular batch.

Read the reference
Does the license check confirm I can train a model?

No. It checks whether a video’s license is identified as Creative Commons. It does not retrieve YouTube’s separate training permissions or confirm permission for your intended use.

Is FlashData the official YouTube Data API?

FlashData is a separate service with its own API key, request schemas, billing and response formats. The official YouTube Data API is Google's service for YouTube resources and authorized account operations. Choose according to the data and operations your application requires.

Read the reference
Which sources accept a Bulk file?

File-based Bulk supports video metadata, transcripts, captions and license checks, as well as media downloads. Search, Extended Search, channels and suggestions use individual requests or regular batches. Bulk takes one video ID per line and admits work within your plan's limits.

Read the reference

Access the YouTube Data API.

Verify your email to receive trial Credits if eligible. No credit card required.