Uploaded image for project: 'Mojang Web Services'
  1. Mojang Web Services
  2. WEB-1009

https://api.mojang.com/orders/statistics returns incorrect results, causing the store page to list 0 copies sold

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Important Important
    • None

      The bug

      The API https://api.mojang.com/orders/statistics stopped returning correct results somewhere between 20th and 21st of March 2018. It now returns for all values of all metrics 0.
      Maybe unrelated, but around the time when the API stopped working correctly Minecraft Java edition has reached 28 million sold copies (item_sold_minecraft + prepaid_card_redeemed_minecraft).

        ISO date
      Last known correct reponse 2018-03-20T00:32:40.779Z
      First known incorrect response 2018-03-21T00:25:22.087Z

      I don't have any data from the time in between, so it might have stopped working at any point in this timespan.

      This also breaks the store page, which displays data from this endpoint.

      How to reproduce

      Visit the store, and scroll down to the "The worlds best selling PC game" section.

      Or, to directly use the API, see http://wiki.vg/Mojang_API#Statistics:

      Use for example the following site:
      https://www.hurl.it?method=POST&url=https://api.mojang.com/orders/statistics&body={"metricKeys":["item_sold_minecraft","prepaid_card_redeemed_minecraft"]}

        1. SoMany.PNG
          54 kB
          [Mod] Pokechu22

            mojangweb [Mojang] Web Team
            marcono1234 Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: