Addresses

An address's balance by day, week or month

With what came in and went out in each interval and how many transactions did each. Without an API key at most 2,000 points, with one 20,000.

get/balance_history/{network}/{address}

Request

  • Base URL: https://sochain.com/api/v3
  • URL: https://sochain.com/api/v3/balance_history/{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

interval'day' | 'week' | 'month'

One point per day (default), week (Monday to Sunday, UTC) or month.

fromstring

Start: Unix seconds, a UTC date (from its first second) or an RFC 3339 timestamp. Default: the address's first activity (without an API key, daily points cover the most recent 2,000).

tostring

End, in the same forms (a date means its last second). Default: now.

Response

Success.

status'success' required

Example response

{
  "data": {
    "points": [
      {
        "v": "0.00024300",
        "received": "0.00024300",
        "sent": "0.00024300"
      }
    ]
  }
}

Changes

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