Skip to main content
POST
/
gateway
/
pools
Add Pool
curl --request POST \
  --url http://localhost:8000/gateway/pools \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector_name": "<string>",
  "type": "<string>",
  "network": "<string>",
  "address": "<string>",
  "base": "<string>",
  "quote": "<string>",
  "base_address": "<string>",
  "quote_address": "<string>",
  "fee_pct": 123
}
'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to add a liquidity pool

connector_name
string
required

DEX connector name (e.g., 'raydium', 'meteora')

type
string
required

Pool type ('clmm' or 'amm')

network
string
required

Network name (e.g., 'mainnet-beta')

address
string
required

Pool contract address

base
string
required

Base token symbol

quote
string
required

Quote token symbol

base_address
string
required

Base token contract address

quote_address
string
required

Quote token contract address

fee_pct
number | null

Pool fee percentage (e.g., 0.25)

Response

Successful Response

The response is of type Response Add Pool Gateway Pools Post · object.