Skip to content

Search: Images

Full-resolution image URLs with dimensions. Use it for visual references, asset discovery, and image metadata retrieval.
const page = await google('northern lights', { type: 'images' })

Result fields

FieldTypeDescription
titlestringImage title or alt text
urlstringSource page URL
image{ url, width, height }Full-resolution image
thumbnail{ url, width, height }Smaller preview
google{ url }?Google Images viewer link
creatorstring?Image creator attribution
creditstring?Image credit or copyright
const page = await google('northern lights', { type: 'images' })

page.results[0]
// {
//   title: 'Northern lights (aurora borealis) — What they are and how to see them | Space',
//   url: 'https://www.space.com/15139-northern-lights-auroras-earth-facts-sdcmp.html',
//   creator: 'Frank Olsen',
//   image: {
//     url: 'https://cdn.mos.cms.futurecdn.net/57jQMDN5MZLYfV8ps8HuZQ.jpg',
//     width: 2121,
//     height: 1193
//   },
//   thumbnail: {
//     url: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlKTwHpVqCxOgupSwj5tnQkfBpG8thtV5J4A&s',
//     width: 300,
//     height: 168
//   }
// }

See also

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