YTAPI.devDocs

Credits, Rate Limits & Errors

Transparent credit costs per endpoint, rate limit tiers, and standard API error responses.

Last updated Sep 13, 2026
||MarkdownView as Markdown|Agent setup

The platform meters credits per successful billed response. Failed calls are free. Credits never expire. Most endpoints cost 1 credit; video mode=full costs 2. See Pricing for packs.

Rate limits

AccountRate limit
Free30 RPM (0.5 req/s)
Paid (any credit pack)300 RPM (5 req/s)
ReservedContact us

Customer Cache-Control: no-cache is ignored. Cache policy is server-side.

Credit Schedule

API FeatureEndpointCost
Standard TranscriptPOST /v1/transcripts1 Credit
AI-Native MarkdownPOST /v1/transcripts1 Credit
Video metadata (mode=fast)GET /v1/videos/{id}1 Credit
Video metadata (mode=full)GET /v1/videos/{id}?mode=full2 Credits
Playlist DetailsGET /v1/playlists/{id}1 Credit
Playlist VideosGET /v1/playlists/{id}/videos1 Credit
Channel ProfileGET /v1/channels/{id}1 Credit
Channel StreamsGET /v1/channels/{id}/streams1 Credit
Channel PlaylistsGET /v1/channels/{id}/playlists1 Credit
SearchGET /v1/search1 Credit
Search AutocompleteGET /v1/search/suggestionsFree
Batch ProcessingPOST /v1/batch1 Credit per task

Error Response Format

All errors return a standard JSON envelope:

{
  "error": "Transcripts are disabled or unavailable for this video",
  "status": 404
}

HTTP Status Codes

400 — Bad Request

Missing required parameters (e.g. invalid video ID or empty search query). Check your request payload.

401 — Unauthorized

Missing or invalid API key in Authorization: Bearer <key>. Verify your key in the Dashboard.

402 — Payment Required

Credit balance depleted. Buy a pack in the billing dashboard. Failed requests are still free.

404 — Not Found

Video does not exist, is private, or captions are unavailable for the requested language.

429 — Too Many Requests

Rate limit exceeded. Check the Retry-After header for seconds until reset. See Authentication for tier limits.

500 — Internal Error

Upstream extraction error. Credits are automatically refunded for failed requests.

On this page