Agara

List your account activity

GET
/trade/v1/portfolio/activities

Authorization

Authorization
Required
Bearer <token>

Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….

In: header

Scope: portfolio:read

Query Parameters

limitinteger

Page size from 1 to 500. Defaults to 50.

Minimum: 0Format: "int32"

cursorstring

Opaque next_cursor from the previous page.

curl -X GET "https://app.agara.xyz/trade/v1/portfolio/activities?limit=0&cursor=string" \
  -H "Authorization: Bearer <token>"

Snapshot-stable AGARA history of terminal orders with fills, splits, merges, redemptions, deposits, and withdrawals, sorted newest-first.

{
  "activities": [
    {
      "average_fill_price_micro": "1000000",
      "condition_id": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "exchange": "AGARA",
      "fees_micro": "1000000",
      "fill_status": "FULL",
      "filled_amount_micro": "1000000",
      "filled_shares_micro": "1000000",
      "id": "string",
      "order_id": "string",
      "side": "BUY",
      "status": "MATCHED",
      "token_id": "string",
      "type": "ORDER"
    }
  ],
  "as_of": "2019-08-24T14:15:22Z",
  "conditions": {
    "property1": {
      "display": {
        "market": {}
      },
      "event_slug": "string",
      "logo_url": "string",
      "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b",
      "market_title": "string"
    },
    "property2": {
      "display": {
        "market": {}
      },
      "event_slug": "string",
      "logo_url": "string",
      "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b",
      "market_title": "string"
    }
  },
  "events": {
    "property1": {
      "display": {
        "event": {}
      },
      "event_title": "string"
    },
    "property2": {
      "display": {
        "event": {}
      },
      "event_title": "string"
    }
  },
  "markets": {
    "property1": {
      "display": {
        "market": {},
        "outcome": {}
      },
      "event_slug": "string",
      "logo_url": "string",
      "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b",
      "market_title": "string",
      "outcome_name": "string"
    },
    "property2": {
      "display": {
        "market": {},
        "outcome": {}
      },
      "event_slug": "string",
      "logo_url": "string",
      "market_id": "6364d859-8e1b-477a-bacc-de8305a9292b",
      "market_title": "string",
      "outcome_name": "string"
    }
  },
  "pagination": {
    "limit": 50,
    "next_cursor": "string"
  }
}