Skip to main content
Every method is one API operation, with the same name as the MCP tool. JSON in and out is snake_case, exactly as the API sends it. It uses the global fetch, so it runs in Node 18+, Bun, Deno and browsers.

Options

Every request carries the VidJutsu-Version header. See Versioning.

Methods

Live updates

stream() yields {event, id?, data} for each Server-Sent Event. It reconnects when the server ends the stream (about every five minutes) and resumes from the last notice it saw.

Errors

Failed calls throw VidJutsuError with the API’s status, code and message, and the whole error body. For a 402, fixUrl is the link that fixes it: the checkout link before sign-up, the top-up link when your wallet runs low, or the upgrade link when a feature isn’t in your plan.