Skip to content

Get Perpetual Markets

Retrieves perpetual markets.

Method Declaration

Python
def get_perpetual_markets(self, market: str = None) -> Response
Unification Plan
  • Add alias for the return type in Rust: PerpetualMarketsMap

Parameters

ParameterLocationTypeRequiredDescription
marketqueryTickerfalseThe specific market ticker to retrieve. If not provided, all markets are returned.
limitqueryu32falseMaximum number of asset positions to return in the response.

Response

StatusMeaningSchemaDescription
200OKPerpetualMarketMapThe perpetual markets data.
400Bad RequestThe request was malformed or invalid.
404Not FoundThe market was not found.
API Example