Skip to main content
GET
/
v1
/
positions
/
perp
Get perpetual positions
curl --request GET \
  --url https://api.trydocent.com/v1/positions/perp \
  --header 'Authorization: Bearer <token>'
{
  "user": "<string>",
  "clearinghouseStates": [
    {
      "dex": "<string>",
      "state": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.trydocent.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in the format dk_live_.... Pass as Authorization: Bearer dk_live_...

Response

200 - application/json

Perpetual positions

user
string

Wallet address

clearinghouseStates
object[]

Positions grouped by DEX