Hunter Data
Get Hunter data
Get all publicly available data for a Hunter.
Replace :id with the Hunter ID.
Notes
- journal_entriesare limited to the first page.
- airshipis only available when the Hunter is in the Floating Islands.
Properties
- NameidTypestringDescriptionHunter ID. 
- NamenameTypestringDescriptionName. 
- NametitleTypestringDescriptionHunter title. Includes rank and rank percent 
- NamerankTypestringDescriptionRank. 
- Namerank_percentTypefloatDescriptionRank percent. 
- Namelast_activeTypestringDescriptionLast active time string. 
- NamejoinedTypetimestampDescriptionJoined timestamp. 
- Namejoined_formattedTypestringDescriptionFormatted joined time. 
- NamegoldTypeintegerDescriptionGold amount. 
- Namegold_formattedTypestringDescriptionGold amount formatted. 
- NamepointsTypeintegerDescriptionPoints amount. 
- Namepoints_formattedTypestringDescriptionPoints amount formatted. 
- NamelocationTypestringDescriptionCurrent location. 
- NamelgsTypestringDescriptionWhether or not the Hunter has LGS (Lucky Golden Shield). 
- Namelgs_durationTypeintegerDescriptionLGS Duration in seconds. 
- Namelgs_duration_formattedTypestringDescriptionLGS Duration formatted. 
- NameteamTypestringDescriptionWhether or not the Hunter is on a team. 
- Nameteam_idTypeintegerDescriptionTeam ID. 
- Nameteam_nameTypestringDescriptionTeam name. 
- NamemapTypestringDescriptionWhether or not the Hunter is on a map. 
- Namemap_nameTypestringDescriptionMap name. 
- Namemap_idTypeintegerDescriptionMap ID. 
- NamecluesTypeintegerDescriptionClues found. 
- Nameclues_rankTypeintegerDescriptionGlobal clues found rank. 
- NamesetupTypeobjectDescriptionHunter setup. 
- Namesetup[type]TypeobjectDescriptionTrap, base, bait, charm, and skin. 
- Namesetup[type].nameTypestringDescriptionName. 
- Namesetup[type].equippedTypestringDescriptionEquipped status. 
- Namesetup[type].quantityTypestringDescriptionBait or Charm Quantity. 
- Namesetup.formattedTypestringDescriptionFormatted setup string. 
- NametrapTypeobjectDescriptionTrap stats. 
- Nametrap.powerTypeintegerDescriptionTrap power amount. 
- Nametrap.power_formattedTypestringDescriptionTrap power amount formatted. 
- Nametrap.power_typeTypestringDescriptionTrap power type. 
- Nametrap.luckTypeintegerDescriptionTrap luck amount. 
- Nametrap.attractionTypeintegerDescriptionTrap attraction bonus percent. 
- Nametrap.attraction_formattedTypestringDescriptionTrap attraction amount formatted. 
- Nametrap.cheese_effectTypestringDescriptionTrap cheese effect. 
- Nametrap_imagesTypeobjectDescriptionTrap images. 
- Nametrap_images.baseTypestringDescriptionBase image URL. 
- Nametrap_images.weaponTypestringDescriptionWeapon image URL. 
- Nametrap_images.baitTypestringDescriptionBait image URL. 
- NameaurasTypearrayDescriptionActive auras. 
- Nameauras[].nameTypestringDescriptionAura name. 
- Nameauras[].end_dateTypetimestampDescriptionAura end timestamp. 
- Nameauras[].end_date_formattedTypestringDescriptionFormatted aura end time. 
- Namemice_caughtTypeobjectDescriptionMice caught. 
- Namemice_caught.breedsTypeintegerDescriptionBreeds caught. 
- Namemice_caught.totalTypeintegerDescriptionTotal mice caught. 
- Namemice_caught.eventTypeintegerDescriptionEvent mice caught. 
- NamehornsTypeobjectDescriptionHorns. 
- Namehorns.hornsTypeintegerDescriptionSelf-hunts. 
- Namehorns.trap_checksTypeintegerDescriptionTrap checks. 
- Namehorns.friend_huntsTypeintegerDescriptionFriend hunts. 
- Namehorns.totalTypeintegerDescriptionTotal hunts. 
- Namefavorite_miceTypearrayDescriptionFavorite mice. 
- Namefavorite_mice[].idTypestringDescriptionMouse type. 
- Namefavorite_mice[].nameTypestringDescriptionMouse name. 
- Namefavorite_mice[].catchesTypestringDescriptionNumber of catches. 
- Namefavorite_mice[].missesTypestringDescriptionNumber of misses. 
- Namefavorite_mice[].crownTypestringDescriptionCrown type. 
- Namefavorite_mice[].imageTypestringDescriptionMouse image URL. 
- Namejournal_entriesTypeobjectDescriptionJournal entries. 
- Namejournal_entries[id]TypeobjectDescriptionJournal entry. 
- Namejournal_entries[id].idTypeintegerDescriptionJournal entry ID. 
- Namejournal_entries[id].typeTypearrayDescriptionJournal entry type. 
- Namejournal_entries[id].imageTypestringDescriptionJournal entry image URL. 
- Namejournal_entries[id].dateTypetimestampDescriptionJournal entry timestamp. 
- Namejournal_entries[id].date_formattedTypestringDescriptionFormatted entry time. 
- Namejournal_entries[id].locationTypestringDescriptionJournal location. 
- Namejournal_entries[id].textTypestringDescriptionJournal text. 
- NamebannedTypeobjectDescriptionBanned status. 
- Namebanned.is_bannedTypebooleanDescriptionWhether or not the Hunter is banned. 
- Namebanned.restrictionsTypestringDescriptionBan restrictions. 
Request
const endpoint = 'https://api.mouse.rip/hunter/8209591'
const hunterData = await fetch(endpoint)
console.log(hunterData)
Response
{
  "id": 8209591,
  "name": "brad 🎉️",
  "title": "Viceroy (46.93%)",
  "rank": "Viceroy",
  "rank_percent": 46.93,
  "last_active": "5 minutes",
  "joined": 1641168000,
  "joined_formatted": "Jan 3, 2022",
  "gold": 48837187,
  "gold_formatted": "48,837,187",
  "points": 3170828922,
  "points_formatted": "3,170,828,922",
  "location": "Burroughs Rift",
  "lgs": true,
  "lgs_duration": 1897860,
  "lgs_duration_formatted": "3 weeks 23 hours 11 minutes",
  "team": true,
  "team_id": 125504,
  "team_name": "",
  "map": true,
  "map_name": "Arduous Chrome Slayer Treasure Map",
  "map_id": 5576310,
  "clues": 2973,
  "clues_rank": 7397,
  "setup": {
    "trap": {
      "name": "Timesplit Dissonance Trap",
      "equipped": true,
      "quantity": 1
    },
    "base": {
      "name": "Alchemist's Cookbook Base",
      "equipped": true,
      "quantity": 1
    },
    "bait": {
      "name": "Magical String Cheese",
      "equipped": true,
      "quantity": 1565,
    },
    "charm": {
      "name": "Unstable Charm",
      "equipped": true,
      "quantity": 5485,
    },
    "skin": {
      "name": "Terrifying Terrorsplit Squash Trap Skin",
      "equipped": true,
      "quantity": 1
    },
    "formatted": "Timesplit Dissonance Trap, Alchemist's Cookbook Base, Magical String Cheese (1565), Unstable Charm (5485), Terrifying Terrorsplit Squash Trap Skin"
  },
  "trap": {
    "power": 5025,
    "power_formatted": "5,025",
    "power_type": "Rift",
    "luck": 36,
    "attraction": 20,
    "attraction_formatted": "20%",
    "cheese_effect": "No Effect"
  },
  "trap_images": {
    "base": "https://www.mousehuntgame.com/images/items/bases/trap_small/82ab52084e56b184b00e60737affe528.png",
    "weapon": "https://www.mousehuntgame.com/images/items/skins/trap_small/0f3511c466b951da71e2850d1c0687cb.png",
    "bait": "https://www.mousehuntgame.com/images/items/bait/trap_small/f16095a5a8f2ae5b406a90144b44e071.png"
  },
  "auras": [
    {
      "name": "Anniversary",
      "end_date": 1709769600,
      "end_date_formatted": "March 7, 2024"
    }
  ],
  "mice_caught": {
    "breeds": 924,
    "event": 175,
    "total": 47345
  },
  "horns": {
    "horns": 20823,
    "trap_checks": 14353,
    "friend_hunts": 14438,
    "total": 49614
  },
  "favorite_mice": [
    {
      "id": "glazed",
      "name": "Glazy Mouse",
      "catches": "100",
      "misses": "0",
      "crown": "silver",
      "image": "https://www.mousehuntgame.com/images/mice/thumb/c7b5297963b8a56265cb5d7c3483e6cc.gif"
    }
  ],
  "journal_entries": {
    "162471": {
      "id": 162471,
      "type": [
        "catchsuccess"
      ],
      "image": "https://www.mousehuntgame.com/images/mice/thumb/7da77ad10f719afce4f17453cb964f40.gif",
      "date": 1693179840,
      "date_formatted": "Aug 27 11:44 pm",
      "location": "Burroughs Rift",
      "text": "I sounded the Hunter's Horn and was successful in the hunt! I caught a 9 oz. Boulder Biter Mouse worth 70,000 points and 14,000 gold."
    }
  },
  "banned": {
    "is_banned": false,
    "restrictions": ""
  }
}
Get Hunter setup
Replace :id with the Hunter ID.
Properties
- NameidTypestringDescriptionHunter ID. 
- NamerankTypestringDescriptionHunter rank. 
- NamelocationTypestringDescriptionCurrent location. 
- NamesetupTypestringDescriptionHunter trap setup. 
- NameaurasTypestringDescriptionActive auras. 
Request
const hunterData = await fetch('https://api.mouse.rip/hunter/8209591/setup')
console.log(hunterData)
Response
{
  "id": 8209591,
  "rank": "Viceroy (46.93%)",
  "location": "Burroughs Rift",
  "setup": "Timesplit Dissonance Trap, Alchemist's Cookbook Base, Magical String Cheese (1565), Unstable Charm (5485), Terrifying Terrorsplit Squash Trap Skin",
  "auras": "Lucky Golden Shield, Slayer, Chrome, Lightning, Anniversary"
}
Get Hunter items
Get the "checkmark" items for a Hunter.
The collected property contains all items that the Hunter has collected and the uncollected property contains all items that the Hunter has not collected.
The properties for the uncollected items are the same as the collected items described below.
Replace :id with the Hunter ID.
Properties
- NamecollectedTypeobjectDescriptionCollected items. 
- Namecollected.weaponsTypearrayDescriptionCollected weapons. 
- Namecollected.weapons[].idTypeintegerDescriptionWeapon ID. 
- Namecollected.weapons[].slugTypestringDescriptionWeapon type. 
- Namecollected.weapons[].nameTypestringDescriptionWeapon name. 
- Namecollected.basesTypearrayDescriptionCollected bases. 
- Namecollected.bases[].idTypeintegerDescriptionBase ID. 
- Namecollected.bases[].slugTypestringDescriptionBase type. 
- Namecollected.bases[].nameTypestringDescriptionBase name. 
- Namecollected.map_piecesTypearrayDescriptionCollected map pieces. 
- Namecollected.map_pieces[].idTypeintegerDescriptionMap piece ID. 
- Namecollected.map_pieces[].slugTypestringDescriptionMap piece type. 
- Namecollected.map_pieces[].nameTypestringDescriptionMap piece name. 
- Namecollected.collectiblesTypearrayDescriptionCollected collectibles. 
- Namecollected.collectibles[].idTypeintegerDescriptionCollectible ID. 
- Namecollected.collectibles[].slugTypestringDescriptionCollectible type. 
- Namecollected.collectibles[].nameTypestringDescriptionCollectible name. 
- Namecollected.skinsTypearrayDescriptionCollected skins. 
- Namecollected.skins[].idTypeintegerDescriptionSkin ID. 
- Namecollected.skins[].slugTypestringDescriptionSkin type. 
- Namecollected.skins[].nameTypestringDescriptionSkin name. 
- NameuncollectedTypeobjectDescriptionUncollected items. 
Request
const items = await fetch('https://api.mouse.rip/hunter/8209591/items')
console.log(items)
Response
{
  "collected": {
    "weapons": [
      {
        "id": 1168,
        "slug": "hot_tub_weapon",
        "name": "Mouse Hot Tub"
      }
    ],
    "bases": [
      {
        "id": 3080,
        "slug": "empyrean_jewel_base",
        "name": "Adorned Empyrean Refractor Base"
      }
    ],
    "map_pieces": [
      {
        "id": 1,
        "slug": "balack_lantern_map_piece",
        "name": "Balack's Lantern"
      }
    ],
    "collectibles": [
      {
        "id": 280,
        "slug": "dlu_collectible",
        "name": "DLU+"
      }
    ],
    "skins": [
      {
        "id": 2586,
        "slug": "tenth_birthday_storm_wrought_ballista_skin",
        "name": "10th Birthday Storm Wrought Ballista Trap Skin"
      }
    ]
  },
  "uncollected": {
    "weapons": [
      {
        "id": 3591,
        "slug": "legendary_kingbot_weapon",
        "name": "Legendary KingBot"
      }
    ],
    "bases": [
      {
        "id": 3589,
        "slug": "royal_ruby_refractor_base",
        "name": "Royal Ruby Refractor Base"
      }
    ],
    "collectibles": [
      {
        "id": 1542,
        "slug": "contaminated_crumb_cake_collectible",
        "name": "Contaminated Crumb Cake"
      }
    ],
    "skins": []
  }
}
Get Hunter trap image
This endpoint allows you to retrieve a rendered image of a Hunter's trap.
You can append .png to the endpoint to embed the image directly.
Replace :id with the Hunter ID.
Request
const image = document.createElement('img')
image.src = 'https://api.mouse.rip/hunter/8209591/trap.png'
document.body.appendChild(image)
Response
Binary data with content type image/png.