GET /portfolio/{account}/history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/limitless/portfolio/{account}/historyCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePublic trading history for one wallet, cursor-paginated.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
account | path | str | required | EVM wallet address whose public portfolio is read. example: 0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE |
limit | query | int | required | Items per page (required by the server). example: 5 |
cursor | query | str | optional | Opaque forward cursor from the previous page's `nextCursor`; omit for the first page. Cursors are audience-pinned and expire with the 24-hour feed window. example: eyJhIjoiYWxsIiwiayI6ImNsb2I6ZGYxNWI5MmEtNGRmMi00ZWRjLWJjZjgtN2M2MTJjNWExMDFlOjE0NDM3MzEiLCJ0IjoiMjAyNi0xMS0xOFQxODo0OTo1My44ODEwMDBaIiwidiI6MX0 |
market | query | str | optional | Restrict history to one market slug. example: btc-up-or-down-15-min-1795026600 |
Response
type: object
pagination: none
sample: {
"data": "array[5]",
"nextCursor": "str"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/limitless/portfolio/0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE/history?limit=5&cursor=eyJhIjoiYWxsIiwiayI6ImNsb2I6ZGYxNWI5MmEtNGRmMi00ZWRjLWJjZjgtN2M2MTJjNWExMDFlOjE0NDM3MzEiLCJ0IjoiMjAyNi0xMS0xOFQxODo0OTo1My44ODEwMDBaIiwidiI6MX0&market=btc-up-or-down-15-min-1795026600"