YouTube Search
Search YouTube directly for videos, channels, and playlists. Returns a mixed-type result list where each item carries a type discriminator. Supports sort_by=view_count, fine-grained upload_date buckets, and a custom published_within_days filter.
GET/api/search
Search everything on YouTube in one call — videos, channels, and playlists in the same result list, each tagged with its type.
| Every call (shared by all live lookups) | 3,000 | 6,000 | 12,000 |
Calls a day on each plan. See every tool’s limits
Query Parameters
| qstring · required | Search query. |
| typestring · optional · default all | all, video, channel, playlist, movie. |
| sort_bystring · optional · default relevance | relevance, view_count, upload_date, rating. |
| upload_datestring · optional · default all | all, hour, today, week, month, year. |
| durationstring · optional · default all | short (<4m), medium (4–20m), long (>20m). Videos only. |
| published_within_daysinteger · optional | Narrow videos to those posted in the last N days. Finer than upload_date — use for phrasings like “last 3 days”. Auto-picks the tightest native bucket, fetches a larger batch, and post-filters. |
| limitinteger · optional · default 30 | Max results (1–100). |
Example Requesttext
Example Responsejson
| 200 | Success |
| 401 | Auth failed |
| 500 | Server error |
