Google
Google videos API
Search Google’s Videos tab for videos from every site, with duration and channel. Call the Google videos API for JSON. 1 credit per call.
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, incrementpage. An empty data.results indicates the last page. The maximum value of page is 20.
Related methods
- YouTube video: Accepts a YouTube
urlasvideoUrl. Returns a video’s stats, description, chapters and most replayed moments. - YouTube transcript: Accepts a YouTube
urlasvideoUrl. Returns what a YouTube video says, from its captions. - TikTok video: Accepts a TikTok
urlasvideoUrl. Returns a video’s caption, stats and music.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 400ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Two-letter language code like en or pt. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Maximum array length:
10Maximum array length:
10Google's Tools time filter. Leave out for any time.
Available options:
pastHour, past24Hours, pastWeek, pastMonth, pastYear Google's own Duration: short is under 4 min, medium 4–20, long 20+.
Available options:
short, medium, long Google's own High quality.
Google's own Closed captioned.
Page number, starting at 1.
Required range:
1 <= x <= 20