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.

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). Omit for every location.

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.