YouTube search
Search YouTube for videos, channels, or playlists by topic or keyword. Set type to narrow the result kind, sort_by:'date' + upload_date for recency-first monitoring, and duration to filter video length. For one channel's own uploads use the youtube_channel_* tools.
Authorization
bearerAuth JWT token from authentication
In: header
Header Parameters
Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/social/youtube_search" \ -H "Content-Type: application/json" \ -d '{ "organization_id": "string", "input": { "query": "string" } }'{ "operation": "instagram_profile", "result": { "summary": "string", "query": "string", "count": -9007199254740991, "estimated_results": 0, "results": [ { "id": "string", "url": "string", "title": "string", "description": "string", "channel": { "id": "string", "title": "string", "handle": "string", "url": "string" }, "published_at": "string", "published_text": "string", "length": "string", "view_count": 0, "view_count_text": "string", "like_count": 0, "comment_count": 0, "thumbnail": "string", "kind": "video" } ] }, "requests": 0, "credits_charged": 0}