Skip to main content
GET
/
portfolio
/
history
Get History
curl --request GET \
  --url https://api.limitless.exchange/portfolio/history \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "blockTimestamp": 1744115608,
      "collateralAmount": "0",
      "market": {
        "closed": false,
        "collateral": {
          "symbol": "USDC",
          "id": 7,
          "decimals": 6
        },
        "group": {
          "id": 10000037,
          "slug": "positionconverted-test-1744046422596",
          "title": "PositionConverted test",
          "status": "FUNDED",
          "deadline": "2025-04-11T22:34:56.000Z",
          "hidden": false,
          "priorityIndex": 0,
          "metadata": {
            "isBannered": false
          },
          "negRiskMarketId": "0xe103633b40e9b664f8acc89e8cf7b7916475961ae1708a249fa5d6c933168c00",
          "createdAt": "2025-04-07T17:20:22.135Z",
          "updatedAt": "2025-04-07T17:22:08.464Z",
          "txHash": null,
          "resolutionTxHash": null
        },
        "condition_id": "0x08518bc4bb8a3dbb89aac4425ace0876b94a5dfa77dee47a20737a19cf67e325",
        "funding": 0,
        "id": 980,
        "slug": "market-1-1744046422691",
        "title": "Market 1",
        "deadline": "2025-04-11T22:34:56.000Z"
      },
      "outcomeTokenAmount": "100",
      "outcomeTokenAmounts": [
        "100",
        "0"
      ],
      "outcomeIndex": 0,
      "outcomeTokenPrice": 0.5,
      "strategy": "Convert",
      "transactionHash": "0x992f36465f938b21a6a5fe3c417c98c3268a616a05479d2dc53870c6cd1a0761"
    }
  ],
  "totalCount": 8
}

Authorizations

Authorization
string
header
required

JWT token for API access (alternative to cookie auth)

Query Parameters

page
number
required

Page number

Example:

1

limit
number
required

Number of items per page

Example:

10

from
string<date-time>

Start date for filtering (ISO 8601 format)

Example:

"2024-01-01T00:00:00.000Z"

to
string<date-time>

End date for filtering (ISO 8601 format)

Example:

"2024-12-31T23:59:59.999Z"

Response

Paginated history of all user actions

data
object[]
required

List of history entries

totalCount
number
required

Total count of entries

Example:

8