What GPUs can be rented now, and from what price (public)
No key neededAnonymous and cross-origin: any page may fetch it without credentials (Access-Control-Allow-Origin: *). No key is needed and none is read.
One entry per GPU model a renter could rent now, aggregated over every host: never a host, provider, organization, address or rental. models is empty when nothing can be rented right now.
Each Cloudflare location keeps the summary for 60 seconds (X-Legion-Cache: HIT or MISS), with Cache-Control: public, max-age=30, s-maxage=60, stale-while-revalidate=300. Errors are not cached.
Anonymous: no key is needed or read.
Rate limited: a 429 says when to try again in Retry-After. Rate limits
https://legion.ambient.xyz/api/public/marketcurl -s "https://legion.ambient.xyz/api/public/market"{
"generated_at": "2026-10-15T12:00:00Z",
"currency": "USD",
"models": [
{
"slug": "string",
"gpu_model": "string",
"class": "datacenter",
"memory_gib": 0,
"from_price_per_gpu_hour": "string",
"from_interruptible_price_per_gpu_hour": "string",
"max_gpus_on_one_host": 0,
"gpus_available": 0,
"hosts_available": 0,
"rent_url": "string",
"median_tflops": 0
}
]
}Example values.
Responses
200The market summary.The market summary.
Headers: Cache-Control, Access-Control-Allow-Origin, X-Legion-Cache
generated_atstring (date-time)RequiredWhen Legion computed the summary (RFC 3339, UTC).
currencystringRequiredThe currency of every price.
one of: "USD"
modelsarray of PublicMarketModelRequiredOne entry per GPU model with capacity now, by
slug. Empty when nothing can be rented right now.at most 500 items
Child fields · 11
slugstringRequiredA stable, URL-safe name of the model (
rtx-4090).at most 200 characters · pattern ^[a-z0-9]+(-[a-z0-9]+)*$
gpu_modelstringRequiredThe model's full name as the hosts' NVIDIA driver reports it.
at most 200 characters
classstringRequiredone of: "datacenter", "workstation"
memory_gibintegerRequiredMemory per GPU in GiB, to the nearest GiB.
from_price_per_gpu_hourstringRequiredThe lowest price of one GPU for one hour, a decimal string in
currency("0.). Never a float.45" pattern ^[0-9]+\.[0-9]{2}$
from_interruptible_price_per_gpu_hourstringThe lowest interruptible price of one GPU for one hour, a decimal string in
currency("0.), over the hosts of this model that offer the interruptible tier and have a GPU free. Absent when there is none. An interruptible rental is stopped when an on-demand rental on the same host needs its GPUs.30" pattern ^[0-9]+\.[0-9]{2}$
max_gpus_on_one_hostintegerRequiredThe most GPUs of this model free on one host, the largest single rental possible now.
gpus_availableintegerRequiredGPUs of this model free now, all hosts together.
hosts_availableintegerRequiredHosts with at least one GPU of this model free now.
rent_urlstringRequiredThe Legion market filtered to this model. For n ≥ 2 GPUs, add
&min_.gpus=<n> at most 2048 characters
median_tflopsnumber (double)The median dense FP16/BF16 TFLOPS per GPU, as the Legion agent measured it, across the hosts with this model free now whose latest GPU benchmark Legion kept and did not flag, to one decimal. Absent when no such host. An aggregate per model: never a host's own figure.
at least 0
405Any method but GET and OPTIONS (`method_not_allowed`).Any method but GET and OPTIONS (
method_).not_ allowed typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.
429Rate limited (`rate_limited`). Retry after the `Retry-After` seconds.Rate limited (
rate_). Retry after thelimited Retry-Afterseconds.Headers: Retry-After
typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.
500An unexpected server error. Safe to retry.An unexpected server error. Safe to retry.
typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.
502An upstream could not be used (`upstream_unavailable`): unreachable, or its answer was malformed. Safe to retry.An upstream could not be used (
upstream_): unreachable, or its answer was malformed. Safe to retry.unavailable typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.
504An upstream did not answer within 30 seconds (`upstream_timeout`).An upstream did not answer within 30 seconds (
upstream_).timeout typestringRequiredURI reference identifying the problem type.
titlestringRequiredstatusintegerRequiredcodestringRequiredStable machine-readable error code.
detailstringinstancestringThe request path that produced the problem.
Errors
| Status | Code |
|---|---|
| 405 | method_not_allowed |
| 429 | rate_limited |
| 502 | upstream_unavailable |
Codes from the operation's description. Every operation can also answer the general codes on the errors page.