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

# Get dataorders



## OpenAPI

````yaml /openapi.json get /data/orders
openapi: 3.0.3
info:
  title: Blink Markets API
  description: Trading API for Blink Prediction Markets
  contact:
    name: Blink
    url: https://blink15.com
  license:
    name: Proprietary
    url: https://blink15.com/terms
  version: 1.0.0
servers:
  - url: https://api.blink15.com
    description: Production (Base Sepolia Testnet)
  - url: http://localhost:3001
    description: Local Development
security: []
tags:
  - name: health
    description: Health check endpoints
  - name: markets
    description: Market discovery and information
  - name: market-data
    description: Orderbook, price, and spread data
  - name: trading
    description: Order placement, cancellation, and trade history
  - name: account
    description: Wallet status, balances, and allowances
  - name: auth
    description: API key creation and derivation (L1 EIP-712)
  - name: orders
    description: Order management
  - name: trades
    description: Trade history and fills
  - name: users
    description: User account management
  - name: faucet
    description: Testnet faucet and gasless relay endpoints
  - name: admin
    description: Administrative endpoints (requires API key)
  - name: compat
    description: Polymarket-compatible endpoints
paths:
  /data/orders:
    get:
      tags:
        - trading
      operationId: get_orders
      responses:
        '200':
          description: User's open orders with pagination cursor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrdersResponse'
        '401':
          description: HMAC authentication failed
      security:
        - hmac_signature: []
components:
  schemas:
    OrdersResponse:
      type: object
      description: |-
        Get user's open orders - GET /data/orders
        Response format matches Polymarket py-clob-client expectations
      required:
        - data
        - next_cursor
      properties:
        available_usdc:
          type: string
          description: >-
            Engine's available USDC after holds (defense-in-depth, also in
            wallet-status)
          nullable: true
        data:
          type: array
          items:
            $ref: '#/components/schemas/OrderInfo'
          description: Array of order data (Polymarket uses 'data' not 'orders')
        next_cursor:
          type: string
          description: Pagination cursor - "LTE=" means end of results (base64 "-1")
    OrderInfo:
      type: object
      description: >-
        Order info returned by /data/orders - matches Polymarket
        PolymarketOpenOrder format for Nautilus
      required:
        - id
        - market
        - maker_address
        - owner
        - side
        - asset_id
        - price
        - original_size
        - size_matched
        - status
        - outcome
        - order_type
        - created_at
      properties:
        asset_id:
          type: string
          description: Token ID as decimal string (for int() conversion)
        associate_trades:
          type: array
          items:
            type: string
          description: Associate trades (list of trade IDs or null)
          nullable: true
        created_at:
          type: integer
          format: int64
          description: Created at - epoch seconds (integer)
        expiration:
          type: string
          description: >-
            Expiration timestamp in ms (as string or null) - must always be
            present
          nullable: true
        id:
          type: string
        maker_address:
          type: string
          description: Maker address (required by Nautilus)
        market:
          type: string
          description: Market ID (UUID string)
        order_hash:
          type: string
          nullable: true
        order_type:
          type: string
          description: 'Order type / time in force: "GTC", "GTD", "FOK", "FAK"'
        original_size:
          type: string
        outcome:
          type: string
          description: 'Outcome: "Yes" or "No"'
        owner:
          type: string
          description: Owner (api key/address)
        price:
          type: string
          description: Price as decimal string
        side:
          type: string
          description: '"BUY" or "SELL" (uppercase)'
        size_matched:
          type: string
        status:
          type: string
          description: >-
            Status in UPPERCASE for Nautilus Trader compatibility: LIVE,
            MATCHED, CANCELED, etc.
  securitySchemes:
    hmac_signature:
      type: apiKey
      in: header
      name: BLINK-SIGNATURE

````