Skip to main content
GET
/
wallet
/
charts
Get chart data for multiple wallet addresses across various networks.
curl --request GET \
  --url https://openapiv1.coinstats.app/wallet/charts \
  --header 'X-API-KEY: <api-key>'
[
  {
    "data": [
      [
        1735038000000,
        8.3034,
        0.00008833,
        0.00244788
      ],
      [
        1735041600000,
        8.3345,
        0.0000883,
        0.00244324
      ]
    ],
    "walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "connectionId": "ethereum",
    "message": "An error occurred while fetching data"
  }
]
40 credits per request
In Query field “wallets”: credits are multiplied by the number of values.
If the value of “wallets” in Query is “all”, multiplier is 400 credits.
  • If aggregated is true, the response will include aggregated data for all wallets.
  • If aggregated is false, the response will include data for each wallet individually.

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
wallets
string
required

Comma-separated list of wallet addresses in format "connectionId:address"

Example:

"ethereum:0x1234567890abcdef1234567890abcdef12345678,polygon:0x4567890abcdef1234567890abcdef1234567890abc"

aggregated
enum<string>
default:true

Whether to return aggregated data

Available options:
true,
false
Example:

"true"

Response

Get Chart data for multiple wallets

data
number[][]
required
  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
]
]
walletAddress
string

The wallet address

Example:

"0x1234567890abcdef1234567890abcdef12345678"

connectionId
string

The blockchain network identifier

Example:

"ethereum"

message
string

Error messages for each wallet in case of errors. If a wallet encounters an error, its corresponding message will be included. If all wallets are successful, this field will be empty.

Example:

"An error occurred while fetching data"

I