Proxy-seller

Consumption cost

Endpoint:

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/resident/consumption

Path parameters

Name

Value

Description

Authorization

<Your_API_Key>

Your personal API key

Request body

Name

Type

Description

login

String

Filter by List login

date_start

String

Filter by Date start (20.01.2025)

date_end

String

Filter by Date end (27.01.2025)

Example

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/resident/consumption

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": []
}
{
    "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
        }
    ]
}

On this page