Skip to main content
POST
/
api
/
magiceden
/
collections
/
search
/magiceden/collections/search
curl --request POST \
  --url https://api.anysite.io/api/magiceden/collections/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "chain": "solana",
  "window": "7d",
  "sort": "volume",
  "direction": "desc",
  "verified_only": true,
  "min_owner_count": 0,
  "min_sales": 0
}
'
[
  {
    "symbol": "<string>",
    "name": "<string>",
    "@type": "MagicedenCollectionRank",
    "image": "<string>",
    "contract": "<string>",
    "floor_price": 123,
    "floor_price_change": 123,
    "volume": 123,
    "volume_all": 123,
    "volume_change": 123,
    "sales": 123,
    "sales_all": 123,
    "sales_change": 123,
    "market_cap": 123,
    "market_cap_usd": 123,
    "listed_count": 123,
    "total_supply": 123,
    "owner_count": 123,
    "unique_owner_ratio": 123,
    "highest_offer": 123,
    "currency": "<string>",
    "is_verified": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of collections 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
window
enum<string>
default:7d

Time window for volume and sales metrics

Available options:
1d,
7d,
30d
sort
enum<string>
default:volume

Column to rank collections by

Available options:
volume,
floorPrice,
listedCount,
marketCap,
sales
direction
enum<string>
default:desc

Sort direction

Available options:
asc,
desc
verified_only
boolean
default:true

Only include verified collections

min_owner_count
integer
default:0

Minimum number of unique owners

Required range: x >= 0
min_sales
integer
default:0

Minimum number of sales in the window

Required range: x >= 0

Response

Successful Response

symbol
string
required
name
string
required
@type
string
default:MagicedenCollectionRank
image
string | null
contract
string | null
floor_price
number | null
floor_price_change
number | null
volume
number | null
volume_all
number | null
volume_change
number | null
sales
integer | null
sales_all
integer | null
sales_change
number | null
market_cap
number | null
market_cap_usd
number | null
listed_count
integer | null
total_supply
integer | null
owner_count
integer | null
unique_owner_ratio
number | null
highest_offer
number | null
currency
string | null
is_verified
boolean
default:false