Skip to main content
GET
/
portfolio
/
snapshot
/
items
Get historical portfolio snapshot data with normalized coin balances and portfolio metrics
curl --request GET \
  --url https://openapiv1.coinstats.app/portfolio/snapshot/items \
  --header 'X-API-KEY: <api-key>'
{
  "result": [
    {
      "date": "2025-08-29T10:00:00.000Z",
      "coinBalances": [
        {
          "symbol": "KMNO",
          "icon": "https://static.coinstats.app/coins/kaminobx1.png",
          "quantity": 282.85,
          "balance": 15.7021349,
          "quantityChange": 0,
          "balanceChange": -0.2110061,
          "pricePerUnit": 0,
          "pricePercentChange": 0
        }
      ],
      "totalBalance": 74.137019959,
      "totalBalanceChange": -0.43391738,
      "totalBalancePercentChange": -0.58188537
    }
  ]
}
500 credits per request
  • Historical coin quantities and balances over time
  • Total portfolio balance tracking with changes
  • Price changes and quantity changes between snapshots
  • Filterable by date range and specific coins
This endpoint is only available for users with a Degen plan subscription.
  • shareToken: Get this from your CoinStats portfolio page by clicking “Share” and copying the token from the share URL
  • from & to: Date range filter (YYYY-MM-DD format)
  • coinIds: Comma-separated list of coin IDs to filter by
  • page & limit: Pagination controls
  • passcode: Passcode for accessing protected portfolio data (can be passed in header or query parameter)

Authorizations

X-API-KEY
string
header
required

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

Headers

passcode
string

Passcode for accessing protected portfolio data

Example:

"123456"

Query Parameters

page
number

Page number to retrieve (1-based indexing)

Example:

1

limit
number

Number of items to return per page

Example:

20

shareToken
string
required
from
string

Start date for snapshot data (YYYY-MM-DD format)

Example:

"2024-01-01"

to
string

End date for snapshot data (YYYY-MM-DD format)

Example:

"2024-12-31"

coinIds
string

Comma-separated list of coin IDs to filter by

Example:

"bitcoin,ethereum,cardano"

passcode
string

Passcode for accessing protected portfolio data

Example:

"123456"

Response

Portfolio Snapshot Items

result
object[]
required

Array of portfolio snapshots ordered chronologically

I