Usage

Traffic

GET /proxies/{id}/usage

Ability: read ยท Traffic through the proxy in UTC time buckets.

Query
range24h (hourly buckets, default), 7d (hourly) or 30d (daily). Anything else falls back to 24h
curl
Python
Node.js
PHP
curl 'https://proxykite.com/api/v1/proxies/7/usage?range=7d' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json'

Response 200

{
  "data": [
    {"t": "2026-10-09T17:00:00+00:00", "bytes_in": 1048576, "bytes_out": 52428, "requests": 312}
  ],
  "range": "7d",
  "used_bytes": 123456789,
  "quota_bytes": null
}
FieldMeaning
data[].tstart of the bucket (UTC)
bytes_in, bytes_outbytes in and out through the proxy in that bucket, as counted on your node
requestsproxied requests (HTTP requests, CONNECT tunnels, SOCKS5 connections)
used_bytestraffic counted against the quota
quota_bytestraffic quota, null = unlimited. Reaching it disables the proxy (over_quota) and fires quota.exceeded