Wallets API
How has this wallet's native-coin balance moved day by day?
The wallet's native-coin balance at the end of each day it moved, over the last ten or so days.
/api/external/wallet-analysis/wallet-native-balance-history/{chain}/{address}What it returns
The address's native-coin balance at the end of each day of the last ten or so days, oldest first. Only days on which the balance moved have a row: a missing day kept the balance of the row before it. An address with no row in the window gets an empty points, which does not mean its balance is zero. Only the native coin is covered, not the tokens the wallet holds.
Chains
- Robinhood Chain RHC
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/wallet-analysis/wallet-native-balance-history/RHC/<address>"
| Parameter | Description |
|---|---|
chainpath · string · required | The chain the wallet address belongs to. RHC is served; SOL, BNB, ETH, BASE, STABLE and ARC return 400. CELO, ARB, OP and SCROLL return 400 here. |
addresspath · string · required | The wallet address. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
address | string | The address asked about. |
days | integer | The window the rows were taken from, in days back from today; with today included it spans days + 1 dates. |
points | object[] | Oldest first; one row per day the balance moved. |
points[].date | string | The day, YYYY-MM-DD (UTC). |
points[].balance | number | The native-coin balance at the end of the day, in whole coins. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key