Skip to main content
GET
/
orders
/
{order_id}
/
traffic-usage
Get order traffic usage
curl --request GET \
  --url https://api.proxyjam.com/public/v1/orders/{order_id}/traffic-usage \
  --header 'X-API-Key: <api-key>'
{
  "period": "<string>",
  "from_at": "<string>",
  "to_at": "<string>",
  "summary": {},
  "points": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.proxyjam.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns pre-aggregated traffic usage points for a single order and summary values for the selected period.

Path parameters

order_id
string
required
UUID of the order.

Query parameters

period
string
default:"last_7d"
One of: last_24h, last_7d, last_30d.

Response

period
string
Selected period preset.
from_at
string
Inclusive UTC start timestamp of the selected window.
to_at
string
Exclusive UTC end timestamp of the selected window.
summary
object
Aggregated values:
  • total_used_gb
  • avg_per_period_gb
points
array
Chart points, each with:
  • timestamp
  • used_delta_gb
  • used_total_gb
  • total_limit_gb

Example

curl "https://api.proxyjam.com/public/v1/orders/997b4450-e7ae-4ad9-8a25-996e582049c9/traffic-usage?period=last_7d" \
  -H "X-API-Key: pj_AbCdEf..."