Embed
Copy a snippet from Embed Tubonics.
JavaScript
Play, pause, speed, and skip via Tubonics.Embed. JavaScript API
REST
Call these endpoints from a backend or the browser:
GET /api/search?q=食べる&lang=japanese&mode=related(addcaptions=autoto include autogenerated captions)GET /api/video/VIDEO_IDGET /api/video/VIDEO_ID/matches?q=食べるPOST /api/harvest{ language: "korean" } — search YouTube for new videos/channels and queue indexing.GET /api/harvest?list=1lists languages.GET /api/harvest?lang=spanishpreviews without indexing. CLI:npm run harvest -- --all.POST /api/index/videoGET /api/jobs/POST /api/jobsGET /api/dictionary?q=schedule&lang=englishGET /api/translate?q=こんにちは&from=ja&to=EnglishGET /api/captions?videoId=VIDEO_ID&lang=japanese
Search reads the subtitle index and returns timestamps, original caption text, the matched substring, and ranking. YouTube is used only to ingest captions.

