Keyword search with cursor pagination

YouTube Video Search API

Use the YouTube Video Search API to find public videos by keyword. Choose a language, country and sort order, then use the returned IDs, titles and available channel details to build a video shortlist.

Build a video shortlist for a topic

Use YouTube keyword search to make a source list for a company or topic. Keep the title, video ID and available channel details for each match. Save the keyword, language, country and sort order with the shortlist so a teammate or agent can repeat the same search settings.

Read the saved NVIDIA search

The saved NVIDIA response includes a CNBC Television video. Use data.result.items[].id as the video identifier and data.result.items[].title for the shortlist. In the same row, data.result.items[].durationText shows 8:21 and data.result.items[].viewCountText shows 161,393 views as display text. Some rows omit duration. You can review the saved example before running a query.

Pagination and credits

Page sizes can vary. Continue only when data.result.hasMore is true and data.result.next_cursor is nonempty and different from the current cursor. Pass the returned token unchanged. Each successful page with results uses the current configured rate. Empty results and failed queries use no credits.