List pets, mounts and items

List your pets, mounts, eggs, hatching potions and food.

GET https://cotlet.dev/api/v1/habitica/pets-and-mounts

read

Returns the pets and mounts you own and the eggs, hatching potions and food in your inventory with counts. Pets that can still be fed are marked. Nothing is changed.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/habitica/pets-and-mounts \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("habitica", "list_pets_and_mounts")
Node.js
const result = await cotlet.call('habitica', 'list_pets_and_mounts');
CLI
cotlet call habitica list_pets_and_mounts

Example response

JSON

{
  "eggs": {
    "Wolf": 2,
    "Fox": 1
  },
  "hatching_potions": {
    "Base": 1,
    "Red": 1
  },
  "food": {
    "Meat": 3
  },
  "pets": [
    "Wolf-Base"
  ],
  "mounts": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.