Predictable when something goes wrong.
Errors use HTTP status codes plus a compact JSON error object. Rate-limit information is returned in headers on API responses.
{
"error": {
"code": "video_not_found",
"message": "Video not found."
}
}Rate-limit headers
X-RateLimit-TierX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-ResetRetry-AfterNormal anonymous clients receive 120 requests/minute per client. LarpTube.com browser traffic uses its dedicated lane. HTTP 429 indicates the caller should wait for the window to reset.
Common errors
400
missing_queryRequired query parameter missing400
invalid_search_typeUnsupported search type404
video_not_foundVideo is unavailable/private404
channel_not_foundChannel not found404
playlist_not_foundPlaylist unavailable/private429
rate_limitedPublic limit reached