Skip to main content
POST
/
api
/
magiceden
/
collections
/
pools
/magiceden/collections/pools
curl --request POST \
  --url https://api.anysite.io/api/magiceden/collections/pools \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 2,
  "timeout": 300,
  "chain": "solana",
  "side": "buy"
}
'
[
  {
    "pool_key": "<string>",
    "@type": "MagicedenPool",
    "pool_type": "<string>",
    "collection_symbol": "<string>",
    "pool_owner": "<string>",
    "spot_price": 123,
    "curve_type": "<string>",
    "curve_delta": 123,
    "buyside_payment_amount": 123,
    "sellside_asset_amount": 123,
    "buy_orders_amount": 123,
    "lp_fee_bp": 123,
    "expiry": 123,
    "is_mip1": false,
    "updated_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
symbol
string
required

Collection symbol (its human-readable alias, e.g. 'mad_lads')

Minimum string length: 1
Examples:

"mad_lads"

"okay_bears"

count
integer
required

Number of pools to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
chain
enum<string>
default:solana

Blockchain

Available options:
solana
side
enum<string>
default:buy

Pool side: buy-side (bids) or sell-side (asks)

Available options:
buy,
sell

Response

Successful Response

pool_key
string
required
@type
string
default:MagicedenPool
pool_type
string | null
collection_symbol
string | null
pool_owner
string | null
spot_price
number | null
curve_type
string | null
curve_delta
number | null
buyside_payment_amount
number | null
sellside_asset_amount
integer | null
buy_orders_amount
integer | null
lp_fee_bp
integer | null
expiry
integer | null
is_mip1
boolean
default:false
updated_at
string | null