Skip to main content
POST
Search Google's Videos tab for videos from every site, with duration and channel
Searches Google’s Videos tab for videos from every site, with duration and channel.

Request

query is required.

Response

If successful, the response body contains the standard envelope. data.results[] contains the videos, each with its site, channel and length. The following example is illustrative.
For every field, see the response schema on this page.

Optional parameters

Billing

Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.

Pagination

Results are paginated. To retrieve the next page, increment page. An empty data.results indicates the last page. The maximum value of page is 20.
  • YouTube video: Accepts a YouTube url as videoUrl. Returns a video’s stats, description, chapters and most replayed moments.
  • YouTube transcript: Accepts a YouTube url as videoUrl. Returns what a YouTube video says, from its captions.
  • TikTok video: Accepts a TikTok url as videoUrl. Returns a video’s caption, stats and music.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required
Required string length: 1 - 400
country
string

ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
language
string

Two-letter language code like en or pt. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
includeDomains
string[]
Maximum array length: 10
excludeDomains
string[]
Maximum array length: 10
time
enum<string>

Google's Tools time filter. Leave out for any time.

Available options:
pastHour,
past24Hours,
pastWeek,
pastMonth,
pastYear
duration
enum<string>

Google's own Duration: short is under 4 min, medium 4–20, long 20+.

Available options:
short,
medium,
long
highQuality
boolean
default:false

Google's own High quality.

closedCaptioned
boolean
default:false

Google's own Closed captioned.

page
integer
default:1

Page number, starting at 1.

Required range: 1 <= x <= 20

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required