---
title: "Get Database Orders"
method: GET
path: "/archived-bots/{db_path}/orders"
tags: ["Archived Bots"]
---

# Get Database Orders

`GET /archived-bots/{db_path}/orders`

Get paginated order history from an archived bot database.

Retrieves order records with details including order type, status, amounts,
and timestamps. Supports pagination and optional filtering by order status.

Use this endpoint to analyze order patterns, review order fill rates, or
investigate specific order outcomes.

## Path parameters

- `db_path` string, required

## Query parameters

- `limit` integer — Maximum number of orders to return (1-1000)
- `offset` integer — Number of orders to skip for pagination
- `status` string, nullable — Filter by order status: OPEN, FILLED, CANCELLED, FAILED

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/archived-bots/:db_path/orders/get.md)

---

[API](https://skmtc.dev/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.dev/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/revisions/cb6b6935c8e2/schema)
