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

> ## Agent Instructions
> Authenticate every request with `Authorization: ApiKey {jwt}`: an ES256 JWT signed with the user's private API key, whose header carries `kid` (the API key ID) and whose payload carries `iat` (Unix time in seconds) and `message`, the hex SHA-256 of `{iat}\n{METHOD}\n{PATH}\n{BODY}`. METHOD is uppercase, PATH includes the query string, BODY is the exact JSON sent or an empty string. Full steps: https://developer.bron.org/api-reference/authentication
> Prefer the official SDKs or the CLI, which sign every request: TypeScript `npm install @bronlabs/bron-sdk`, Go `go get github.com/bronlabs/bron-sdk-go`, Python `pip install git+https://github.com/bronlabs/bron-sdk-python.git`, CLI `brew install bronlabs/apps/bron`. Hand-write JWT signing only for a language without an SDK.
> The base URL is https://api.bron.org. Workspace data lives under `/workspaces/{workspaceId}/...`, and `/dictionary/...` serves reference data such as assets, networks and prices. Timestamps are milliseconds since the Unix epoch. Numeric values, amounts included, are strings: never parse them as floats.
> Never ask the user to paste their API key (the private JWK) into a chat and never hard-code it: read it from an environment variable or a secret store.

# Get Hyperliquid Orders

> Orders of the account: every open order plus the most recent finished ones. A `hyperliquid-order` transaction creates one order per leg; filter by `transactionId` to read their results, or by `cloid` to find one order by its client order id.

<sup>API Key permissions: View only, Transaction Operator, Full Access</sup>



## OpenAPI

````yaml /bron-open-api-public.json get /workspaces/{workspaceId}/hyperliquid/orders
openapi: 3.1.1
info:
  description: >-
    Bron API is based on the RESTish interface provided for data exchange
    between a client and a server with the use of HTTPS requests and responses.
  title: Bron API
  version: latest
  x-bron-formats:
    bigint: Arbitrary-precision integer encoded as a JSON string.
    date-time-millis: >-
      Epoch milliseconds (UTC) encoded as a JSON string. Convert with `new
      Date(parseInt(value))` or equivalent.
    decimal: Arbitrary-precision decimal encoded as a JSON string.
    int32: 32-bit integer encoded as a JSON string.
    int64: >-
      Long integer encoded as a JSON string to preserve precision (e.g. account
      IDs).
servers:
  - description: app.bron.org
    url: https://api.bron.org
security: []
tags:
  - name: intents
  - name: addresses
  - name: transactions
  - name: stake
  - name: balances
  - name: assets
  - name: transaction-limits
  - name: canton
  - name: address-book
  - name: workspaces
  - name: accounts
  - name: hyperliquid
paths:
  /workspaces/{workspaceId}/hyperliquid/orders:
    get:
      tags:
        - hyperliquid
      summary: Get Hyperliquid Orders
      description: >-
        Orders of the account: every open order plus the most recent finished
        ones. A `hyperliquid-order` transaction creates one order per leg;
        filter by `transactionId` to read their results, or by `cloid` to find
        one order by its client order id.


        <sup>API Key permissions: View only, Transaction Operator, Full
        Access</sup>
      parameters:
        - description: Account id
          in: query
          name: accountId
          required: true
          schema:
            type: string
        - description: >-
            Only the orders placed by this transaction. A modified order stays
            with the transaction that placed it
          in: query
          name: transactionId
          required: false
          schema:
            type: string
        - description: Only the order with this client order id
          in: query
          name: cloid
          required: false
          schema:
            type: string
        - description: >-
            Number of orders to return, 50 by default. Without transactionId or
            cloid it limits finished orders only, open orders are returned in
            full
          in: query
          name: limit
          required: false
          schema:
            format: int32
            type: string
        - in: path
          name: workspaceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HyperliquidOrders'
          description: OK
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - bad-request
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - forbidden
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Forbidden
        '409':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - conflict
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Conflict
components:
  schemas:
    HyperliquidOrders:
      properties:
        orders:
          description: Orders, newest first
          items:
            $ref: '#/components/schemas/HyperliquidOrder'
          type: array
      type: object
    HyperliquidOrder:
      properties:
        accountId:
          description: Account id
          type: string
        avgFillPrice:
          description: Average price of the fills
          format: decimal
          type: string
        cloid:
          description: Client order id
          type: string
        createdAt:
          description: Creation time, epoch milliseconds
          format: int64
          type: string
        embedded:
          $ref: '#/components/schemas/HyperliquidOrderEmbedded'
          description: Opt-in extras
        failureDescription:
          description: >-
            Why the order was rejected, including the text returned by
            Hyperliquid
          type: string
        failureReason:
          description: Why the order failed, as a code
          type: string
        filledSize:
          description: Filled part of the order size
          format: decimal
          type: string
        id:
          description: Order id
          type: string
        isBuy:
          description: true for a buy order, false for a sell order
          type: boolean
        isReduceOnly:
          description: true when the order may only reduce an open position
          type: boolean
        orderId:
          description: Order id on the exchange
          format: int64
          type: string
        orderType:
          $ref: '#/components/schemas/HyperliquidOrderType'
          description: >-
            market, limit, stop-market, stop-limit, take-profit-market or
            take-profit-limit
        parentOrderId:
          description: >-
            For an attached take-profit or stop-loss: the order it is attached
            to
          type: string
        price:
          description: Limit price; for market-priced orders the worst accepted price
          format: decimal
          type: string
        size:
          description: Order size in units of the market base asset
          format: decimal
          type: string
        slippageTolerance:
          description: Slippage tolerance the order was placed with, as a fraction
          format: decimal
          type: string
        source:
          $ref: '#/components/schemas/HyperliquidOrderSource'
          description: >-
            bron for orders placed through Bron, external for orders placed
            elsewhere on the same address
        status:
          $ref: '#/components/schemas/HyperliquidOrderStatus'
          description: >-
            created, signing, broadcasting, placed, partially-filled, filled,
            not-filled, cancelling, cancelled or failed
        symbol:
          description: Perp market symbol
          type: string
        timeInForce:
          $ref: '#/components/schemas/HyperliquidTimeInForce'
          description: gtc, ioc or alo
        transactionId:
          description: Transaction that placed the order
          type: string
        triggerPrice:
          description: Activation price of a stop or take-profit order
          format: decimal
          type: string
        updatedAt:
          description: Last update time, epoch milliseconds
          format: int64
          type: string
        workspaceId:
          description: Workspace id
          type: string
      type: object
    HyperliquidOrderEmbedded:
      properties:
        transactionStatus:
          $ref: '#/components/schemas/TransactionStatus'
          description: >-
            Status of the placing transaction while the order is not yet signed.
            [See details](/enums/TransactionStatus)
      type: object
    HyperliquidOrderType:
      enum: []
      type: string
    HyperliquidOrderSource:
      enum: []
      type: string
    HyperliquidOrderStatus:
      enum: []
      type: string
    HyperliquidTimeInForce:
      enum: []
      type: string
    TransactionStatus:
      enum:
        - new
        - waiting-confirmations
        - waiting-approval
        - approved
        - awaiting-security-policy
        - completed
        - partially-completed
        - canceled
        - expired
        - signing-required
        - signing
        - signed
        - broadcasted
        - manual-resolving
        - failed-on-blockchain
        - removed-from-blockchain
        - error
        - awaiting-deposit
        - awaiting-conversion
        - awaiting-payout
        - awaiting-user-response
        - awaiting-defi-execution
        - acceptance-required
      type: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.