Skip to main content
GET
/
usage
Usage metrics
curl --request GET \
  --url https://scraping-api.55-tech.com/usage \
  --header 'X-API-Key: <api-key>'
{
  "api_key": "<string>",
  "total": 123,
  "success": 123,
  "fail": 123,
  "success_rate": 123,
  "bytes_transferred": 123,
  "rate_limit": {
    "rps": 123,
    "burst": 123,
    "remaining": 123
  },
  "by_protocol": {
    "fetch": 123,
    "ws": 123,
    "amqp": 123
  },
  "top_domains": [
    {
      "domain": "<string>",
      "requests": 123
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Response

Usage metrics for the authenticated API key.

api_key
string
total
integer

Total requests across all protocols.

success
integer

Successful requests.

fail
integer

Failed requests.

success_rate
number

Success percentage (0-100).

bytes_transferred
integer

Total response bytes (HTTP fetch only).

rate_limit
object
by_protocol
object
top_domains
object[]

Top 20 domains by request count.