> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shuriken.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# List Markets



## OpenAPI

````yaml GET /api/v2/perp/markets
openapi: 3.0.3
info:
  description: Multi-chain DEX trading API for developers
  license:
    name: ''
  title: Shuriken API v2
  version: 2.0.0
servers:
  - url: https://api.shuriken.trade
security: []
tags:
  - description: SplitNOW cross-chain split plan + execute
    name: V2 Splits
  - description: Wallet archive lifecycle (archive / unarchive / bulk-archive)
    name: Wallets
  - description: Token discovery, metadata, and pricing
    name: V2 Tokens
  - description: Quote and execute swaps
    name: V2 Swap
  - description: Limit orders and stop-loss
    name: V2 Trigger
  - description: Managed-agent invocation
    name: V2 Agents
  - description: Portfolio positions and PnL
    name: V2 Portfolio
  - description: User account management
    name: V2 Account
  - description: WebSocket stream discovery, session bootstrap, and channel authorization
    name: V2 WebSocket
  - description: Perpetual trading on Hyperliquid
    name: V2 Perps
  - description: Agent-proposed trade suggestions
    name: V2 Suggestions
paths:
  /api/v2/perp/markets:
    get:
      tags:
        - V2 Perps
      summary: GET /api/v2/perp/markets — List all perpetual markets
      operationId: get_perp_markets
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_Vec_PerpMarket'
          description: List of perpetual markets
      security:
        - bearer_auth: []
components:
  schemas:
    ApiResponse_Vec_PerpMarket:
      description: V2 success response envelope
      properties:
        data:
          items:
            properties:
              asks:
                items:
                  $ref: '#/components/schemas/BookLevel'
                type: array
              bids:
                items:
                  $ref: '#/components/schemas/BookLevel'
                type: array
              ctx:
                $ref: '#/components/schemas/MarketCtx'
              meta:
                $ref: '#/components/schemas/MarketMeta'
            required:
              - meta
              - ctx
            type: object
          type: array
        pagination:
          $ref: '#/components/schemas/PaginationInfo'
          nullable: true
        requestId:
          type: string
      required:
        - data
        - requestId
      type: object
    BookLevel:
      properties:
        numOrders:
          format: int32
          minimum: 0
          type: integer
        price:
          type: string
        size:
          type: string
      required:
        - price
        - size
        - numOrders
      type: object
    MarketCtx:
      properties:
        dayNtlVlm:
          type: string
        funding:
          type: string
        markPx:
          type: string
        midPx:
          type: string
        openInterest:
          type: string
        oraclePx:
          type: string
        premium:
          type: string
        prevDayPx:
          type: string
      required:
        - midPx
        - markPx
        - oraclePx
        - prevDayPx
        - dayNtlVlm
        - funding
        - openInterest
        - premium
      type: object
    MarketMeta:
      properties:
        assetIndex:
          format: int32
          minimum: 0
          type: integer
        maxLeverage:
          format: int32
          minimum: 0
          type: integer
        name:
          type: string
        onlyIsolated:
          type: boolean
        szDecimals:
          format: int32
          type: integer
      required:
        - name
        - assetIndex
        - szDecimals
        - maxLeverage
        - onlyIsolated
      type: object
    PaginationInfo:
      description: Page-based pagination info (per RFC)
      properties:
        hasMore:
          type: boolean
        limit:
          format: int32
          minimum: 0
          type: integer
        page:
          format: int32
          minimum: 0
          type: integer
        total:
          format: int32
          minimum: 0
          nullable: true
          type: integer
      required:
        - page
        - limit
        - hasMore
      type: object
  securitySchemes:
    bearer_auth:
      bearerFormat: JWT or sk_{keyId}_{secret}
      description: >-
        Use `Authorization: Bearer <jwt>` for user auth or `Authorization:
        Bearer sk_{keyId}_{secret}` for API key auth.
      scheme: bearer
      type: http

````