Request an RFQ quote for a multi-leg combo
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/combo/quote \
--header 'Content-Type: application/json' \
--header 'X-BRAVADO-API-KEY: <api-key>' \
--header 'X-BRAVADO-SIGNATURE: <api-key>' \
--header 'X-BRAVADO-TIMESTAMP: <api-key>' \
--data '
{
"leg_position_ids": [
"<string>"
],
"notional_usd": 1.01,
"side": "BUY"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/combo/quote"
payload = {
"leg_position_ids": ["<string>"],
"notional_usd": 1.01,
"side": "BUY"
}
headers = {
"X-BRAVADO-API-KEY": "<api-key>",
"X-BRAVADO-TIMESTAMP": "<api-key>",
"X-BRAVADO-SIGNATURE": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-BRAVADO-API-KEY': '<api-key>',
'X-BRAVADO-TIMESTAMP': '<api-key>',
'X-BRAVADO-SIGNATURE': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({leg_position_ids: ['<string>'], notional_usd: 1.01, side: 'BUY'})
};
fetch('https://partner-api.bravadotrade.com/v2/trade/combo/quote', 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://partner-api.bravadotrade.com/v2/trade/combo/quote",
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([
'leg_position_ids' => [
'<string>'
],
'notional_usd' => 1.01,
'side' => 'BUY'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-BRAVADO-API-KEY: <api-key>",
"X-BRAVADO-SIGNATURE: <api-key>",
"X-BRAVADO-TIMESTAMP: <api-key>"
],
]);
$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://partner-api.bravadotrade.com/v2/trade/combo/quote"
payload := strings.NewReader("{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-BRAVADO-API-KEY", "<api-key>")
req.Header.Add("X-BRAVADO-TIMESTAMP", "<api-key>")
req.Header.Add("X-BRAVADO-SIGNATURE", "<api-key>")
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://partner-api.bravadotrade.com/v2/trade/combo/quote")
.header("X-BRAVADO-API-KEY", "<api-key>")
.header("X-BRAVADO-TIMESTAMP", "<api-key>")
.header("X-BRAVADO-SIGNATURE", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/combo/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-BRAVADO-API-KEY"] = '<api-key>'
request["X-BRAVADO-TIMESTAMP"] = '<api-key>'
request["X-BRAVADO-SIGNATURE"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}"
response = http.request(request)
puts response.read_body{
"combo_order_id": "<string>",
"quote_id": "<string>",
"rfq_id": "<string>",
"price_cents": 123,
"maker_amount_usd": 123,
"taker_shares": 123,
"expires_at": "<string>"
}trade.combos
Request an RFQ quote for a multi-leg combo
Requests a maker price for a 2–10 leg parlay (RFQ). The returned expires_at is ~8.5s out — call /combo/accept with the returned combo_order_id + quote_id before it, or re-quote. Managed (deposit-wallet) users only. Idempotency-Key required.
POST
/
v2
/
trade
/
combo
/
quote
Request an RFQ quote for a multi-leg combo
curl --request POST \
--url https://partner-api.bravadotrade.com/v2/trade/combo/quote \
--header 'Content-Type: application/json' \
--header 'X-BRAVADO-API-KEY: <api-key>' \
--header 'X-BRAVADO-SIGNATURE: <api-key>' \
--header 'X-BRAVADO-TIMESTAMP: <api-key>' \
--data '
{
"leg_position_ids": [
"<string>"
],
"notional_usd": 1.01,
"side": "BUY"
}
'import requests
url = "https://partner-api.bravadotrade.com/v2/trade/combo/quote"
payload = {
"leg_position_ids": ["<string>"],
"notional_usd": 1.01,
"side": "BUY"
}
headers = {
"X-BRAVADO-API-KEY": "<api-key>",
"X-BRAVADO-TIMESTAMP": "<api-key>",
"X-BRAVADO-SIGNATURE": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-BRAVADO-API-KEY': '<api-key>',
'X-BRAVADO-TIMESTAMP': '<api-key>',
'X-BRAVADO-SIGNATURE': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({leg_position_ids: ['<string>'], notional_usd: 1.01, side: 'BUY'})
};
fetch('https://partner-api.bravadotrade.com/v2/trade/combo/quote', 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://partner-api.bravadotrade.com/v2/trade/combo/quote",
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([
'leg_position_ids' => [
'<string>'
],
'notional_usd' => 1.01,
'side' => 'BUY'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-BRAVADO-API-KEY: <api-key>",
"X-BRAVADO-SIGNATURE: <api-key>",
"X-BRAVADO-TIMESTAMP: <api-key>"
],
]);
$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://partner-api.bravadotrade.com/v2/trade/combo/quote"
payload := strings.NewReader("{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-BRAVADO-API-KEY", "<api-key>")
req.Header.Add("X-BRAVADO-TIMESTAMP", "<api-key>")
req.Header.Add("X-BRAVADO-SIGNATURE", "<api-key>")
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://partner-api.bravadotrade.com/v2/trade/combo/quote")
.header("X-BRAVADO-API-KEY", "<api-key>")
.header("X-BRAVADO-TIMESTAMP", "<api-key>")
.header("X-BRAVADO-SIGNATURE", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/combo/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-BRAVADO-API-KEY"] = '<api-key>'
request["X-BRAVADO-TIMESTAMP"] = '<api-key>'
request["X-BRAVADO-SIGNATURE"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"leg_position_ids\": [\n \"<string>\"\n ],\n \"notional_usd\": 1.01,\n \"side\": \"BUY\"\n}"
response = http.request(request)
puts response.read_body{
"combo_order_id": "<string>",
"quote_id": "<string>",
"rfq_id": "<string>",
"price_cents": 123,
"maker_amount_usd": 123,
"taker_shares": 123,
"expires_at": "<string>"
}Authorizations
Body
application/json
Ordered YES outcome token ids (ERC-1155 position ids) of 2–10 distinct markets to combine.
Required array length:
2 - 10 elementsMinimum string length:
1pUSD the user spends on the combo (BUY).
Required range:
x >= 0.01Only BUY is supported right now.
Available options:
BUY Response
200 - application/json
Default Response
Blended price in cents per YES share.
ISO-8601 instant the quote expires (~8.5s). Call /combo/accept before it; a stale accept returns 410 QUOTE_EXPIRED.