Use case, YouTube video search

YouTube video search API for your agent. One call per search.

Send a keyword. Read video title and link back. Your agent picks the provider, and you pay per call.

Give this to your agent
set up looot - https://looot.ai/skill.md

The job

What the YouTube video search API gives your agent

A YouTube search shows what people watch for a topic. Your agent sends a keyword and reads back the videos with their views, dates, durations and channels. It tells you which angles are crowded, which are old and which channels own a topic.

One provider returns videos, channels, playlists, Shorts and live streams in one search, with filters for upload date, duration and sort order. Another focuses on videos and takes a country and a language code. A third returns the organic YouTube results as live tasks, in the format of an SEO data provider.

You give

a keyword

home espresso setup

You get

  • Video title and link
  • View count
  • Publish date
  • Duration
  • Channel

Sample calls

The request and what comes back

Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.

Request
{"endpointId":"scrapecreators-youtube-search","input":{"query":"home espresso setup"},"wait":30}
ResponseSample output
// POST /v1/runs, then read run.status and run.result
// result: returns videos, channels, playlists, Shorts, shelves and live streams, with filters for upload date, duration, type and sort order

The prompt

Copy one prompt, give it to your agent.

Edit the names and numbers, paste it, and the agent runs the job and shows the cost.

  • One run is one search.
  • 1 steps across 3 providers.
  • Runs on demand, whenever you ask.
Prompt: YouTube video search API
Use looot to search YouTube for home espresso setup and return the title, channel, views, publish date and duration of the top results, newest and most viewed first. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for each step and check its price before you call. 3. Run the cheapest endpoint that fits. 4. Show the results as a table and the total cost.

Give this to your agent
Setup command
set up looot - https://looot.ai/skill.md

Before you start

Settle these before the first run

  • Say which result type you want. A broad search returns videos, channels and playlists together, and filtering to videos keeps the list clean.
  • Set the upload window. Old videos with a million views and new ones with ten thousand answer different questions.
  • Set the country and language on providers that take them. Results differ by market.

FAQ

Questions people ask

Which angles are crowded, which videos are old but still rank and which channels own a topic. Your agent can sort by views per day since upload to find the videos that outperform.

For agents
use case
YouTube video search API
run
search
schedule
on demand
step
Search YouTube: scrapecreators tikhub dataforseo
setup
https://looot.ai/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-04

Try YouTube video search with your own agent.

Start your workspace, top up, and paste the prompt into the agent you already use.