YouTube Kids
Search YouTube Kids or fetch Kids video details. The `type` request field selects the operation.
Search YouTube Kids or fetch Kids video details. The type request field selects the operation.
Authorization
bearerAuth AuthorizationBearer <token>
API key from your dashboard. Prefix with Bearer in the Authorization header.
In: header
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
curl -X POST "https://example.com/v1/kids" \ -H "Content-Type: application/json" \ -d '{ "type": "search", "q": "science songs for kids" }'{ "success": true, "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6", "cacheState": "hit", "creditsUsed": 0, "creditsRemaining": 0, "data": { "items": [ { "type": "video", "id": "string", "url": "string", "videoUrl": "string", "kidsUrl": "string", "title": "string", "author": "string", "authorId": "string", "authorUrl": "string", "duration": "string", "durationSec": 0, "durationText": "string", "publishedAt": "2019-08-24T14:15:22Z", "publishedAtText": "string", "viewCount": 0, "viewCountText": "string", "thumbnails": [ { "url": "string", "width": 0, "height": 0 } ] } ], "continuationToken": "string", "hasMore": true, "empty": { "code": "string", "message": "string" } }}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}{ "success": false, "code": "UNAUTHORIZED", "error": "string", "details": null}