Balance API
The Balance API allows you to get the balance of your account.
API Endpoints
Endpoint
GET /api/v3/balance
Request
curl -X GET 'https://api.wavespeed.ai/api/v3/balance' \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Request Parameters
Parameter | Type | Required | Default | Range | Description |
---|---|---|---|---|---|
- | - | - | - | - | - |
Response Parameters
Parameter | Type | Description |
---|---|---|
code | integer | HTTP status code (e.g., 200 for success, 500 for failure) |
message | string | Status message (e.g., “success” or error message) |
data.balance | number | ’USD’ balance of your account |