This guide shows you how to see how much traffic a residential package used and what it cost.
Every request uses your personal API key from your account dashboard (how to get your API key). In the examples below, replace YOUR_API_KEY with your own key.
Step 1 — Get the package info
Get the package status and overall traffic left. Copy the package_key.
Endpoint
GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/resident/package
Response
{
"status": "success",
"data": {
"rotation": 3600,
"package_key": "064b9fcc7416d9e6f65f",
"is_active": true,
"tarif_id": "69e79e532c200df885906f8f",
"is_link_date": false,
"traffic_limit": "1073741824",
"traffic_usage": "0",
"traffic_left": "1073741824",
"traffic_usage_sub": "0",
"traffic_limit_sub": "0",
"traffic_left_sub": "0",
"expired_at": "2026-06-13 23:59:59",
"auto_renew": false
},
"errors": []
}
Step 2 — Get the traffic usage
Get detailed traffic usage for the package. You can filter by list login or a date range.
Endpoint
POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/resident/traffic/details
Request body
Name | Type | Description |
packageKey | String | Package key (from package info). |
login (optional) | String | Optional: filter by list login. |
date_start (optional) | String | Optional date filter, format DD.MM.YYYY. |
date_end (optional) | String | Optional date filter, format DD.MM.YYYY. |
Response
{
"status": "success",
"data": {
"1234567890abcdef": {
"2025-12-02 14:00:00": 431879,
"2025-12-02 15:00:00": 890159,
"2025-12-02 16:00:00": 1650503
}
},
"errors": []
}
Step 3 — Get the spend report
Get the spend report: amount, price per GB and the breakdown by list.
Endpoint
POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/resident/consumption
Request body
Name | Type | Description |
login (optional) | String | Optional: filter by list login. |
date_start (optional) | String | Optional date filter, format DD.MM.YYYY. |
date_end (optional) | String | Optional date filter, format DD.MM.YYYY. |
Response
{
"status": "success",
"data": {
"package_key": "1234567890abcdefedcb",
"orders_amount": "$220",
"orders_bytes": "107374182400",
"orders_bytes_formated": "100.0 GB",
"price_per_gb": "$2.20",
"used_bytes": "6836179461",
"used_bytes_formated": "6.4 GB",
"used_orders_amount": "$14",
"lists": [
{ "login": "437e7d9ca1050bab", "bytes": "6836179461", "bytes_formated": "6.4 GB", "cost": "$14" }
]
},
"errors": []
}
