API Reference
Verify the invited maker's price-specific quote capacity
Returns only the authenticated invitee’s bounded capacity at the proposed price across every frozen route. It exposes no raw portfolio, other invitee, competing quote, venue-account, or control-group data and creates no reservation or journal event. Quote submission repeats the same calculation inside its serializable reservation transaction. This call is not rate-limited and takes no idempotency key.
POST
/
v1
/
auctions
/
{auctionID}
/
quotes
/
preflight
Verify the invited maker's price-specific quote capacity
curl --request POST \
--url https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"price_atoms": 5000,
"max_executable_quantity_atoms": 2
}
'import requests
url = "https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight"
payload = {
"price_atoms": 5000,
"max_executable_quantity_atoms": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({price_atoms: 5000, max_executable_quantity_atoms: 2})
};
fetch('https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight', 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://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'price_atoms' => 5000,
'max_executable_quantity_atoms' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight"
payload := strings.NewReader("{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}"
response = http.request(request)
puts response.read_body{
"status": "EXECUTABLE",
"requested_quantity_atoms": "<string>",
"maximum_executable_quantity_atoms": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"routes": [
{
"venue": "<string>",
"resource_type": "COLLATERAL",
"maximum_executable_quantity_atoms": "<string>",
"risk_source_sequence": "<string>",
"risk_valid_until": "2023-11-07T05:31:56Z",
"authority_valid_until": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "unauthorized",
"message": "authentication required"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "payload_too_large"
}{
"error": "auction_rejected",
"message": "auction is not open"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "auction_owner_unavailable"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Canonical UUID whose first character is the owner shard (0, 1, or 2).
Body
application/json
Response
Current invitee quote-capacity evidence
Available options:
EXECUTABLE, INSUFFICIENT_CAPACITY Pattern:
^[1-9]\d*$Minimum price-specific capacity across all frozen routes.
Pattern:
^(0|[1-9]\d*)$Minimum array length:
1Show child attributes
Show child attributes
Was this page helpful?
⌘I
Verify the invited maker's price-specific quote capacity
curl --request POST \
--url https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"price_atoms": 5000,
"max_executable_quantity_atoms": 2
}
'import requests
url = "https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight"
payload = {
"price_atoms": 5000,
"max_executable_quantity_atoms": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({price_atoms: 5000, max_executable_quantity_atoms: 2})
};
fetch('https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight', 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://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'price_atoms' => 5000,
'max_executable_quantity_atoms' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight"
payload := strings.NewReader("{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agora.kairos.trade/v1/auctions/{auctionID}/quotes/preflight")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"price_atoms\": 5000,\n \"max_executable_quantity_atoms\": 2\n}"
response = http.request(request)
puts response.read_body{
"status": "EXECUTABLE",
"requested_quantity_atoms": "<string>",
"maximum_executable_quantity_atoms": "<string>",
"checked_at": "2023-11-07T05:31:56Z",
"valid_until": "2023-11-07T05:31:56Z",
"routes": [
{
"venue": "<string>",
"resource_type": "COLLATERAL",
"maximum_executable_quantity_atoms": "<string>",
"risk_source_sequence": "<string>",
"risk_valid_until": "2023-11-07T05:31:56Z",
"authority_valid_until": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "unauthorized",
"message": "authentication required"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "payload_too_large"
}{
"error": "auction_rejected",
"message": "auction is not open"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "auction_owner_unavailable"
}
