The LLMTomato API
The LLMTomato API gives a program the same reads as the application: the analyses, the assistants' answers, the things to do, the texts, the credits. You get in with a key. Last updated: 24 November 2026.
Where to call
https://llmtomato.com/api/v1The machine-readable description (OpenAPI) is public:
https://llmtomato.com/api/v1/openapi.jsonHow to get a key
- Sign in to LLMTomato and open the account settings.
- Under "Chiavi per i programmi" (keys for programs) write what it is for and press "Crea una chiave".
- Copy the key at once: it starts with
llmt_and is shown only once.
The key goes in the header of every request:
Authorization: Bearer llmt_...A key is born read-only. Permission to spend credits is given from the settings, key by key. A key can be removed at any time, and from then on it no longer works.
A first request
curl -s https://llmtomato.com/api/v1/analyses \
-H "Authorization: Bearer llmt_..."It answers with the list of the account's analyses.
The operations
| Method | Path | Costs credits | What it does |
|---|---|---|---|
| GET | /analyses | No | Lists the analyses |
| GET | /analyses/{analysis_id} | No | One analysis: stage, facts, questions, things to do, texts |
| GET | /analyses/{analysis_id}/answers | No | The assistants' answers, with names and sources |
| GET | /analyses/{analysis_id}/moves | No | The things to do |
| POST | /analyses/{analysis_id}/moves/{move_id} | No | Ticks a thing as done |
| GET | /analyses/{analysis_id}/texts | No | The texts written |
| GET | /analyses/{analysis_id}/texts/{text_id} | No | One text, in full |
| GET | /credits | No | The balance and what the key may spend |
| POST | /analyses | Yes | Starts the analysis of a site |
| POST | /analyses/{analysis_id}/messages | Yes | Sends a message to the agent |
| POST | /analyses/{analysis_id}/remeasure | Yes | Puts the questions to the assistants again |
The operations that cost
Three operations make the agent work and cost credits; how many depends on the work. They want a key allowed to spend and "confirm": true in the body:
curl -s -X POST https://llmtomato.com/api/v1/analyses \
-H "Authorization: Bearer llmt_..." \
-H "Content-Type: application/json" \
-d '{"domain": "esempio.it", "confirm": true}'Without confirm the request does not start and answers 409, with the balance and what is left of the limit. Every key has a credit limit over 24 hours: 100 at first, changed from the settings. Credits are not bought from the API.
The agent works in the background: the answer says it has started. To know when it has finished, read the analysis again and look at the working_now field.
The limits
A key can make 120 requests a minute. Every response carries the count:
| Header | What it says |
|---|---|
X-RateLimit-Limit | How many requests a minute |
X-RateLimit-Remaining | How many are left |
X-RateLimit-Window-Seconds | How long the window lasts, in seconds |
The errors
An error answers with an object {"error": "..."} and one of these statuses:
| Status | What it means |
|---|---|
| 401 | The key is missing or not valid |
| 402 | The credits are finished |
| 403 | The key is not allowed to spend |
| 404 | The analysis or the text is not in this account |
| 409 | Confirmation is missing, or the agent is already working on that analysis |
| 422 | Something in the request is not valid |
| 429 | Too many requests, or the credit limit was reached |
What a key does not see
A key reads only the analyses of its account. For an analysis of another business it answers 404, as for one that does not exist.
For machines
A program finds the API and the servers for assistants from one address:
https://llmtomato.com/.well-known/api-catalog