Video API·15 credits per call

Retrieve YouTube search results programmatically.

Send a search query and receive structured JSON data for videos, channels, and playlists. No Google Cloud quota management required.

POSTautomatio.ai/api/v1/query{ tool: "youtube_search", params: { query: … } }

Live demo

Try it live.

Change the parameters and run a real request against the endpoint. No account, no key.

Queryrequired
Limitrequired

Free to try, no account. Costs 15 credits on your own key.

POST /api/v1/query · youtube_search

Run the request to see a live response.

Request
curl -X POST https://automatio.ai/api/v1/query \
  -H "Authorization: Bearer $AUTOMATIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"youtube_search","params":{"query":"web scraping tutorial","limit":5}}'

How it works

One request, one response.

  1. 1

    Submit query parameters

    The caller sends a POST request with the search term and optional filters for time or location.

  2. 2

    Process search request

    The system queries the public YouTube index to retrieve the most relevant matching metadata.

  3. 3

    Receive structured JSON

    A JSON object returns containing the requested number of results and their associated metadata.

Capabilities

What you get.

Everything this endpoint does, without running the infrastructure yourself.

Date based filtering

Narrow results using the orderBy parameter to find the latest content from the last hour or current year.

Geographic targeting

Use the country parameter to retrieve search results specific to a particular region or market.

Language localization

Specify the lang parameter to ensure results match the linguistic requirements of your application.

Volume control

Control the amount of data returned and the credit cost per request by setting the limit parameter.

Cost of ownership

Build it yourself, or call this.

Both are real options. Here is what each one actually costs you.

Run it yourself

  • Spin up headless browser instances like Playwright or Puppeteer
  • Implement rotating proxy pools to prevent IP blocks and CAPTCHAs
  • Maintain custom DOM parsers that break when the UI updates.

Call the API

  • Single POST request to a unified endpoint
  • No infrastructure to maintain or proxy list to manage
  • Standardized JSON output that remains consistent regardless of layout changes.

Integrate

Built for the language you use.

One HTTP endpoint. Copy the call in your language and go.

example.sh
curl -X POST https://automatio.ai/api/v1/query \
  -H "Authorization: Bearer $AUTOMATIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "tool": "youtube_search", "params": { "query": "web scraping", "limit": 10 } }'

In production

What people build with it.

Competitive analysis tools

Monitor specific keywords to track how competitors are ranking for new product launches. You send a query for the competitor name and receive a list of recent videos to analyze their market reach and engagement.

Brand mention alerts

Automate the discovery of new videos mentioning a brand name to trigger sentiment analysis. Use the orderBy parameter set to last_hour to poll for fresh mentions and alert community management teams.

AI content discovery

Feed relevant video URLs into transcription workflows to build datasets for RAG systems. This endpoint provides the entry point URLs needed to trigger subsequent transcription and analysis tools.

Choosing parameters

Which options matter.

The table below lists what exists. These are the calls worth making deliberately.

orderBy
Use this when building news or monitoring tools to prioritize fresh content; the default search often favors historical authority. Setting this to last_hour is optimal for real-time alerting.
limit
Set a specific value to manage credit consumption. While requesting 50 results costs the same as 5, smaller limits can improve response speed for latency-sensitive applications.
country
Combine this with the lang parameter when performing localized market research. This ensures the results reflect what a user in a specific region actually sees on their local search page.

Alternatives

When to use something else.

A page that pretends it has no alternatives reads as an advert. These are the other real options.

YouTube Data API v3

Best if you already have a Google Cloud project and your volume fits within their daily quota limits without high costs.

Manual Export

A viable choice for one-off research tasks where the time to integrate an API exceeds the time to copy-paste data.

Before you integrate

What it does not do.

The boundaries are as useful as the features. These are the ones worth knowing up front.

Public data only

This endpoint only returns data for publicly available videos, channels, and playlists. It cannot access private content or restricted member-only videos.

No engagement actions

It cannot be used to post comments, like videos, or subscribe to channels. It is a read-only metadata retrieval tool.

No streaming access

The API provides metadata and URLs but does not serve raw video files or bypass player requirements for playback.

Reference

15 credits per call
Endpoint
POST https://automatio.ai/api/v1/query
Tool ID
youtube_search

Parameters

NameTypeRequiredDescription
querystringSearch query (e.g., "how to code in python")
limitnumberMaximum number of results to return (default: 10, max: 50)
langstringLanguage code (e.g., "en", "es", "fr") - optional
orderBy"last_hour" | "today" | "this_week" | "this_month" | "this_year"Filter by upload time - optional (e.g., "this_month" for recent uploads)
countrystringCountry code in lowercase (e.g., "us", "uk", "de") - optional

The same endpoints are available over MCP, and the full machine-readable catalogue lives in the API documentation.

Frequently Asked Questions

Find answers to common questions about YouTube Search API

More than just prompts

Supercharge your workflow with AI Automation

Automatio combines the power of AI agents, web automation, and smart integrations to help you accomplish more in less time.

AI Agents
Web Automation
Smart Workflows