API reference / POST
getBalance
Returns the available USD balance and the currently enabled prices.
Request
Send a JSON body to https://api.solvemoor.com/getBalance. The key travels in the body as clientKey.
| Field | Type | Requirement | Notes |
|---|---|---|---|
clientKey | string | Required | Your API key. Write-only. |
POST /getBalance
curl -sS https://api.solvemoor.com/getBalance \
-H "Content-Type: application/json" \
-d '{"clientKey": "YOUR_API_KEY"}'Placeholders only: YOUR_API_KEY, YOUR_SITE_KEY, and <task-id>. No solved token is shown.
Response
| Field | Type | Requirement | Notes |
|---|---|---|---|
errorId | integer (0) | Required | 0 on success. |
balance | number | Required | Available USD with up to 8 decimal places. |
prices | object | Required | Enabled prices keyed by task type. Disabled or missing rows are omitted. |
Behavior
- balance is the available amount derived from the append-only ledger.
- prices contains enabled task types only; disabled or missing rows are omitted, not null.
- Amounts are JSON numbers with up to 8 decimal places, not strings.
Errors
Shared authentication and transport errors apply to every operation. Open the full catalog. Full error catalog