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.

Request fields
FieldTypeRequirementNotes
clientKeystringRequiredYour 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

Response fields
FieldTypeRequirementNotes
errorIdinteger (0)Required0 on success.
balancenumberRequiredAvailable USD with up to 8 decimal places.
pricesobjectRequiredEnabled 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