# Hyperliquid — Retrieve a user's open orders with additional frontend info

Get Hyperliquid Frontend Open Orders data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as type, user, and retrieve structured data including structured JSON records, identifiers, and response metadata for order screens, and scope handling, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/hyperliquid/hyperliquid-retrieve-a-user-s-open-orders-with-additional-frontend-info/4ee998ec-02f2-4a73-a21c-5c86f1bc9862/
API ID: 4ee998ec-02f2-4a73-a21c-5c86f1bc9862
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/frontend-open-orders
Page update time: 2026-12-03T02:49:34.567Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:34.117Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Frontend Open Orders API

Use type="frontendOpenOrders", user and optional dex. An omitted or empty dex selects the first perpetual DEX; spot open orders are included only with that first DEX. The response is an order collection scoped to the selected account and DEX.

## What You Can Build

- **Order screens**: Read the selected account’s open-order collection.
- **Scope handling**: Keep the DEX selection with returned or empty results.

## Response Scope

The response is an open-order collection for the requested account and DEX scope. An empty array contains no order entries to display.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Retrieve a user's open orders with additional frontend info request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "type": "frontendOpenOrders",
          "user": "0x677d831aef5328190852e24f13c46cac05f984e7"
        }
      ],
      "properties": {
        "dex": {
          "description": "Perp dex name. Defaults to the empty string which represents the first perp dex. Spot open orders are only included with the first perp dex.",
          "type": "string"
        },
        "type": {
          "const": "frontendOpenOrders",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "frontendOpenOrders"
          ],
          "example": "frontendOpenOrders",
          "type": "string"
        },
        "user": {
          "description": "Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.",
          "example": "0x677d831aef5328190852e24f13c46cac05f984e7",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        }
      },
      "required": [
        "type",
        "user"
      ],
      "type": "object",
      "description": "Retrieve a user's open orders with additional frontend info Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {}
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/frontend-open-orders' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "type": "frontendOpenOrders",
  "user": "0x677d831aef5328190852e24f13c46cac05f984e7"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which account address should I use?
Use the actual master or subaccount address whose orders you need. An agent wallet address is a separate identity and can lead to an empty result.

### What does an empty dex value mean?
It selects the first perpetual DEX. Spot open orders are included only with that first DEX, so retain the selected scope when comparing collections.

### Which open-order query type is this?
This implementation uses frontendOpenOrders. The basic open-order implementation uses openOrders; keep the type matched to its route.

### Does an empty array cancel or close orders?
No. It is an empty returned collection, not a cancellation action or proof about orders under other accounts or DEX scopes.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- hyperliquid: https://openany.si/hyperliquid/hyperliquid-retrieve-a-user-s-open-orders-with-additional-frontend-info/4ee998ec-02f2-4a73-a21c-5c86f1bc9862/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
