Sends all current Auction House entries
Process an auction request and return the result. Sends all current active Auction House listings.
Parameters
| Field | Type | In | Description |
|---|---|---|---|
| page | integer | path | Page index to retrieve. required |
| auction | object | body | Search and sort options (ah.RequestBody). optional |
Body Properties
search(string): Optional search text (e.g."diamond").sort(string): Options:lowest_price,highest_price,recently_listed,last_listed.
curl -X GET https://api.donutapi.xyz/v1/auction/list/1 \
-H "Authorization: Bearer dn_live_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"search":"diamond","sort":"lowest_price"}'
{
"status": 200,
"result": [
{
"item": {
"id": "minecraft:diamond_sword",
"count": 1,
"display_name": "Sharpness V Diamond Sword",
"lore": [
"Forged for combat",
"DonutSMP Edition"
],
"contents": [],
"enchants": {
"enchantments": {
"levels": {
"sharpness": 5,
"unbreaking": 3
}
},
"trim": {
"material": "netherite",
"pattern": "silence"
}
}
},
"price": 45000,
"seller": {
"name": "VortexTrader",
"uuid": "d19bc294-b153-4882-95f3-c5b76cf6c981"
},
"time_left": 86400
}
]
}