Addresses

Balance of an address

Confirmed balance and the pending change from the mempool; with height or time, the confirmed balance at that point instead.

get/balance/{network}/{address}

Request

  • Base URL: https://sochain.com/api/v3
  • URL: https://sochain.com/api/v3/balance/{network}/{address}
  • Auth: one of:
    • none
    • API key in header API-KEY
    • API key in query parameter api_key

Path parameters

network'BTC' | 'LTC' | 'DOGE' | 'ZEC' | 'BTCTEST' | 'LTCTEST' | 'DOGETEST' | 'ZECTEST' required

Network code (any case).

addressstring required

An address (letters and digits).

Query parameters

heightinteger

The confirmed balance at the end of this block, instead of now.

timestring
Example:2025-12-31

The confirmed balance at this time, instead of now: Unix seconds, a UTC date (meaning the end of that day) or an RFC 3339 timestamp. It's taken at the last block at or before it. Not together with height.

Response

Success.

status'success' required

Example response

{
  "data": {
    "confirmed": "0.00024300",
    "unconfirmed": "0.00024300"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.