Potions

Every potion and its recipes — what it consumes, what it produces, the gold cost, and the title required for each recipe tier.


Get all potions

Properties

  • Name
    id
    Type
    integer
    Description
    Potion item ID.
  • Name
    type
    Type
    string
    Description
    Potion item type (slug).
  • Name
    name
    Type
    string
    Description
    Potion name.
  • Name
    image
    Type
    string
    Description
    Potion image URL.
  • Name
    recipes
    Type
    array of object
    Description
  • Name
    input
    Type
    object
    Description
    The item consumed: id, type, name, and quantity.
  • Name
    output
    Type
    object
    Description
    The item produced: id, type, name, and quantity.
  • Name
    gold_cost
    Type
    integer
    Description
    Gold cost to brew this recipe.
  • Name
    title_required
    Type
    string
    Description
    Minimum hunter title for this recipe, e.g. novice or lord_lady.

Request

GET
https://api.mouse.rip/potions
const response = await fetch('https://api.mouse.rip/potions')

Response

[
  {
    "id": 122,
    "type": "ancient_cheese_potion",
    "name": "Ancient Potion",
    "image": "https://www.mousehuntgame.com/images/items/potions/large/9ca0dcfad630fd8dc5fdedb86bb502bb.png",
    "recipes": [
      {
        "input": {...},
        "output": {...},
        "gold_cost": 800,
        "title_required": "novice"
      },
      {
        "input": {...},
        "output": {...},
        "gold_cost": 800,
        "title_required": "hero"
      },
      ...
    ]
  },
  {
    "id": 123,
    "type": "brie_cheese_potion",
    "name": "Brie Potion",
    "image": "https://www.mousehuntgame.com/images/items/potions/large/5abdee75aaffeac082b9af21a568700e.png",
    "recipes": [
      {
        "input": {...},
        "output": {...},
        "gold_cost": 50,
        "title_required": "novice"
      },
      {
        "input": {...},
        "output": {...},
        "gold_cost": 100,
        "title_required": "novice"
      },
      ...
    ]
  },
  ...
]

Get potions by ID

Replace :id with a potion's ID or type, or the ID or type of an item a potion uses or makes. Returns an array of matching potions in the same shape as /potions, empty when nothing matches.

Request

GET
https://api.mouse.rip/potions/brie_cheese_potion
const response = await fetch('https://api.mouse.rip/potions/brie_cheese_potion')

Response

[
  {
    "id": 123,
    "type": "brie_cheese_potion",
    "name": "Brie Potion",
    "image": "https://www.mousehuntgame.com/images/items/potions/large/5abdee75aaffeac082b9af21a568700e.png",
    "recipes": [
      {
        "input": {...},
        "output": {...},
        "gold_cost": 50,
        "title_required": "novice"
      },
      {
        "input": {...},
        "output": {...},
        "gold_cost": 100,
        "title_required": "novice"
      },
      ...
    ]
  }
]