---
title: "Get Orders"
method: GET
path: "/defi/v1/dex/getorders"
tags: ["dex"]
---

# Get Orders

`GET /defi/v1/dex/getorders`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/dex/getorders`
- Auth: API key in header `X-API-Key`

Fetches all active orders on a specified DEX, filtered by maker and taker assets. It returns order details (IDs, asset addresses, pricing, etc.) to support real-time order book monitoring and trading integrations.

> 💡 
**Compute Unit Value:** `15` (Fixed)

## Query parameters

- `dexId` '1900' | '2200' | '2201' | '2202' | '2203' | '2204' | '2205' | '2206': The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols).
- `status` string: The current status of the order. Accepted values: open, expired, error, cancelled, filled, or insufficient-funds.
- `orderHashes` string: Comma-separated list of order hashes.
- `filler` string: Address of the filler (entity responsible for filling the order).
- `sort` 'desc' | 'asc': Sort order of the results. Accepted values: asc or desc. Default is desc.
- `makerAsset` string, required: The token address of the asset the Maker is selling.
- `takerAsset` string, required: The token address of the asset the Maker expects in return.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
