Skip to main content
GET
/
v1
/
youtube
/
get_video_info
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/youtube/get_video_info?video_id=oaSNBz4qMQY&language_code=zh-CN&need_format=true' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "video_id": "oaSNBz4qMQY",
    "title": "",
    "description": "Today, we've moved into a sorcerer village! This village hides a dark secret... a terrible monster sealed away in a cursed painting! We can't let it get loose, we have to find a way to take it down and save the village!\n\nWe hope you enjoy our videos! Have a great day! \n\nMaizen Merchandise ► https://shop-maizen.myspreadshop.com/",
    "length_seconds": "",
    "keywords": null,
    "thumbnails": [],
    "author": "Maizen",
    "channel_id": "UCJHBJ7F-nAIlMGolm0Hu4vg",
    "channel_handle": "@maizenofficial",
    "channel_url": "https://www.youtube.com/channel/UCJHBJ7F-nAIlMGolm0Hu4vg",
    "channel_avatar_thumbnails": [
      {
        "url": "https://yt3.ggpht.com/jtaYDxDtMB2WZp9dOXCCcX4xuaJNkl5iEZPlzjMLuiVqkyUM851nBUArs0wDSBGIWvUfny2uYw=s48-c-k-c0x00ffffff-no-rj",
        "width": 48,
        "height": 48
      },
      {
        "url": "https://yt3.ggpht.com/jtaYDxDtMB2WZp9dOXCCcX4xuaJNkl5iEZPlzjMLuiVqkyUM851nBUArs0wDSBGIWvUfny2uYw=s88-c-k-c0x00ffffff-no-rj",
        "width": 88,
        "height": 88
      },
      {
        "url": "https://yt3.ggpht.com/jtaYDxDtMB2WZp9dOXCCcX4xuaJNkl5iEZPlzjMLuiVqkyUM851nBUArs0wDSBGIWvUfny2uYw=s176-c-k-c0x00ffffff-no-rj",
        "width": 176,
        "height": 176
      }
    ],
    "subscriber_count_text": "1610万位订阅者",
    "is_verified": true,
    "badge_tooltip": "已验证",
    "view_count": "",
    "view_count_text": "1,666,377次观看",
    "short_view_count": "166万次观看",
    "like_count": "",
    "like_count_text": "1万",
    "comment_count": "957",
    "publish_date": "",
    "upload_date": "",
    "date_text": "2026年1月9日",
    "relative_date_text": "1个月前",
    "category": "",
    "super_title": null,
    "is_live_content": false,
    "is_private": false,
    "is_unlisted": false,
    "is_family_safe": null,
    "is_shorts_eligible": null,
    "is_crawlable": null,
    "allow_ratings": null,
    "available_countries": null,
    "captions": null,
    "chapters": null,
    "endscreen": null,
    "merchandise": [
      {
        "title": "Mikey Plush",
        "price": "US$34.99",
        "vendor_name": "Juniper",
        "thumbnails": [
          {
            "url": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSx2_7BAHeg38-wwtroU_fBkxRHIUOd2gqzSU5uuA9ImeKbIG8HK9fqnBXtcZ8MNLUB810zV5c",
            "width": 128,
            "height": 128
          },
          {
            "url": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRO_4gUShjDmyjUFTg84VZVExeSuptTefXMzm9RVFZQYXmqkC0IDLD7Ng_hBFhsIkXG7Lg3WwmY",
            "width": 256,
            "height": 256
          },
          {
            "url": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTrZMSLEwOZTT-ZrIpixYD3V5_YWbACztfiZKjFxzFKmJBL5GnA6A3yhmvf4Z3O-smnfp7oJ1d5",
            "width": 512,
            "height": 512
          }
        ],
        "buy_url": "https://maizen.hellojuniper.com/p/7925971943615?srsltid=AfmBOooBhpu4Z073e6HGy3D-MFqpLIS242qPB-PwEA_KjOOTq7cBYr-jWZI&utm_content=YT3-Q921kxaDB_lY9syZ3s5W_IgzybbWdtKa5cfjIIY8BPb0JQpp3683rrXLtS02NU_7RuKTEbndZ8mlAOwn86I-bgnW&utm_term=UCJHBJ7F-nAIlMGolm0Hu4vg&utm_medium=product_shelf&utm_source=youtube"
      },
      {
        "title": "JJ Plush",
        "price": "US$27.99",
        "vendor_name": "Juniper",
        "thumbnails": [
          {
            "url": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRmxAQQ0n_PUFHULkJ4eH77c1d8tdgQ_Eti8OWKlfF0j2C-op-3QmLubwVxuGAFCHAOZ6mkohWt",
            "width": 128,
            "height": 128
          },
          {
            "url": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQX9GC3oeG6uYAppZ9LR9KjZMqRnoW32uMXKKSTre1xQOfg-tmDNxTzQuoAZYc7zt8Dqtonh8vS",
            "width": 256,
            "height": 256
          },
          {
            "url": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcR4sThe7hhuWeN9BOJgj0bh-WOOFIqJFW-PHEEx3sxc3YjvePJb33cqK89wDDX3AXMvpI8CfjdC",
            "width": 512,
            "height": 512
          }
        ],
        "buy_url": "https://maizen.hellojuniper.com/p/7925971288255?srsltid=AfmBOoqvx4_CIYpwC-8Ge5WVySiwVTsCDEek-SYugdTp-2QXe7js522UoC0&utm_content=YT3-cW5jNvizbEWWG-uoGKPFqAQk6oGm-Rd-bKWdgcyGAuut6Fnjza6h0_iChM8HdeYoODWilCpnEBNEFikIUXzmdG4t&utm_term=UCJHBJ7F-nAIlMGolm0Hu4vg&utm_medium=product_shelf&utm_source=youtube"
      }
    ],
    "storyboard_spec": null,
    "embed_url": "",
    "video_url": "https://www.youtube.com/watch?v=oaSNBz4qMQY",
    "owner_profile_url": "",
    "playability_status": "LOGIN_REQUIRED"
  },
  "requestId": "9a121156-46b4-4fff-9bc1-0dda7589139b"
}
🪙3 creditsper request

Copy for AI

🤖 Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

video_id
string
required

Video ID How to obtain: extract from the video URL, e.g., https://www.youtube.com/watch?v=oaSNBz4qMQY, the video_id is oaSNBz4qMQY

Example:

"oaSNBz4qMQY"

language_code
string
default:zh-CN

Set language preference Options: "zh-CN", "en-US", "ja-JP", "ko-KR", etc.

need_format
boolean
default:true

Whether to clean and format the data

Response

The response is of type object.