Skip to content
DonutStatsAPI
Sign up
Auction house

List recently closed listings

The last few listings that left the auction house.

GET/v1/auction/closed

A quick look at the most recently closed listings, newest first. A listing closes when it leaves the auction house: it was bought, cancelled or expired. The auction house does not say which, so treat these as likely sales rather than confirmed ones.

This endpoint only looks back a little way. To go further, filter or page through everything, use auction history.

Authentication

API key with the read scope

Cached for

20 s

Data updates

With every auction house refresh.

Query parameters

  • limitintegeroptionaldefault 24

    Listings to return.

    1 to 100

Response

Closed listings, newest first.

  • listingsobject[]

    A ClosedListing without seller.

    Show9 child fields
    • idinteger

      Stable id of the listing. It never changes or gets reused.

    • productProduct

      What is being sold.

      Show6 child fields
      • keystring

        Unique product key: the item id, plus the variant in square brackets when there is one. Examples: diamond, elytra[mending,unbreaking:3], potion[poison]. Use it with product= filters and /v1/items/{key}.

      • itemstring

        Minecraft item id without the minecraft: namespace, for example netherite_sword. Many products can share one item id.

      • namestring

        Display name, for example Potion of Poison.

      • variantstring

        What sets this product apart from the plain item. Empty for plain items. See variants for the rules.

      • categorystring | null

        One of combat, tools, valuables, drops, food, potions, blocks or misc.

      • Structured extras such as enchantments, shulker box contents or a custom name.

        Show5 child fields
        • enchantmentsEnchantment[]

          Enchantments on the item itself, sorted by id. Left out when there are none.

        • storedEnchantmentsEnchantment[]

          Enchantments stored in an enchanted book. Left out for every other item.

        • contentsContainerEntry[]

          What a shulker box holds, one entry per item id with counts added together, largest first.

        • customNamestring

          The name shown in game when it differs from the default item name. DonutSMP renames some items, for example Dried Ghast on a skeleton skull.

        • flightDurationinteger

          Flight duration of a firework rocket, from 1 to 3.

    • countinteger

      Stack size, from 1 to 64.

    • pricenumber

      Asking price for the whole stack.

    • unitPricenumber

      Asking price per item: price divided by count.

    • Details of this exact stack. They can carry more than the product does, such as the full contents of a shulker box.

      Show5 child fields
      • enchantmentsEnchantment[]

        Enchantments on the item itself, sorted by id. Left out when there are none.

        Show2 child fields
        • idstring

          Enchantment id without the minecraft: namespace, for example sharpness.

        • levelinteger

          Enchantment level, starting at 1.

      • storedEnchantmentsEnchantment[]

        Enchantments stored in an enchanted book. Left out for every other item.

        Show2 child fields
        • idstring

          Enchantment id without the minecraft: namespace, for example sharpness.

        • levelinteger

          Enchantment level, starting at 1.

      • contentsContainerEntry[]

        What a shulker box holds, one entry per item id with counts added together, largest first.

        Show2 child fields
        • itemstring

          Item id, for example netherite_sword.

        • countinteger

          Total number of that item in the box.

      • customNamestring

        The name shown in game when it differs from the default item name. DonutSMP renames some items, for example Dried Ghast on a skeleton skull.

      • flightDurationinteger

        Flight duration of a firework rocket, from 1 to 3.

    • firstSeenAttimestamp

      When the listing first appeared.

    • lastSeenAttimestamp

      When the listing was last confirmed on the auction house.

    • closedAttimestamp

      When the listing left the auction house: it sold, was cancelled or expired.