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
idTypeintegerDescriptionPotion item ID. - Name
typeTypestringDescriptionPotion item type (slug). - Name
nameTypestringDescriptionPotion name. - Name
imageTypestringDescriptionPotion image URL. - Name
recipesTypearray of objectDescriptionNameinputTypeobjectDescriptionThe item consumed:id,type,name, andquantity.NameoutputTypeobjectDescriptionThe item produced:id,type,name, andquantity.Namegold_costTypeintegerDescriptionGold cost to brew this recipe.Nametitle_requiredTypestringDescriptionMinimum hunter title for this recipe, e.g.noviceorlord_lady.
Request
GET
https://api.mouse.rip/potionsconst 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_potionconst 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"
},
...
]
}
]