Traffic and slots

Traffic here means residential proxy bytes the session spends on the exit. Slots are how many sessions your plan can run at once.

In the dashboard you see Traffic remaining, Traffic per session, and Slots in use. In the API those map to plan and usage fields below.

Plan block

GET /v1/sessions returns a plan object (PlanBlock). That is the plan limits and your position against them.

FieldMeaning
max_sessionsSlots. A Firefox session holds two.
slots_in_useWhat the limit compares against.
slots_maxMax slots for the plan.
max_session_mbResidential traffic one session may spend, in megabytes of 1,000,000 bytes. Over it the session ends with session_traffic_cap.
monthly_gbMonthly traffic quota in GB (10^9 bytes). 0 or absent is none. Null when billing does not say.
max_ttl_secondsLongest session the plan allows.
enginesEngines the plan offers.
block_resources_defaultWhat a session blocks when create omits block_resources.
usageCurrent month usage standing (PlanUsage).

Example shape

plan.json
{
  "name": "Interact 50 GB",
  "max_sessions": 5,
  "slots_in_use": 1,
  "slots_max": 5,
  "max_session_mb": 1000,
  "monthly_gb": 50,
  "max_ttl_seconds": 3600,
  "engines": ["chromium", "firefox"],
  "block_resources_default": ["image", "font", "media"],
  "sessions_in_use": 1,
  "usage": {
    "period": "2026-11",
    "resets": "2026-12-01 00:00 UTC",
    "traffic_bytes_used": 203000,
    "traffic_gb_used": 0.000203,
    "traffic_gb_limit": 50,
    "traffic_gb_left": 49.999,
    "usage_pct": 0.0004,
    "warn_at_pct": 80
  }
}

Field names and meanings above match PlanBlock and PlanUsage in the OpenAPI.

Bytes on a live session

On SessionRecord:

FieldMeaning
proxy_bytesResidential bytes this session has spent against the plan so far.
cdp_trafficBytes on the control channel (to_browser, from_browser). Not residential traffic, so not billed.

Usage report

usage.sh
curl "https://interact.geonode.io/v1/usage" \
  -H "X-API-Key: YOUR_API_KEY"

Optional query: ?period=YYYY-MM for another month.

UsageReport fields:

FieldMeaning
periodYYYY-MM. Current month unless period asks for another.
resetsWhen the current month ends. Null for a past month.
totalsAggregates for the period.
sessionsPer-session lines.

UsageTotals:

FieldMeaning
sessionsLines in the period, billable or not.
billable_sessionsBillable count.
proxy_bytesResidential bytes of the billable sessions.
proxy_gbSame traffic in GB.
session_secondsTotal session time.
pagesPages counted.
metered_bytes_this_periodRunning counter the quota is enforced against. It may be larger than proxy_bytes because it also holds traffic of sessions still open.

OpenAPI notes for usage: sessions that never came up are listed with billable: false rather than left out.

When limits refuse a call

Common ErrorAnswer.code values tied to traffic and slots:

CodeTypical case
plan_slotsEvery slot is in use (slots_in_use, slots_max, slots_needed).
quotaPlan traffic is spent.
session_traffic_capAppears as ended_reason when one session goes over max_session_mb.

Next

Was this page helpful?

On this page