Skip to content
UNHEDGED / DOCS

Search documentation

Browse docs or start typing to find a topic

↑ ↓ to navigate Enter to open Esc to close

Documentation

Back to app

Get Equity History

GET https://api.unhedged.gg/api/v1/portfolio/me/equity-history

Returns funding-neutral P/L chart points for the past day or week from one fresh database snapshot per request (Cache-Control: no-store). Each equity value is cumulative P/L within that window. Returns 503 with Retry-After: 1 at capacity.

Configure request

Request

Security · Bearer token

Send your API key in the Authorization header. Required scope portfolio:read.

Rate limit · 30 req/min per user

Query parameters

range string
1D or 1W. Default 1D.
Portfolio retry guidance
Authorization
Bearer token Authorization: Bearer ak_your_key_here
Query parameters
curl https://api.unhedged.gg/api/v1/portfolio/me/equity-history \
  -H "Authorization: Bearer ak_your_key_here"
Response
{
  "range": "1D",
  "points": [
    { "t": "2026-04-11T15:35:00.000Z", "equity": "0.0000000000" },
    { "t": "2026-04-11T16:35:00.000Z", "equity": "2.5000000000" }
  ]
}