Skip to main content
GET
https://yoinkit.ai/api/v1/openclaw
/
api
/
v1
/
openclaw
/
youtube
/
search
YouTube Search
curl --request GET \
  --url https://yoinkit.ai/api/v1/openclaw/api/v1/openclaw/youtube/search \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "videos": [
      {}
    ]
  },
  "meta": {}
}

Parameters

query
string
required
The search query to find videos
limit
integer
Maximum number of results to return (default: 10)

Response

success
boolean
Whether the request was successful
data
object
meta
object
Request metadata including credits_used and request_id

Example Request

curl -X GET "https://yoinkit.ai/api/v1/openclaw/youtube/search?query=running&limit=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Example Response

{
  "success": true,
  "data": {
    "videos": [
      {
        "type": "video",
        "id": "BzSzwqb-OEE",
        "url": "https://www.youtube.com/watch?v=BzSzwqb-OEE",
        "title": "NF - RUNNING (Audio)",
        "thumbnail": "https://i.ytimg.com/vi/BzSzwqb-OEE/hq720.jpg",
        "channel": {
          "id": "UCoRR6OLuIZ2-5VxtnQIaN2w",
          "title": "NFrealmusic",
          "handle": "NFrealmusic",
          "thumbnail": "https://yt3.ggpht.com/..."
        },
        "viewCountText": "14,860,541 views",
        "viewCountInt": 14860541,
        "publishedTimeText": "2 years ago",
        "lengthText": "4:14",
        "lengthSeconds": 254,
        "badges": []
      }
    ]
  },
  "meta": {
    "platform": "youtube",
    "endpoint": "search",
    "credits_used": 1,
    "request_id": "req_abc123def456"
  }
}