Get rotating proxy usage
curl --request GET \
--url https://api.floppydata.net/v2/proxy/rotating/usage \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/proxy/rotating/usage"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/proxy/rotating/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"traffic": {
"yesterday": {
"totalBytes": 1073741824,
"totalGb": 1,
"txBytes": 536870912,
"rxBytes": 536870912
},
"last7Days": {
"totalBytes": 10737418240,
"totalGb": 10,
"txBytes": 5368709120,
"rxBytes": 5368709120
},
"last30Days": {
"totalBytes": 32212254720,
"totalGb": 30,
"txBytes": 16106127360,
"rxBytes": 16106127360
},
"requestedRange": {
"totalBytes": 10737418240,
"totalGb": 10,
"txBytes": 5368709120,
"rxBytes": 5368709120
}
},
"lastUpdatedAt": "2026-06-10T12:00:00.000Z",
"filters": {
"from": "2025-01-27T00:00:00.000Z",
"to": "2025-12-28T23:59:59.999Z",
"countryCode": "US",
"proxyType": "residential"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}Rotating
Usage
Returns rotating proxy traffic usage as UTC period rollups: yesterday, last7Days, and last30Days. If from or to is supplied, the response also includes requestedRange. Use countryCode, proxyType, or poolId to narrow every rollup.
GET
https://api.floppydata.net
/
v2
/
proxy
/
rotating
/
usage
Get rotating proxy usage
curl --request GET \
--url https://api.floppydata.net/v2/proxy/rotating/usage \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/proxy/rotating/usage"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/proxy/rotating/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"traffic": {
"yesterday": {
"totalBytes": 1073741824,
"totalGb": 1,
"txBytes": 536870912,
"rxBytes": 536870912
},
"last7Days": {
"totalBytes": 10737418240,
"totalGb": 10,
"txBytes": 5368709120,
"rxBytes": 5368709120
},
"last30Days": {
"totalBytes": 32212254720,
"totalGb": 30,
"txBytes": 16106127360,
"rxBytes": 16106127360
},
"requestedRange": {
"totalBytes": 10737418240,
"totalGb": 10,
"txBytes": 5368709120,
"rxBytes": 5368709120
}
},
"lastUpdatedAt": "2026-06-10T12:00:00.000Z",
"filters": {
"from": "2025-01-27T00:00:00.000Z",
"to": "2025-12-28T23:59:59.999Z",
"countryCode": "US",
"proxyType": "residential"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}Query Parameters
Date or datetime in RFC 3339 format
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Example:
"2025-01-27T00:00:00Z"
Response
Rotating proxy traffic usage.
Was this page helpful?