> For the complete documentation index, see [llms.txt](https://docs.butternetwork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.butternetwork.io/butter-swap-integration/butter-api-for-data.md).

# API for Data

Butter API for Data provides developers with basic data.

## Endpoints

* [GET /api/statistics/dashboard](/butter-swap-integration/butter-api-for-data/get-dashboard-by-unit.md)
* [GET /api/token/list](/butter-swap-integration/butter-api-for-data/get-token-list.md)
* [GET /api/token/detail](/butter-swap-integration/butter-api-for-data/get-token-detail.md)

## Authentication

Analytics API endpoints require signed requests.

Each request must include these headers:

| Header                 | Description                                                     |
| ---------------------- | --------------------------------------------------------------- |
| `BS-ACCESS-KEY`        | API key issued by Butter Network.                               |
| `BS-ACCESS-SIGN`       | Base64 HMAC-SHA256 signature.                                   |
| `BS-ACCESS-TIMESTAMP`  | ISO 8601 UTC timestamp, for example `2026-07-23T08:00:00.000Z`. |
| `BS-ACCESS-PASSPHRASE` | Passphrase paired with the API key.                             |

Signature payload:

```
timestamp + method + requestPath + body
```

For GET requests, `body` is an empty string and `requestPath` must include the query string.
