---
title: "Returns connection statistics"
method: GET
path: "/connection/statistics"
tags: ["Connection"]
---

# Returns connection statistics

`GET /connection/statistics`

Returns statistics about current connection

## Response `200`

Connection statistics

- ConnectionStatisticsDTO
  - `bytes_received` integer
  - `bytes_sent` integer
  - `duration` integer — connection duration in seconds
  - `spent_tokens` Tokens — Tokens a common response for ethereum blockchain monetary amount
    - `ether` string
    - `human` string
    - `wei` string
  - `throughput_received` integer — Download speed in bits per second
  - `throughput_sent` integer — Upload speed in bits per second
  - `tokens_spent` Int — Operations always take pointer arguments (*Int) rather than Int values, and each unique Int value requires its own unique *Int pointer. To "copy" an Int value, an existing (or newly allocated) Int must be set to a new value using the Int.Set method; shallow copies of Ints are not supported and may lead to errors.

---

[API](https://skmtc.dev/mysteriumnetwork/apis/tequila-api.md) · [All operations](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysteriumnetwork/tequila-api/revisions/3ebbd57b9def/schema)
