> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starke.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> The errors the API returns, and the body each one has.

The API answers with an HTTP status code. Only a validation error has a JSON body; the others have a short plain-text body. Check the status first, and parse the body as JSON only for a validation error.

| Status | When | Body |
| - | - | - |
| `400` | A query parameter is missing or invalid. | JSON: the list of problems (below). |
| `400` | An address in the path isn't a Solana address, or `start_time` is after `end_time`. | Plain text: `Bad Request`. |
| `404` | The resource doesn't exist, or the path matches no operation. | Plain text: `Not Found`. |
| `500` | An unexpected error on our side. | Plain text: `Internal Server Error`. |

Each operation's page lists the errors it can return.

## Validation errors

When a query parameter fails validation, the body lists each problem with the parameter it concerns:

```json theme={null}
{
  "errors": [
    { "path": "start_time", "message": "Invalid ISO datetime" }
  ]
}
```

`path` names the parameter, and `message` says what's wrong with it. Fix every listed parameter before you retry.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.