Skip to content

Lowest listed price per rarity

GET
/api/marketplace/floor-prices
curl --request GET \
--url https://foxleague.ai/api/marketplace/floor-prices

For each rarity with cards on sale, the lowest listed price and how many cards are listed, cheapest rarity first. The answer is refreshed at most every 5 seconds.

Who: anyone.

Success or a refusal: read success (the refusals are in the description).

Media type application/json
object
code

A machine-readable reason next to error, set only where the caller must act differently. tx_pending: the payment was not refused but could not be verified yet; keep the transaction hash and confirm again with the same hash, never pay twice.

string | null
data

The answer. Present when success is true.

Array<object>

The lowest listed price of one rarity.

object
count
required

Cards of this rarity listed with a price.

integer format: int64
floor_price
required

The lowest listed price, whole FOXSY.

integer format: int64
rarity
required

Common, Uncommon, Rare, Epic or Legendary.

string
error

Why the request was refused, in plain words. Present when success is false.

string | null
success
required

true when the request did what it asked. false is a refusal: read error.

boolean
Example
{
"data": [
{
"count": 41,
"floor_price": 300,
"rarity": "Common"
},
{
"count": 17,
"floor_price": 650,
"rarity": "Uncommon"
},
{
"count": 6,
"floor_price": 1500,
"rarity": "Rare"
}
],
"success": true
}

A server read failed. The body is empty.