Get History
Paginated history including AMM, CLOB trades, splits/merges, NegRisk conversions. Partner API tokens with delegated_signing scope may read a sub-account by sending the x-on-behalf-of: <profileId> header.
Pass market=<slug> to scope the response to a single market’s activity across every source. Cursors are market-scoped: a nextCursor issued for one market value is only valid when replayed with the same market value on the next page. Mixing a filtered cursor with a different (or missing) market value produces incorrect pagination.
strategy field to distinguish fill types:Limit Buy/Limit Sell— CLOB maker fills (a resting limit order of yours was hit).Market Buy/Market Sell— CLOB taker fills (your order crossed the book on submission).Buy/Sell— AMM trades (also available via Get Trades).Split/Merge— position split/merge.Convert— NegRisk conversion.Claim— winnings redemption.
outcomeTokenPrice (effective fill price), outcomeTokenAmounts, collateralAmount, blockTimestamp, and transactionHash (present once settled on-chain). Paginate with cursor and limit.POST /portfolio/withdraw executes a withdrawal but does not return past withdrawals. To reconstruct transfers, query the on-chain USDC transfers to and from your account on Base.Authorizations
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Query Parameters
Opaque cursor for cursor-based pagination. Omit for first page. For subsequent pages, pass the nextCursor value from the previous response. Cursors are market-scoped and must be replayed with the same market value they were issued for.
Number of items per page (1-100).
1 <= x <= 10020
Market slug. When set, the response only includes activity for that market across every source: CLOB and AMM trades, splits/merges, NegRisk conversions, claims, and resolutions. An unknown slug returns 404. Cursors issued with this parameter are only valid when replayed with the same value.
1 - 200"will-btc-close-above-100k-on-dec-31"
Response
Paginated history of all user actions
List of history entries
Total count of entries (null in cursor mode)
8
Opaque cursor for the next page. null when there are no more pages. Pass this value back as the cursor query parameter to fetch the next page.
"eyJ0Ijoi..."