Create multi exchange
curl --request POST \
--url https://api-partner.houdiniswap.com/v2/exchanges/multi \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"orders": [
{
"from": "6689b73ec90e45f3b3e51564",
"to": "6689b73ec90e45f3b3e51558",
"amount": 123,
"addressTo": "<string>",
"anonymous": true,
"destinationTag": "<string>",
"useXmr": true,
"walletInfo": "<string>",
"filters": {
"onlySwaps": [
"<string>"
],
"rotatePayoutWallets": true,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"outLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
}
},
"fixed": true,
"refundAddress": "<string>"
}
],
"filters": {
"onlySwaps": [
"<string>"
],
"rotatePayoutWallets": true,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"outLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
}
}
}
'import requests
url = "https://api-partner.houdiniswap.com/v2/exchanges/multi"
payload = {
"orders": [
{
"from": "6689b73ec90e45f3b3e51564",
"to": "6689b73ec90e45f3b3e51558",
"amount": 123,
"addressTo": "<string>",
"anonymous": True,
"destinationTag": "<string>",
"useXmr": True,
"walletInfo": "<string>",
"filters": {
"onlySwaps": ["<string>"],
"rotatePayoutWallets": True,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"outLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
}
},
"fixed": True,
"refundAddress": "<string>"
}
],
"filters": {
"onlySwaps": ["<string>"],
"rotatePayoutWallets": True,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"outLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
}
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
from: '6689b73ec90e45f3b3e51564',
to: '6689b73ec90e45f3b3e51558',
amount: 123,
addressTo: '<string>',
anonymous: true,
destinationTag: '<string>',
useXmr: true,
walletInfo: '<string>',
filters: {
onlySwaps: ['<string>'],
rotatePayoutWallets: true,
deviationThreshold: 50,
rotationLookback: 50,
inLeg: {include: ['<string>'], exclude: ['<string>']},
outLeg: {include: ['<string>'], exclude: ['<string>']}
},
fixed: true,
refundAddress: '<string>'
}
],
filters: {
onlySwaps: ['<string>'],
rotatePayoutWallets: true,
deviationThreshold: 50,
rotationLookback: 50,
inLeg: {include: ['<string>'], exclude: ['<string>']},
outLeg: {include: ['<string>'], exclude: ['<string>']}
}
})
};
fetch('https://api-partner.houdiniswap.com/v2/exchanges/multi', 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-partner.houdiniswap.com/v2/exchanges/multi",
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([
'orders' => [
[
'from' => '6689b73ec90e45f3b3e51564',
'to' => '6689b73ec90e45f3b3e51558',
'amount' => 123,
'addressTo' => '<string>',
'anonymous' => true,
'destinationTag' => '<string>',
'useXmr' => true,
'walletInfo' => '<string>',
'filters' => [
'onlySwaps' => [
'<string>'
],
'rotatePayoutWallets' => true,
'deviationThreshold' => 50,
'rotationLookback' => 50,
'inLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'outLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
]
],
'fixed' => true,
'refundAddress' => '<string>'
]
],
'filters' => [
'onlySwaps' => [
'<string>'
],
'rotatePayoutWallets' => true,
'deviationThreshold' => 50,
'rotationLookback' => 50,
'inLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'outLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://api-partner.houdiniswap.com/v2/exchanges/multi"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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://api-partner.houdiniswap.com/v2/exchanges/multi")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-partner.houdiniswap.com/v2/exchanges/multi")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"multiId": "example-multi-id",
"orders": [
{
"order": {
"houdiniId": "example-houdini-id",
"created": "2026-01-01T12:00:00.000Z",
"depositAddress": "bc1qexampledepositaddress000000000000000000",
"receiverAddress": "0x9f1f9a5c0f1d9a5c0f1d9a5c0f1d9a5c0f1d9a5c",
"anonymous": false,
"expires": "2026-01-01T12:30:00.000Z",
"status": 0,
"inAmount": 0.25,
"inSymbol": "BTC",
"outAmount": 3.52,
"outSymbol": "ETH",
"displayStatus": "WAITING_FOR_DEPOSIT"
}
}
]
}{
"message": "<string>",
"code": "<string>",
"fields": {},
"requestId": "<string>"
}{
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}Exchanges
Create multi exchange
Create a group of exchanges linked by a shared multiId. Each order is stored with status NEW and initialized asynchronously. Quotes are resolved internally — no quoteId required.
POST
/
exchanges
/
multi
Create multi exchange
curl --request POST \
--url https://api-partner.houdiniswap.com/v2/exchanges/multi \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"orders": [
{
"from": "6689b73ec90e45f3b3e51564",
"to": "6689b73ec90e45f3b3e51558",
"amount": 123,
"addressTo": "<string>",
"anonymous": true,
"destinationTag": "<string>",
"useXmr": true,
"walletInfo": "<string>",
"filters": {
"onlySwaps": [
"<string>"
],
"rotatePayoutWallets": true,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"outLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
}
},
"fixed": true,
"refundAddress": "<string>"
}
],
"filters": {
"onlySwaps": [
"<string>"
],
"rotatePayoutWallets": true,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
},
"outLeg": {
"include": [
"<string>"
],
"exclude": [
"<string>"
]
}
}
}
'import requests
url = "https://api-partner.houdiniswap.com/v2/exchanges/multi"
payload = {
"orders": [
{
"from": "6689b73ec90e45f3b3e51564",
"to": "6689b73ec90e45f3b3e51558",
"amount": 123,
"addressTo": "<string>",
"anonymous": True,
"destinationTag": "<string>",
"useXmr": True,
"walletInfo": "<string>",
"filters": {
"onlySwaps": ["<string>"],
"rotatePayoutWallets": True,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"outLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
}
},
"fixed": True,
"refundAddress": "<string>"
}
],
"filters": {
"onlySwaps": ["<string>"],
"rotatePayoutWallets": True,
"deviationThreshold": 50,
"rotationLookback": 50,
"inLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
},
"outLeg": {
"include": ["<string>"],
"exclude": ["<string>"]
}
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
from: '6689b73ec90e45f3b3e51564',
to: '6689b73ec90e45f3b3e51558',
amount: 123,
addressTo: '<string>',
anonymous: true,
destinationTag: '<string>',
useXmr: true,
walletInfo: '<string>',
filters: {
onlySwaps: ['<string>'],
rotatePayoutWallets: true,
deviationThreshold: 50,
rotationLookback: 50,
inLeg: {include: ['<string>'], exclude: ['<string>']},
outLeg: {include: ['<string>'], exclude: ['<string>']}
},
fixed: true,
refundAddress: '<string>'
}
],
filters: {
onlySwaps: ['<string>'],
rotatePayoutWallets: true,
deviationThreshold: 50,
rotationLookback: 50,
inLeg: {include: ['<string>'], exclude: ['<string>']},
outLeg: {include: ['<string>'], exclude: ['<string>']}
}
})
};
fetch('https://api-partner.houdiniswap.com/v2/exchanges/multi', 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-partner.houdiniswap.com/v2/exchanges/multi",
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([
'orders' => [
[
'from' => '6689b73ec90e45f3b3e51564',
'to' => '6689b73ec90e45f3b3e51558',
'amount' => 123,
'addressTo' => '<string>',
'anonymous' => true,
'destinationTag' => '<string>',
'useXmr' => true,
'walletInfo' => '<string>',
'filters' => [
'onlySwaps' => [
'<string>'
],
'rotatePayoutWallets' => true,
'deviationThreshold' => 50,
'rotationLookback' => 50,
'inLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'outLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
]
],
'fixed' => true,
'refundAddress' => '<string>'
]
],
'filters' => [
'onlySwaps' => [
'<string>'
],
'rotatePayoutWallets' => true,
'deviationThreshold' => 50,
'rotationLookback' => 50,
'inLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
],
'outLeg' => [
'include' => [
'<string>'
],
'exclude' => [
'<string>'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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://api-partner.houdiniswap.com/v2/exchanges/multi"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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://api-partner.houdiniswap.com/v2/exchanges/multi")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-partner.houdiniswap.com/v2/exchanges/multi")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"from\": \"6689b73ec90e45f3b3e51564\",\n \"to\": \"6689b73ec90e45f3b3e51558\",\n \"amount\": 123,\n \"addressTo\": \"<string>\",\n \"anonymous\": true,\n \"destinationTag\": \"<string>\",\n \"useXmr\": true,\n \"walletInfo\": \"<string>\",\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n },\n \"fixed\": true,\n \"refundAddress\": \"<string>\"\n }\n ],\n \"filters\": {\n \"onlySwaps\": [\n \"<string>\"\n ],\n \"rotatePayoutWallets\": true,\n \"deviationThreshold\": 50,\n \"rotationLookback\": 50,\n \"inLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n },\n \"outLeg\": {\n \"include\": [\n \"<string>\"\n ],\n \"exclude\": [\n \"<string>\"\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"multiId": "example-multi-id",
"orders": [
{
"order": {
"houdiniId": "example-houdini-id",
"created": "2026-01-01T12:00:00.000Z",
"depositAddress": "bc1qexampledepositaddress000000000000000000",
"receiverAddress": "0x9f1f9a5c0f1d9a5c0f1d9a5c0f1d9a5c0f1d9a5c",
"anonymous": false,
"expires": "2026-01-01T12:30:00.000Z",
"status": 0,
"inAmount": 0.25,
"inSymbol": "BTC",
"outAmount": 3.52,
"outSymbol": "ETH",
"displayStatus": "WAITING_FOR_DEPOSIT"
}
}
]
}{
"message": "<string>",
"code": "<string>",
"fields": {},
"requestId": "<string>"
}{
"message": "<string>",
"code": "<string>",
"requestId": "<string>"
}Authorizations
Body
application/json
⌘I