curl --request GET \
--url https://api.ornn.com/commerce/v2/listings/{listingId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ornn.com/commerce/v2/listings/{listingId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ornn.com/commerce/v2/listings/{listingId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ornn.com/commerce/v2/listings/{listingId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ornn.com/commerce/v2/listings/{listingId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ornn.com/commerce/v2/listings/{listingId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/commerce/v2/listings/{listingId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"capacityListingId": "77777777-7777-4777-8777-777777777777",
"listingNumber": 1042,
"parentReservationId": null,
"kind": "primary",
"state": "available",
"gpuSlug": "nvidia_h100_sxm",
"gpusPerNode": 8,
"capacityNodeCount": 4,
"facilityId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"provisioningType": "bare-metal",
"availableAt": "2026-10-15T00:00:00Z",
"availableUntil": "2027-10-15T00:00:00Z",
"daysToRfs": null,
"cpu": "2x 56-core x86",
"ram": "2 TB",
"storage": "8x 3.84 TB NVMe",
"fabricType": "InfiniBand 3.2 Tbps",
"internet": "10 Gbps",
"createdAt": "2026-10-01T12:00:00Z",
"updatedAt": "2026-10-01T12:00:00Z"
}{
"detail": {
"code": "invalid_id",
"message": "That capacity or financial term ID is not valid."
}
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"detail": {
"code": "listing_not_found",
"message": "This capacity listing is not available."
}
}{
"code": "<string>",
"detail": "<string>"
}Get a capacity listing
Returns one listing’s hardware, size, and availability. A listing that is not available, has expired, or is a Reserve listing while your organization is not approved returns 404, unless your organization owns it or holds a reservation on it.
curl --request GET \
--url https://api.ornn.com/commerce/v2/listings/{listingId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ornn.com/commerce/v2/listings/{listingId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ornn.com/commerce/v2/listings/{listingId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ornn.com/commerce/v2/listings/{listingId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ornn.com/commerce/v2/listings/{listingId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ornn.com/commerce/v2/listings/{listingId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/commerce/v2/listings/{listingId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"capacityListingId": "77777777-7777-4777-8777-777777777777",
"listingNumber": 1042,
"parentReservationId": null,
"kind": "primary",
"state": "available",
"gpuSlug": "nvidia_h100_sxm",
"gpusPerNode": 8,
"capacityNodeCount": 4,
"facilityId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"provisioningType": "bare-metal",
"availableAt": "2026-10-15T00:00:00Z",
"availableUntil": "2027-10-15T00:00:00Z",
"daysToRfs": null,
"cpu": "2x 56-core x86",
"ram": "2 TB",
"storage": "8x 3.84 TB NVMe",
"fabricType": "InfiniBand 3.2 Tbps",
"internet": "10 Gbps",
"createdAt": "2026-10-01T12:00:00Z",
"updatedAt": "2026-10-01T12:00:00Z"
}{
"detail": {
"code": "invalid_id",
"message": "That capacity or financial term ID is not valid."
}
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"detail": {
"code": "listing_not_found",
"message": "This capacity listing is not available."
}
}{
"code": "<string>",
"detail": "<string>"
}ornn capacity-offers show --listing-id <listing-id>.Authorizations
Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.
Path Parameters
Listing ID (capacityListingId or listingId).
Response
The listing.
A capacity listing's hardware, size, and availability. Read prices from its terms.
primary for Reserve listings; secondary for relisted capacity.
primary, secondary, on_demand draft, available, held, sold, or delisted. Handle unrecognized values.
A short reference number. Use capacityListingId in API paths.
Set on relisted capacity: the reservation it was relisted from.
bare-metal, virtual-machine Readiness lead time in days when the listing has no fixed dates.
GPU interconnect.
Internet bandwidth.
Was this page helpful?