Perpetuals

Dedicated endpoints for perpetual asset contexts and margin tables.

Access comprehensive data for the perpetuals exchange, including asset metadata, real-time funding rates, and market contexts. These resources provide the technical details required to monitor account-level summaries, margin tables, and the status of builder-deployed markets.

Retrieve perpetuals metadata (universe and margin tables)

POST /external/info

Fetches the complete list of tradable perpetual assets along with their specific parameters, such as decimal precision and maximum leverage limits. Includes current margin tables that define the tiered leverage structures and maintenance thresholds required for managing positions across the exchange.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"meta"

dex (optional)

String

Perp dex name. Defaults to the empty string which represents the first perp dex.

Response


Retrieve user's perpetuals account summary

POST /external/info

Provides a comprehensive overview of a user's perpetual trading state, including detailed position data, cumulative funding tracking, and current margin summaries. It reports critical real-time values such as unrealized PnL, liquidation prices, and account-wide withdrawable totals to facilitate effective risk management.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"clearinghouseState"

user

String

Onchain address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.

dex (optional)

String

Perp dex name. Defaults to the empty string which represents the first perp dex.

Response


Retrieve User's Active Asset Data

POST /external/info

Retrieves real-time account data for a specific asset, including the current leverage settings, mark price, and maximum tradeable sizes. It provides essential information for executing trades, such as the total amount available to trade in both base and quote currencies for the selected coin.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"activeAssetData"

user

String

Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.

coin

String

Coin, e.g. "ETH". See herearrow-up-right for more details.

Responses


Retrieve information about the Perp Deploy Auction

POST /external/info

Provides the current status and timing parameters for the Dutch auction required to deploy new permissionless perpetual markets on the exchange. Reports essential metrics such as auction duration, current gas prices, and start times to help developers coordinate new market listings effectively.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"perpDeployAuctionStatus"

Response


Query perps at open interest caps

POST /external/info

Identifies all perpetual assets that have reached their open interest limits for a specific perpetual DEX. Returns an array of tickers to help developers monitor market availability and manage risk for builder-deployed markets.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"perpsAtOpenInterestCap"

dex (optional)

String

Perp dex name. Defaults to the empty string which represents the first perp dex.

Response


Retrieve all perpetual dexs

POST /external/info

Returns a complete list of all perpetual DEXs available on the platform, including their unique identifiers, deployer addresses, and specific market parameters. Provides granular configuration details for each DEX, such as streaming open interest caps and funding multipliers for supported assets.

Headers

Name
Type
Description

Content-Type

String

"application/json"

Request Body

Name
Type
Description

type

String

"perpDexs"

Response

Last updated