List a listing's terms
curl --request GET \
--url https://api.ornn.com/commerce/v2/listings/{listingId}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ornn.com/commerce/v2/listings/{listingId}/terms"
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}/terms', 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}/terms",
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}/terms"
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}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/commerce/v2/listings/{listingId}/terms")
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{
"terms": [
{
"listingTermsId": "88888888-8888-4888-8888-888888888888",
"capacityListingId": "77777777-7777-4777-8777-777777777777",
"type": "reserved",
"renewable": false,
"minDurationHours": 720,
"maxDurationHours": 2160,
"downPaymentCents": 500000,
"pricePerGpuHourMicroUsd": 2500000,
"createdAt": "2026-10-01T12:00:00Z"
}
]
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"detail": {
"code": "listing_not_found",
"message": "This capacity listing is not available."
}
}{
"code": "<string>",
"detail": "<string>"
}List a listing's terms
Returns the listing’s financial terms: duration bounds, price, down payment, and renewal. Visibility matches getListing. On relisted capacity these prices are the seller’s asking price before fees; Market buyers pay the price in the tradable listing’s terms.
GET
/
commerce
/
v2
/
listings
/
{listingId}
/
terms
List a listing's terms
curl --request GET \
--url https://api.ornn.com/commerce/v2/listings/{listingId}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ornn.com/commerce/v2/listings/{listingId}/terms"
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}/terms', 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}/terms",
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}/terms"
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}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/commerce/v2/listings/{listingId}/terms")
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{
"terms": [
{
"listingTermsId": "88888888-8888-4888-8888-888888888888",
"capacityListingId": "77777777-7777-4777-8777-777777777777",
"type": "reserved",
"renewable": false,
"minDurationHours": 720,
"maxDurationHours": 2160,
"downPaymentCents": 500000,
"pricePerGpuHourMicroUsd": 2500000,
"createdAt": "2026-10-01T12:00:00Z"
}
]
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"detail": {
"code": "listing_not_found",
"message": "This capacity listing is not available."
}
}{
"code": "<string>",
"detail": "<string>"
}CLI equivalent:
ornn capacity-offers terms --listing-id <listing-id>. Send a term’s listingTermsId as listingTermId when you post an offer.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's terms.
Show child attributes
Show child attributes
Was this page helpful?