YouTube Scraper API

Youtube scraper api is an youtube search api to get data for search results, videos, channels, playlists, and comments with JSON results.

Pricing Starts at$9

Developer Implementation

Request
Endpoint
Language
curl --request GET \
  --url 'https://api.cognifyapi.com/youtube-search?query=Mr+Beast' \
  --header 'x-cognifyapi-key: YOUR_COGNIFY_API_KEY'
Response
json
{
  "status": "success",
  "query": "Mr Beast",
  "data": {
    "channels": [],
    "videos": [
      {
        "videoId": "Af6i6ChAVTw",
        "title": "Last To Leave Mansion, Keeps It",
        "author": "MrBeast",
        "published": "3 months ago",
        "duration": "57:51",
        "viewCount": "142,280,353 views",
        "viewCountSimple": "142 million views",
        "url": "https://www.youtube.com/watch?v=Af6i6ChAVTw",
        "thumbnail": [
          {
            "url": "https://i.ytimg.com/vi/Af6i6ChAVTw/hq720_custom_1.jpg?sqp=CITg-tcG-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA9EgvdiUtXIAQrpvIra7-d-zSF7A",
            "width": 360,
            "height": 202
          }
        ],
        "summary": "Participants who criticized MrBeast's challenges compete in a high-stakes mansion challenge. [Shortened]",
        "channelAvatar": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s68-c-k-c0x00ffffff-no-rj",
        "isVerified": true
      },
      {
        "videoId": "Qtl8lJwbd4g",
        "title": "Escape 100 Cops, Win $500,000",
        "author": "MrBeast",
        "published": "2 months ago",
        "duration": "20:29",
        "viewCount": "130,662,740 views",
        "viewCountSimple": "130 million views",
        "url": "https://www.youtube.com/watch?v=Qtl8lJwbd4g",
        "thumbnail": [
          {
            "url": "https://i.ytimg.com/vi/Qtl8lJwbd4g/hq720_custom_1.jpg?sqp=CITg-tcG-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCyaxgw7yW1YjfH8Lcy-gUL4rfUIQ",
            "width": 360,
            "height": 202
          }
        ],
        "summary": "MrBeast and four friends try to evade a professional police force during a high-stakes chase. [Shortened]",
        "channelAvatar": "https://yt3.ggpht.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s68-c-k-c0x00ffffff-no-rj",
        "isVerified": true
      }
    ],
    "horizontaVideos": [],
    "shortsVideos": [
      [
        {
          "videoId": "sHpEqeSByPI",
          "title": "Unboxing The World’s Largest Toy",
          "views": "25M views",
          "accessibility": "Unboxing The World’s Largest Toy, 25 million views - play Short",
          "thumbnail": "https://i.ytimg.com/vi/sHpEqeSByPI/sardefault.jpg?sqp=-oaymwEdCJUDENAFSFWQAgHyq4qpAw4IARUAAIhCcAHAAQY=&rs=AOn4CLB2V7YWBrDdLVa4cnMdEBvQYu00hA",
          "url": "https://www.youtube.com/shorts/sHpEqeSByPI"
        },
        {
          "videoId": "kPI9Mc35mOg",
          "title": "Trap Door Roulette",
          "views": "108M views",
          "accessibility": "Trap Door Roulette, 108 million views - play Short",
          "thumbnail": "https://i.ytimg.com/vi/kPI9Mc35mOg/sardefault.jpg?sqp=-oaymwEdCJUDENAFSFWQAgHyq4qpAw4IARUAAIhCcAHAAQY=&rs=AOn4CLCFqW_X3pokjvblVc71mCamXfPyhQ",
          "url": "https://www.youtube.com/shorts/kPI9Mc35mOg"
        }
      ]
    ]
  }
}

Core Features

Everything You Need to Track YouTube Scraper API

Structured JSON data with the precision and flexibility developers need.

Realtime Access

Fetch live data directly from YouTube's vast content index.

Speed & Reliability

Minimized latency for mission-critical apps and dashboards.

Affordability

Competitive pricing that scales with your needs and usage.

Developer-Friendly

Easy endpoints for JS, Python, cURL, and more languages.


Use Cases

Built for Developers

01 / Content & Media

Video & Channel Analytics

Retrieve real-time view counts, subscriber stats, likes, and engagement metrics for any channel or video. Build custom dashboards that go beyond what YouTube Studio provides.

02 / Brand Intelligence

Competitor & Niche Monitoring

Automate tracking of competitor channels, trending videos in your niche, and keyword-driven content performance. Stay ahead with programmatic search result monitoring.

03 / AI & Machine Learning

Training Dataset Generation

Programmatically source video metadata, captions, thumbnails, and comment corpora for NLP and computer vision model training at scale.

04 / Marketing & SEO

Search & Trend Insights

Analyze which videos rank for high-value search queries, identify trending topics before they peak, and optimize your content strategy using real YouTube search data.