Search Active Auction House Listings
Fetch active player listings from the DonutSMP auction house. Results are automatically sorted from lowest to highest price.
Parameters
| Field | Type | In | Description |
|---|---|---|---|
| page | integer | path | Page number to retrieve (e.g., 1). optional |
| search | string | query / body | Item name or keyword query (e.g. elytra, diamond). optional |
Implementation Notes
- Accepts parameters as a URL query string:
?search=elytraor via a JSON request body{"search": "elytra"}. - Always returns the cheapest active listings first.
- Prices are delivered as raw, unformatted integers to avoid floating-point errors (e.g.
340M$ ightarrow$340000000).
curl -X GET "https://api.donutapi.xyz/v1/auction/list/1?search=elytra" \ -H "Authorization: Bearer dn_live_YOUR_TOKEN"
{
"status": 200,
"result": [
{
"item": {
"id": "minecraft:elytra",
"count": 1,
"display_name": "Elytra",
"lore": [],
"contents": [],
"enchants": {
"enchantments": {
"levels": {
"unbreaking": 3,
"mending": 1
}
},
"trim": null
}
},
"price": 340000000,
"seller": {
"name": "DonutTrader",
"uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5"
},
"time_left": 86400
}
]
}