Documentation Index
Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
Use this file to discover all available pages before exploring further.
$0.2 / 1k results
Extract YouTube search results for a query, providing video, channel, and playlist titles, links, and descriptions
Endpoint
POST /api/v1/agents/youtube/search/run
Parameters
Text · The YouTube keywords to search for.
Dropdown · Filter by content type (videos, channels, playlists).Options:
video, channel, playlist, movie, show, shortsNumber · Total results to fetch. Use 0 for all (minimum: 20).
Dropdown · Sort order for the results. Relevance by default. Note: sorting is not available for Shorts.Options:
relevance, rating, date, viewsDropdown · Filter by video length.Options:
short, medium, longDropdown · Restrict results to a recent time range.Options:
hour, today, week, month, yearDropdown · Country to search YouTube from.View all 57 options →
Dropdown · Language for results.View all 36 options →
Response columns
| Field | Display name | Type |
|---|---|---|
title | Title | text |
description | Description | text |
duration | Duration | text |
views | Views | text |
publishedAt | Published At | text |
channel | Channel | text |
channelHandle | Channel Handle | text |
channelBadges | Channel Badges | text |
channelVerified | Channel Verified | boolean |
type | Type | text |
thumbnail | Thumbnail | url |
animatedThumbnail | Animated Thumbnail | url |
channelAvatar | Channel Avatar | url |
Example
Example response
Response