消費コスト
Updated:
エンドポイント:
POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/resident/consumption
パスパラメータ
名前 | 価値 | 説明 |
|---|---|---|
承認 |
| ご自身のAPIキー |
リクエスト本文
名前 | 種類 | 説明 |
|---|---|---|
ログイン | 文字列 | リストで絞り込み ログイン |
date_start | 文字列 | 開始日(2025年1月20日)で絞り込む |
date_end | 文字列 | 「終了日」で絞り込み(27.01.2025) |
例
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/resident/consumption
{
"login": "123123",
"date_start":"20.01.2025",
"date_end":"20.10.2026"
}回答
{
"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": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not allowed",
"code": 503,
"customData": null
}
]
}Same response in case with wrong rotation!
{
"status": "error",
"data": null,
"errors": [
{
"message": "not-found",
"code": 404,
"customData": null
},
{
"message": "not-found (404)",
"code": 0,
"customData": null
}
]
}