Back to explore

social

YouTube

Search for YouTube videos

Introduction

Simple search for YouTube videos. Find whatever you're looking for programmatically.

Features

Embed

Embed a YouTube video

Search

Search for videos on YouTube

Pricing

EndpointCreditsQuotas
EmbedBaseNone
SearchBaseNone

Base request price is 0.000001 credits per request

Get Started

Example

Embed Request

Response

{
    "embed_url": "https://www.youtube.com/embed/GWRWZu7XsJ0",
    "html_script": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/GWRWZu7XsJ0\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>",
    "long_url": "https://www.youtube.com/watch?v=GWRWZu7XsJ0",
    "short_url": "https://youtu.be/GWRWZu7XsJ0"
}