Skip to content
WagamiAI
ProductPricingDocsMCPCompareSupportSign inGet started

YouTube search with every filter, as JSON.

Videos, channels, playlists, shorts and live streams, filtered by length, upload date, features and sort, up to 100 results in one call.

Sign up is open, no card needed. Read the docs or the plain-text reference.

Every filter

The filters people use on YouTube: upload date, length, sort by views or date, and features such as 4K, HDR, subtitles, Creative Commons and live.

Suggestions and hashtags

/v1/suggest returns what people type after a few letters, /v1/hashtag the videos on a hashtag page. Both are made for finding topics.

Priced per answer

3 credits per 20 results ($1.50 per 1,000 searches of 20). A search that finds nothing costs nothing, and your balance is the only limit.

A search

You send JSON. You get JSON.

Every field in the answer is named the same on every call.

  • Videos, channels, playlists, shorts, live
  • Up to 100 results a call
  • Also an MCP tool: search_youtube
POST /v1/search
curl -X POST "https://wagamiai.com/v1/search" \
  -H "Authorization: Bearer $WAGAMI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "f1 onboard", "upload": "week", "duration": "short", "sort": "views", "limit": 20}'
answer
{ "ok": true,
  "items": [
    { "id": "…", "title": "…", "channel": "…",
      "channel_id": "…", "views": …,
      "duration": …, "published_ts": …,
      "thumbnail": "…" },
    …
  ] }

Questions

Good to know

What does a search cost?

3 credits per 20 results returned, at least 3 when anything comes back: $1.50 per 1,000 searches of 20 at the base rate. A search with no results is free. See pricing.

Can I search only Shorts or live streams?

Yes: set kind to shorts or live. Channels, playlists and movies have their own kinds too.

Which filters are there?

Kind (video, channel, playlist, movie, shorts, live), upload date (hour to year), length (short, medium, long), sort (relevance, views, date, rating) and features (HD, 4K, HDR, subtitles, Creative Commons, live, 360, VR180, 3D and more). Every parameter is in the docs.

Can an AI agent use it?

Yes, as the search_youtube tool on the MCP server, or over plain HTTPS.

One key. Pay per answer.

2,000 credits = $1, from $25. Credits never expire and errors are never charged.