---
title: "Get project TonAPI stats"
method: GET
path: "/api/v1/services/tonapi/stats"
tags: ["tonapi_service"]
---

# Get project TonAPI stats

`GET /api/v1/services/tonapi/stats`

To filter the stats, are expected start and end query parameters in unix format, where end is the day closer to the current one, for example start=1675958400&end=1676908800,

## Query parameters

- `project_id` integer, required
- `start` integer, required
- `end` integer, required
- `step` integer
- `detailed` boolean
- `dashboard` 'tonapi_token' | 'tonapi_webhook' | 'liteproxy_requests' | 'liteproxy_connections'

## Response `200`

Project TonApi stats

- object
  - `stats` unknown, required

## Other responses

- `400` — Something went wrong on client side
- `403` — Access token is missing or invalid
- `404` — The specified resource was not found
- `500` — Something went wrong on server side

---

[API](https://skmtc.net/tonkeeper/apis/rest-api-to-ton-console.md) · [All operations](https://skmtc.net/tonkeeper/apis/rest-api-to-ton-console/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonkeeper/rest-api-to-ton-console/revisions/bffcc11719d3/schema)
