curl --request POST \
--url https://api.launch.o1.exchange/v1/swaps/quote \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"chain_id": 8453,
"wallet": "0x1111111111111111111111111111111111111111",
"token_address": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"slippage_bps": 50,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
}
'import requests
url = "https://api.launch.o1.exchange/v1/swaps/quote"
payload = {
"chain_id": 8453,
"wallet": "0x1111111111111111111111111111111111111111",
"token_address": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"slippage_bps": 50,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
chain_id: 8453,
wallet: '0x1111111111111111111111111111111111111111',
token_address: '0x1111111111111111111111111111111111111111',
amount_in_raw: '1000000000000000000',
slippage_bps: 50,
referrer: '0x1111111111111111111111111111111111111111',
comment: '<string>'
})
};
fetch('https://api.launch.o1.exchange/v1/swaps/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://api.launch.o1.exchange/v1/swaps/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([
'chain_id' => 8453,
'wallet' => '0x1111111111111111111111111111111111111111',
'token_address' => '0x1111111111111111111111111111111111111111',
'amount_in_raw' => '1000000000000000000',
'slippage_bps' => 50,
'referrer' => '0x1111111111111111111111111111111111111111',
'comment' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://api.launch.o1.exchange/v1/swaps/quote"
payload := strings.NewReader("{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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.launch.o1.exchange/v1/swaps/quote")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launch.o1.exchange/v1/swaps/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"quote_id": "<string>",
"prepared_at": "2026-07-31T12:00:00.000Z",
"expires_at": "2026-07-31T12:00:00.000Z",
"chain_id": 8453,
"observed_block": "1000000000000000000",
"input_currency": "0x1111111111111111111111111111111111111111",
"output_currency": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"expected_out_raw": "1000000000000000000",
"minimum_out_raw": "1000000000000000000",
"quote_gas": "1000000000000000000",
"review": {
"token_address": "0x1111111111111111111111111111111111111111",
"side": "buy",
"input_currency": "0x1111111111111111111111111111111111111111",
"output_currency": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"expected_out_raw": "1000000000000000000",
"minimum_out_raw": "1000000000000000000",
"slippage_bps": 2499,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
},
"issues": [
{
"code": "<string>",
"severity": "blocking",
"detail": "<string>",
"asset": "0x1111111111111111111111111111111111111111",
"spender": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000",
"remediation_step_id": "<string>"
}
],
"steps": [
{
"id": "<string>",
"kind": "transaction",
"label": "<string>",
"depends_on": [
"<string>"
],
"transaction": {
"chain_id": 8453,
"from": "0x1111111111111111111111111111111111111111",
"to": "0x1111111111111111111111111111111111111111",
"data": "<string>",
"value": "1000000000000000000"
},
"simulation": {
"status": "succeeded",
"block_number": "1000000000000000000"
}
}
]
},
"meta": {
"request_id": "req_01JZZZZZZZZZZZZZZZZZZZZZZZ",
"generated_at": "2026-07-31T12:00:00.000Z",
"warnings": [
"<string>"
]
}
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}Quote a swap
Get a live exact-input launch-pool quote, minimum output, and any ERC-20 approval or Permit2 signature requirements. The quote expires after 2 minutes.
curl --request POST \
--url https://api.launch.o1.exchange/v1/swaps/quote \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"chain_id": 8453,
"wallet": "0x1111111111111111111111111111111111111111",
"token_address": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"slippage_bps": 50,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
}
'import requests
url = "https://api.launch.o1.exchange/v1/swaps/quote"
payload = {
"chain_id": 8453,
"wallet": "0x1111111111111111111111111111111111111111",
"token_address": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"slippage_bps": 50,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
chain_id: 8453,
wallet: '0x1111111111111111111111111111111111111111',
token_address: '0x1111111111111111111111111111111111111111',
amount_in_raw: '1000000000000000000',
slippage_bps: 50,
referrer: '0x1111111111111111111111111111111111111111',
comment: '<string>'
})
};
fetch('https://api.launch.o1.exchange/v1/swaps/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://api.launch.o1.exchange/v1/swaps/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([
'chain_id' => 8453,
'wallet' => '0x1111111111111111111111111111111111111111',
'token_address' => '0x1111111111111111111111111111111111111111',
'amount_in_raw' => '1000000000000000000',
'slippage_bps' => 50,
'referrer' => '0x1111111111111111111111111111111111111111',
'comment' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://api.launch.o1.exchange/v1/swaps/quote"
payload := strings.NewReader("{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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.launch.o1.exchange/v1/swaps/quote")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launch.o1.exchange/v1/swaps/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chain_id\": 8453,\n \"wallet\": \"0x1111111111111111111111111111111111111111\",\n \"token_address\": \"0x1111111111111111111111111111111111111111\",\n \"amount_in_raw\": \"1000000000000000000\",\n \"slippage_bps\": 50,\n \"referrer\": \"0x1111111111111111111111111111111111111111\",\n \"comment\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"quote_id": "<string>",
"prepared_at": "2026-07-31T12:00:00.000Z",
"expires_at": "2026-07-31T12:00:00.000Z",
"chain_id": 8453,
"observed_block": "1000000000000000000",
"input_currency": "0x1111111111111111111111111111111111111111",
"output_currency": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"expected_out_raw": "1000000000000000000",
"minimum_out_raw": "1000000000000000000",
"quote_gas": "1000000000000000000",
"review": {
"token_address": "0x1111111111111111111111111111111111111111",
"side": "buy",
"input_currency": "0x1111111111111111111111111111111111111111",
"output_currency": "0x1111111111111111111111111111111111111111",
"amount_in_raw": "1000000000000000000",
"expected_out_raw": "1000000000000000000",
"minimum_out_raw": "1000000000000000000",
"slippage_bps": 2499,
"referrer": "0x1111111111111111111111111111111111111111",
"comment": "<string>"
},
"issues": [
{
"code": "<string>",
"severity": "blocking",
"detail": "<string>",
"asset": "0x1111111111111111111111111111111111111111",
"spender": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000",
"remediation_step_id": "<string>"
}
],
"steps": [
{
"id": "<string>",
"kind": "transaction",
"label": "<string>",
"depends_on": [
"<string>"
],
"transaction": {
"chain_id": 8453,
"from": "0x1111111111111111111111111111111111111111",
"to": "0x1111111111111111111111111111111111111111",
"data": "<string>",
"value": "1000000000000000000"
},
"simulation": {
"status": "succeeded",
"block_number": "1000000000000000000"
}
}
]
},
"meta": {
"request_id": "req_01JZZZZZZZZZZZZZZZZZZZZZZZ",
"generated_at": "2026-07-31T12:00:00.000Z",
"warnings": [
"<string>"
]
}
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}{
"type": "https://docs.o1.exchange/launchpad/api/errors-and-limits#not-found",
"title": "<string>",
"status": 499,
"code": "invalid_request",
"detail": "<string>",
"action": "<string>",
"instance": "<string>",
"request_id": "<string>",
"invalid_parameters": [
{
"name": "<string>",
"reason": "<string>",
"detail": "<string>",
"allowed": [
"<string>"
]
}
],
"suggested_endpoint": "<string>",
"resource": "<string>",
"chain_id": 8453,
"token_address": "0x1111111111111111111111111111111111111111",
"asset": "0x1111111111111111111111111111111111111111",
"actual_raw": "1000000000000000000",
"required_raw": "1000000000000000000"
}Authorizations
Production API key beginning with o1_launch_.
Body
Production chain ID: 8453 for Base, 4663 for Robinhood Chain, or 143 for Monad.
8453, 4663, 143 8453
Wallet that will execute the prepared swap.
^0x[0-9a-fA-F]{40}$"0x1111111111111111111111111111111111111111"
Tracked launch token to buy or sell, returned as token.address by GET /tokens.
^0x[0-9a-fA-F]{40}$"0x1111111111111111111111111111111111111111"
buy spends the quote asset for launch tokens; sell spends launch tokens for the quote asset.
buy, sell Exact input in base units: quote-asset units for buy, launch-token units for sell. Range: 1 through uint128 max.
^(0|[1-9][0-9]*)$"1000000000000000000"
Slippage tolerance in basis points. 1 bps = 0.01%; 50 means 0.5%, 100 means 1%, and 300 means 3%. The swap reverts below the calculated minimum output.
0 <= x <= 499950
Optional eligible referral wallet. It cannot be the trader, creator, platform treasury, or router.
^0x[0-9a-fA-F]{40}$"0x1111111111111111111111111111111111111111"
Optional hook comment limited to 32 UTF-8 bytes.
32