YT Toolkit
HomeBlog
  1. Home
  2. API Docs

YT Toolkit API

A small set of read-only endpoints that return public YouTube data as JSON. Free to use within fair rate limits. No key required today; be a good neighbor.

Answer-First Summary

YT Toolkit exposes free read-only JSON endpoints for public YouTube data — thumbnails, video statistics, channel statistics, and playlist length. All responses use a { success, data } envelope. Requests are rate-limited per IP; there is no API key today.

Base URL and response shape

All endpoints are under https://yttoolkit.com/api and respond with JSON in a consistent envelope:

// success
{ "success": true, "data": { ... }, "meta": {} }

// error
{ "success": false, "error": { "code": "VIDEO_NOT_FOUND", "message": "..." } }

Rate limits

Requests are limited per IP address to keep the service fair and to stay within YouTube API quota. Standard read endpoints allow roughly 60 requests per minute. Exceeding the limit returns HTTP 429 with a Retry-After header. Do not build production workloads on top of these endpoints — they are intended for light, interactive use.

Endpoints

GET /api/youtube/thumbnail

Returns thumbnail URLs in every available quality for a video.

curl "https://yttoolkit.com/api/youtube/thumbnail?v=VIDEO_ID"

GET /api/youtube/video-stats

Public statistics for a video: views, likes, comments, duration, publish date.

curl "https://yttoolkit.com/api/youtube/video-stats?v=VIDEO_ID"

GET /api/youtube/channel-stats

Public channel statistics: subscribers, total views, video count, recent uploads.

curl "https://yttoolkit.com/api/youtube/channel-stats?c=UC_CHANNEL_ID"

GET /api/youtube/playlist

Total duration, video count, and average length for a playlist.

curl "https://yttoolkit.com/api/youtube/playlist?list=PLAYLIST_ID"

Examples

JavaScript (fetch)

const res = await fetch(
  "https://yttoolkit.com/api/youtube/video-stats?v=VIDEO_ID"
);
const json = await res.json();
if (json.success) console.log(json.data);

Python (requests)

import requests

r = requests.get(
    "https://yttoolkit.com/api/youtube/video-stats",
    params={"v": "VIDEO_ID"},
)
data = r.json()
if data["success"]:
    print(data["data"])

Terms of use

These endpoints return only public YouTube data and are provided as-is, without warranty, for light interactive use. Respect the rate limits, do not scrape at scale, and cache responses on your side where possible. See our Terms for details. YT Toolkit is independent and not affiliated with YouTube or Google.

Prefer the tools?

Most people do not need the API. Use the Video Statistics, Channel Statistics, or Thumbnail Downloader tools directly.

YT Toolkit

45 free YouTube creator tools. No login required.

hello@yttools.pro

Downloaders

  • Thumbnail Downloader
  • Profile Picture Downloader
  • Banner Downloader
  • Subtitle Downloader

Extractors

  • Tags Extractor
  • Channel Tags
  • Transcript Extractor
  • Channel ID Finder
  • Comment Exporter

AI Generators

  • AI Title Generator
  • AI Description Generator
  • AI Hashtag Generator
  • Keyword Generator
  • Hook Generator
  • Timestamp Generator
  • Shorts Idea Generator
  • Video Summarizer
  • Script Generator
  • Channel Name Generator
  • Video Ideas Generator

Analytics

  • Video Statistics
  • Channel Statistics
  • YouTube Monetization Checker
  • Live Subscriber Count
  • Live View Count
  • Comment Picker
  • Channel Comparison
  • Trending Videos

SEO Tools

  • SEO Score Checker
  • Title Analyzer
  • Embed Code Generator
  • Timestamp Link Generator
  • Thumbnail Preview Tester

Calculators

  • YouTube Money Calculator
  • YouTube RPM Calculator
  • YouTube CPM Calculator
  • YouTube Watch Time Calculator
  • YouTube Engagement Rate Calculator
  • YouTube Subscriber Growth Calculator
  • YouTube Views to Money Calculator
  • YouTube Shorts Earnings Calculator
  • YouTube Live Earnings Calculator
  • YouTube Upload Frequency Calculator
  • YouTube Average View Duration Calculator
  • Playlist Length Calculator

Company

  • Home
  • About
  • Contact

Resources

  • Blog & Guides
  • Documentation
  • Changelog
  • Roadmap

Legal

  • Privacy Policy
  • Terms of Service

© 2026 YouTube Toolkit AI. Not affiliated with YouTube or Google.

Made for creators. Free forever.