Swagger Petstore API

Manage pets, orders and users — add, update, search (by status or tags), upload pet images, view inventory, place orders and handle user accounts. Ideal for testing and demos; supports API key auth.

The Swagger Petstore API provides a complete example REST surface for managing pets, store orders and user accounts. Use it to add, update and delete pets, find pets by status or tags, upload images, check inventory and place orders.

Key features:

  • Pet management: create, update, delete, find by ID, search by status or tags, and upload pet images.
  • Store operations: get inventory breakdown by status, place and manage orders.
  • User management: create single or batch users, login/logout, and user profile CRUD.
  • Simple API key authentication for testing (use special-key).

Perfect for demos, SDK testing and developer onboarding — intuitive endpoints and predictable responses make it easy to integrate and learn RESTful API patterns.