Skip to content

Search: Videos

Video metadata with duration in milliseconds. Use it for tutorial discovery, content research, and video SERP coverage.
const page = await google('node.js streams', { type: 'videos' })

Result fields

FieldTypeDescription
titlestringVideo title
urlstringVideo page URL
descriptionstringVideo description snippet
image{ url }?Video thumbnail
video{ url }?Direct video URL if available
durationnumber?Duration in milliseconds
duration_prettystring?Human-readable duration ('25m', '1h')
publisherstring?Platform name
channelstring?Channel or creator name
datestring?ISO 8601 publish date
const page = await google('node.js streams', { type: 'videos' })

page.results[0]
// {
//   title: 'Learn Node.js Streams in 25 minutes | NodeJS Tutorials for ...',
//   channel: 'Dipesh Malvia',
//   url: 'https://www.youtube.com/watch?v=EcznOgzOdxI',
//   description: 'In this video we will understand what are streams, types of streams and their uses in Node.js...',
//   date: '2024-08-22T12:00:00.000Z',
//   publisher: 'YouTube',
//   duration: 1502000,
//   duration_pretty: '25m'
// }

See also

  • Images — when you need static image metadata instead of video.
  • Content expansion — fetch the source page content for any video result.