Skip to content

Tooley API documentation

Everything you need to run Tooley's tools from your own code: authentication, job execution, outputs and the credit model. The reference describes the API as implemented today.

What is available now

  • REST execution of every priced tool, asynchronous with polling.
  • Bearer-token authentication; no accounts.
  • Wallet balance and transaction history endpoints.
  • Multipart uploads and parameter-only JSON submissions, with idempotent retries.
  • Job cancellation before a job starts running.
  • Purchasing and one-time token retrieval through the website.

No account management, wallet top-ups, automatic replenishment or MCP interface exists. Do not plan an integration around those.

The shape of the API

Every request is a normal HTTP call. Read-only catalogue calls need no token; anything wallet-related does. Error responses keep one shape everywhere:

{"code": "J_WALLET_INSUFFICIENT",
 "message": "…"}

with the same code mirrored in an X-Error-Code response header. What is live today: 4 credit packages are currently available on the pricing page.

Machine-readable contract

The whole documented surface is also published as an OpenAPI 3.1 document at https://api.tooley.work/v1/openapi.json — the same contract with stable operation ids and the bearer security scheme, ready for SDK generators and CI. It needs no authentication. This human-readable documentation remains the narrative reference; the JSON document is the tooling-ready mirror.

Start here

  1. Read Getting started and follow it end to end.
  2. Check the reference for the endpoints and their exact contracts.
  3. Point your SDK generator at the OpenAPI specification — the machine-readable contract behind this documentation.
  4. Buy a package on the purchase page when you are ready to try it.