Skip to main content
GET
https://yoinkit.ai/api/v1/openclaw
/
api
/
v1
/
openclaw
/
youtube
/
video
YouTube Video
curl --request GET \
  --url https://yoinkit.ai/api/v1/openclaw/api/v1/openclaw/youtube/video \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "title": "<string>",
    "url": "<string>",
    "thumbnail": "<string>",
    "viewCountInt": 123,
    "likeCountInt": 123,
    "commentCountInt": 123,
    "channel": {},
    "publishDate": "<string>",
    "durationMs": 123,
    "durationFormatted": "<string>"
  },
  "meta": {}
}

Parameters

url
string
required
The full YouTube video URL (e.g., https://youtube.com/watch?v=dQw4w9WgXcQ)

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/video?url=https://youtube.com/watch?v=Y2Ah_DFr8cw" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Example Response

{
  "success": true,
  "data": {
    "id": "Y2Ah_DFr8cw",
    "title": "Inside the NBA: Chuck Trolls Jussie Smollett",
    "url": "https://www.youtube.com/watch?v=Y2Ah_DFr8cw",
    "thumbnail": "https://img.youtube.com/vi/Y2Ah_DFr8cw/maxresdefault.jpg",
    "publishDate": "2019-02-22T03:19:54-08:00",
    "publishDateText": "Feb 22, 2019",
    "type": "video",
    "viewCountText": "372,864",
    "viewCountInt": 372864,
    "likeCountText": "4043",
    "likeCountInt": 4043,
    "commentCountText": "358",
    "commentCountInt": 358,
    "channel": {
      "id": "UCWH3hing1Qb4LnkRfQdxsxQ",
      "url": "https://www.youtube.com/@afroballer8906",
      "handle": "afroballer8906",
      "title": "Afroballer"
    },
    "durationMs": 348000,
    "durationFormatted": "00:05:48",
    "genre": "People & Blogs"
  },
  "meta": {
    "platform": "youtube",
    "endpoint": "video",
    "credits_used": 1,
    "request_id": "req_abc123def456"
  }
}