curl 'https://api.serialized.xyz/v1/wallet/equity/history?chain=solana&wallet=6GJbPKBtovsrMEEMcic5KMi5tswh9qSyT5ZYLMqEwNgt&from=1790392000000' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"currentValueUsd": 18432.57,
"points": [
{ "at": 1790392200000, "valueUsd": 15120.44 },
{ "at": 1790395800000, "valueUsd": 16890.02 },
{ "at": 1790397131000, "valueUsd": 18432.57 }
]
},
"meta": {
"asOf": 1790397134667,
"historyFrom": 1790392200000
}
}
Wallets
Wallet Equity History
Total wallet value (USD) as a time series over a chosen window - the equity curve behind every portfolio chart.
GET
/
v1
/
wallet
/
equity
/
history
curl 'https://api.serialized.xyz/v1/wallet/equity/history?chain=solana&wallet=6GJbPKBtovsrMEEMcic5KMi5tswh9qSyT5ZYLMqEwNgt&from=1790392000000' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"currentValueUsd": 18432.57,
"points": [
{ "at": 1790392200000, "valueUsd": 15120.44 },
{ "at": 1790395800000, "valueUsd": 16890.02 },
{ "at": 1790397131000, "valueUsd": 18432.57 }
]
},
"meta": {
"asOf": 1790397134667,
"historyFrom": 1790392200000
}
}
GET /v1/wallet/equity/history · 5 credits
Total wallet value (USD) as a time series over a chosen window - the equity curve behind every portfolio chart.
currentValueUsd is the latest total value; points is the equity curve (at in ms, valueUsd), its last point being the current value. from and to are rounded down to the minute; meta.asOf is the moment the curve was computed.Window and point spacing
- Without
from: the last 30 days. A window is at most 90 days: a longer one returns its last 90 days. - Point spacing follows the window length:
| Window | Spacing |
|---|---|
| up to 1 day | 5 minutes |
| up to 7 days | 15 minutes |
| up to 30 days | 1 hour |
| up to 90 days | 6 hours |
meta.historyFrom(ms) is the first instant the curve covers. Whenfromis earlier, the curve starts athistoryFrom.
Limits
A wallet that touched more than 10,000 tokens over the window (held at the start, or moved inside it) answers422 TOO_MUCH_DATA with details.what: "tokens", details.count and details.limit: the curve of such a bot is not computed in one call. Ask for a shorter window. The call is not billed. See Errors.
curl 'https://api.serialized.xyz/v1/wallet/equity/history?chain=solana&wallet=6GJbPKBtovsrMEEMcic5KMi5tswh9qSyT5ZYLMqEwNgt&from=1790392000000' \
-H 'Authorization: YOUR_API_KEY'
{
"data": {
"currentValueUsd": 18432.57,
"points": [
{ "at": 1790392200000, "valueUsd": 15120.44 },
{ "at": 1790395800000, "valueUsd": 16890.02 },
{ "at": 1790397131000, "valueUsd": 18432.57 }
]
},
"meta": {
"asOf": 1790397134667,
"historyFrom": 1790392200000
}
}
Query Parameters
Response
200
Standard { data, meta } envelope.