Skip to main content
GET
List recent trades
CLI equivalent: ornn market trades --gpu-slug <gpu-slug>.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Path Parameters

gpuSlug
string
required

Catalog GPU slug of the order book, from List order books, or cpu for CPU capacity. On the cpu book, gpus quantities count vCPUs.

Query Parameters

saleType
enum<string>
default:spot

spot (the default): a reservation on the node can end the VM. on-demand: only you, the seller or the listing's end ends it.

Available options:
spot,
on-demand
region
string

A region with an order book, for example us-east-11 (see GET /v1/markets/books), or a pattern in which * stands for any characters, such as us-* for every US location. Separate entries with commas to combine them (us-*,other-8). Omit, or send *, for every location. A region without a book, or a pattern that matches none, is refused with unknown_region.

Response

Recent trades.

gpuSlug
string
required
saleType
enum<string>
required

spot: a reservation on the node can end the VM. on-demand: only a stop or the listing's end ends it.

Available options:
spot,
on-demand
region
string | null
required

The location read; null for every location.

trades
object[]
required

Up to 50 recent fills, newest first. Trades never identify either party.