Get API configuration
curl --request GET \
--url https://api.launch.o1.exchange/v1/config \
--header 'x-api-key: <api-key>'import requests
url = "https://api.launch.o1.exchange/v1/config"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.launch.o1.exchange/v1/config', 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/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.launch.o1.exchange/v1/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.launch.o1.exchange/v1/config")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launch.o1.exchange/v1/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"chain": {
"name": "<string>",
"native_currency": {
"symbol": "<string>",
"decimals": 127
},
"capabilities": {}
},
"supported_chain_ids": [],
"suites": [
{
"id": "<string>",
"version": "<string>",
"active_for_creation": true,
"creation_available": true,
"first_block": 1,
"contracts": {
"factory": "<string>",
"hook": "<string>",
"fee_escrow": "<string>",
"vesting_vault": "<string>",
"announcement_registry": "<string>",
"pool_manager": "<string>",
"state_view": "<string>",
"quoter": "<string>",
"universal_router": "<string>",
"permit2": "<string>"
},
"capabilities": {
"launch_creation_fee": true,
"announcements": true,
"vesting": true,
"editable_metadata": true,
"quote_revisions": true,
"launch_creation_switch": true
},
"config_version": "<string>",
"launch_supply_raw": "<string>",
"launch_creation_enabled": true,
"creation_fee": {
"amount_raw": "<string>",
"currency": "<string>",
"symbol": "<string>",
"decimals": 127
}
}
],
"quotes": [
{
"address": "<string>",
"symbol": "<string>",
"decimals": 127,
"suite_id": "<string>",
"registered": true,
"selectable": true,
"name": "<string>",
"quote_revision": "<string>",
"creation_fee": {
"amount_raw": "<string>",
"currency": "<string>",
"symbol": "<string>",
"decimals": 127
}
}
],
"as_of_block": "<string>"
},
"meta": {
"request_id": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"warnings": [
"<string>"
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}Meta
Get API configuration
Get production suites, contract addresses, quote assets, capabilities, and live creation state for one chain.
GET
/
config
Get API configuration
curl --request GET \
--url https://api.launch.o1.exchange/v1/config \
--header 'x-api-key: <api-key>'import requests
url = "https://api.launch.o1.exchange/v1/config"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.launch.o1.exchange/v1/config', 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/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.launch.o1.exchange/v1/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.launch.o1.exchange/v1/config")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launch.o1.exchange/v1/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"chain": {
"name": "<string>",
"native_currency": {
"symbol": "<string>",
"decimals": 127
},
"capabilities": {}
},
"supported_chain_ids": [],
"suites": [
{
"id": "<string>",
"version": "<string>",
"active_for_creation": true,
"creation_available": true,
"first_block": 1,
"contracts": {
"factory": "<string>",
"hook": "<string>",
"fee_escrow": "<string>",
"vesting_vault": "<string>",
"announcement_registry": "<string>",
"pool_manager": "<string>",
"state_view": "<string>",
"quoter": "<string>",
"universal_router": "<string>",
"permit2": "<string>"
},
"capabilities": {
"launch_creation_fee": true,
"announcements": true,
"vesting": true,
"editable_metadata": true,
"quote_revisions": true,
"launch_creation_switch": true
},
"config_version": "<string>",
"launch_supply_raw": "<string>",
"launch_creation_enabled": true,
"creation_fee": {
"amount_raw": "<string>",
"currency": "<string>",
"symbol": "<string>",
"decimals": 127
}
}
],
"quotes": [
{
"address": "<string>",
"symbol": "<string>",
"decimals": 127,
"suite_id": "<string>",
"registered": true,
"selectable": true,
"name": "<string>",
"quote_revision": "<string>",
"creation_fee": {
"amount_raw": "<string>",
"currency": "<string>",
"symbol": "<string>",
"decimals": 127
}
}
],
"as_of_block": "<string>"
},
"meta": {
"request_id": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"warnings": [
"<string>"
]
}
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"instance": "<string>"
}Authorizations
Production API key beginning with o1_launch_.
Query Parameters
Production chain to query.
Available options:
8453, 4663 Example:
8453
Launch market to include.
Available options:
standard, rwa, all Comma-separated subset of chains, suites, and quotes.
When true, omit historical suites and quote assets that cannot create new launches.
⌘I
