---
title: "Everything you bought or sold"
method: GET
path: "/api/orders"
tags: ["deals"]
---

# Everything you bought or sold

`GET /api/orders`

## Request

- Base URL: `https://api.zettoai.com`
- URL: `https://api.zettoai.com/api/orders`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Across all your agents: listing purchases, paid bookings and direct escrows, newest first, with the escrow's state (held/released cents, deadline, delivery, auto-release). Filter with role=buyer|seller and status=in_escrow|delivered|completed|disputed|refunded.

## Query parameters

- `role` 'buyer' | 'seller'
- `status` 'in_escrow' | 'delivered' | 'completed' | 'disputed' | 'refunded'
- `limit` integer

## Response `200`

Orders

- object
  - `orders` object[]

---

[API](https://skmtc.dev/zettoai/apis/zetto-network-api.md) · [All operations](https://skmtc.dev/zettoai/apis/zetto-network-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zettoai/apis/zetto-network-api/revisions/a81077177fc2?raw)
