Skip to main content
GET
/
api
/
v1
/
portfolio
/
positions
List open positions
curl --request GET \
  --url https://carboncopy.news/api/v1/portfolio/positions \
  --header 'Authorization: Bearer <token>'
{
  "page": [
    {
      "id": "k17abc123def456",
      "traderWallet": "0xAbCd1234...",
      "marketId": "0x1234abcd...",
      "side": "YES",
      "amount": 50,
      "status": "open",
      "createdAt": 1741550000000,
      "marketQuestion": "Will BTC exceed $100k by end of 2025?",
      "price": 0.62,
      "pnl": 12.5,
      "orderId": "k17xyz789",
      "resolvedAt": 123
    }
  ],
  "isDone": true,
  "continueCursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key in the format cc_<64 hex characters>. Obtain from the Dashboard under Settings → API Keys.

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string
since
integer
until
integer

Response

Paginated open positions.

page
object[]
required
isDone
boolean
required

true when this is the last page of results.

continueCursor
string | null

Pass this value as cursor in your next request to fetch the following page. null when no more pages exist.