Skip to main content
GET
/
api
/
v1
/
delegations
Get delegations
curl --request GET \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/delegations \
  --header 'Authorization: Bearer <token>'
[
  {
    "delegated_account": "0x123...",
    "permission_type": "TradePerpsAllMarkets",
    "expiration_time_s": 1736326800000
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

subaccount
string
required

Subaccount address

Response

Delegations retrieved successfully

delegated_account
string
required

The address of the delegated account

Example:

"0x123..."

permission_type
string
required

The permission type that was granted

Example:

"TradePerpsAllMarkets"

expiration_time_s
integer<int64> | null

The expiration time in seconds (optional, None means no expiration)

Required range: x >= 0
Example:

1736326800000