Modern PetstoreAPI Docs
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
  1. Store
  • Pet
    • Get Pet
      GET
    • Update Pet
      PUT
    • Delete Pet
      DELETE
    • Create Pet
      POST
    • List Pets
      GET
    • Upload Pet Image
      POST
  • Chat
    • Pet Care AI Consultation
      POST
  • Payments
    • Pay Order
      POST
  • Store
    • Get Store Inventory
      GET
    • List Inventory
      GET
    • Create Order
      POST
    • Get Order
      GET
    • Cancel Order
      DELETE
    • Callback Example
      POST
  • User
    • Create User
      POST
    • Update User
      PUT
    • Get User
      GET
    • Delete User Account
      DELETE
    • Create Authentication Token
      POST
  • Webhooks
    • Order Status Changed Event
    • Payment Succeeded Event
  • Schemas
    • Pet
    • PetCollection
    • User
    • OrderPayment
    • Bank Card
    • Bank Account
    • Category
    • Links
    • Order
    • ApiResponse
    • Tag
    • Error
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
  1. Store

Get Store Inventory

GET
https://api.petstoreapi.com/v1/inventory
Returns aggregated inventory statistics across all pets in the store.
Note: This endpoint correctly uses a singular noun because "inventory" is a mass noun
(uncountable) representing aggregated statistics, not a collection of countable resources.
Similar endpoints: /dashboard, /summary, /analytics.

Request

Authorization
Header Params

Responses

🟢200
application/json
Successful operation
Headers

Body

Request Request Example
Shell
JavaScript
Java
Swift
curl -X GET 'https://api.petstoreapi.com/v1/inventory' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Response Response Example
{
    "available": 145,
    "pending": 23,
    "adopted": 892,
    "total": 1060,
    "bySpecies": {
        "DOG": 523,
        "CAT": 387,
        "BIRD": 89,
        "RABBIT": 45,
        "FISH": 16
    },
    "lastUpdatedAt": "2026-01-07T10:30:00Z"
}
Modified at 2026-01-07 06:44:25
Previous
Pay Order
Next
List Inventory
Built with