---
title: "List currently open public orders, optionally filtered by orderId."
method: GET
path: "/v1/orders/open"
tags: ["Orders"]
---

# List currently open public orders, optionally filtered by orderId.

`GET /v1/orders/open`

## Request

- Base URL: `https://api.galaxyswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.galaxyswap.io/v1/orders/open`
- Auth: none declared
- TypeScript: <https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/docs/v1/orders/open/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `orderIds` string

## Response `200`

Default Response

- object
  - `networkId` string, required
  - `contractAddress` string, required
  - `orders` object[], required
    - `orderId` string, required
    - `batcherCiphertext` string, required
    - `transientOrderCommit` string, required
    - `persistentOrderCommit` string, required
    - `cancellationCommit` string, required
    - `firstCoinColor` string, required
    - `firstCoinValue` string, required
    - `firstCoinNonce` string, required
    - `firstCoinMerkleIndex` string, required
    - `secondCoinColor` string, nullable, required
    - `secondCoinValue` string, nullable, required
    - `secondCoinNonce` string, nullable, required
    - `secondCoinMerkleIndex` string, nullable, required
    - `candidatePoolId` string, nullable, required
    - `status` 'open' | 'closed', required
    - `openedAtBlockHeight` integer, required
    - `openedAtBlockHash` string, required
    - `openedAtTxId` string, required
    - `openedAtTxHash` string, required
    - `openedAtTimestamp` integer, required
    - `closedAtBlockHeight` integer, nullable, required
    - `closedAtBlockHash` string, nullable, required
    - `closedAtTxId` string, nullable, required
    - `closedAtTxHash` string, nullable, required
    - `closedAtTimestamp` integer, nullable, required
    - `closeReason` 'cancelled' | 'batched' | 'unknown_closed', nullable, required
  - `requestedOrderIds` string[]
  - `missingOrderIds` string[]

## Other responses

- `400`: Default Response

---

[API](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api.md) - [All operations](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/revisions/92312969b6ef?raw)
