Youtube Metadata Extractor

免费
通过 atul singh 7523 | 已更新 2 mesi fa | Social
人气

9.1 / 10

延迟

1,828ms

服务等级

99%

Health Check

N/A

README

Get YouTube Video Metadata API

This API allows you to fetch metadata for YouTube videos, including information such as title, thumbnails, likes, views count, upload date, video category, description, and creator details.


Request Payload:

  • url: Send this as a query param this is a required parameter, this could contain the video share link or video watch link.


Sample Request:

 {
  method: 'GET',
  url: 'https://youtube-metadata-extractor.p.rapidapi.com/get_youtube_video_title_description',
  params: {
    url: 'https://youtu.be/YCaipV5Brmw'
  },
  headers: {
    'X-RapidAPI-Key': 'f49735865emshbf9c9e79b8f1df4p106a71jsn3a5d8ba885fc',
    'X-RapidAPI-Host': 'youtube-metadata-extractor.p.rapidapi.com'
  }
};


Response Format:

Returns a JSON object containing detailed metadata:

  1. title: Title of the YouTube video.
  2. thumbnails: An array of thumbnail objects containing URL, width, and height.
    likes: Number of likes for the video (null if not available).
  3. viewsCount: Total views count for the video.
  4. uploadDate: Date and time when the video was uploaded.
  5. videoCategory: Category of the video (e.g., “Comedy”).
  6. description: Full description of the video.
  7. dislikes: Number of dislikes for the video (null if not available).
  8. isShort: Boolean indicating if the video is short.
  9. creatorDetails: Information about the video creator, including name, channel link, subscribers count, and profile picture URL.


Sample Response:

{
  "status": true,
  "data": {
    "title": "Narcotics | Stand-up Comedy | Aakash Gupta",
    "thumbnails": [
      {
        "url": "https://i.ytimg.com/vi/inLh-UAWu_g/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLDH6zp31VXsG_acUUojEk0Uu6yE0A",
        "width": 168,
        "height": 94
      },
      {
        "url": "https://i.ytimg.com/vi/inLh-UAWu_g/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAghOitcls6Tfuurgn-4KS7UMLQDA",
        "width": 196,
        "height": 110
      },
      // ... other thumbnail objects
    ],
    "likes": null,
    "viewsCount": "3894744",
    "uploadDate": "2024-01-06T21:33:25-08:00",
    "videoCategory": "Comedy",
    "description": "Watch my Full Special on Insider here: https://bit.ly/3TjN8XI :)\n... [full description]",
    "dislikes": null,
    "isShort": false,
    "creatorDetails": {
      "name": "Aakash Gupta",
      "channelLink": "https://www.youtube.com/channel/UCAYum5hCyfkSH5T3vSD_kwQ",
      "subscribersCount": 4010000,
      "profilePic": "https://yt3.ggpht.com/ytc/AIf8zZQuvCKHL9nBBN95DOXWn0d8eB913BDNLU3dvFgUNQ=s176-c-k-c0x00ffffff-no-rj"
    }
  },
  "message": null
}


Error codes:

  • 400: Speficies that your are url not sent | Invalid youtube video link is sent.
关注者:0
资源:
产品网站
API 创建者:
Rapid account: Atul Singh 7523
atul singh 7523
as3771083
登录并给 API 打分
打分:5 - 投票:1