Skip to main content
GET
/
wallet
/
chart
Get wallet chart data for specific time ranges
curl --request GET \
  --url https://openapiv1.coinstats.app/wallet/chart \
  --header 'X-API-KEY: <api-key>'
{
  "result": [
    [
      1735038000000,
      8.3034,
      0.00008833,
      0.00244788
    ],
    [
      1735041600000,
      8.3345,
      0.0000883,
      0.00244324
    ]
  ]
}
40 credits per request
In Query field “connectionId”: credits are multiplied by the number of values.
If the value of “connectionId” in Query is “all”, multiplier is 400 credits.
In Query field “blockchain”: credits are multiplied by the number of values.
If the value of “blockchain” in Query is “all”, multiplier is 400 credits.
Multipliers can be applied multiple times.

Authorizations

X-API-KEY
string
header
required

API key needed to access the endpoints. Example: 'demo-api-key'

Query Parameters

type
enum<string>
required

One of time periods.

Available options:
24h,
1w,
1m,
3m,
6m,
1y,
all
address
string
required

The wallet address for which the chart is being queried.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

connectionId
string

The identifier of connection from /wallet/blockchains call response. Can be a single network (e.g., "ethereum") or a comma-separated list of networks or "all" for all connections.

Example:

"base-wallet"

blockchain
string

The blockchain network identifier from /wallet/blockchains call response. Either connectionId or blockchain must be provided. If both are provided, connectionId will be used.

Example:

"base"

Response

Get Chart of Wallet

result
number[][]
required

Array of historical price data points. Each data point is an array containing:

  1. TIMESTAMP - Unix timestamp in seconds
  2. USD - Price in USD
  3. BTC - Price in Bitcoin
  4. ETH - Price in Ethereum
Example:
[
  [
    1735038000000,
    8.3034,
    0.00008833,
    0.00244788
  ],
  [
    1735041600000,
    8.3345,
    0.0000883,
    0.00244324
  ]
]