PetStoreAPI2.0

This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.

129 subscribers
858 ms avg latency
40 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

PetStoreAPI2.0 endpoints

MethodEndpointDescription
pet
POST updatePetWithForm
/pet/{petId}
POST uploadFile
/pet/{petId}/uploadImage
POST addPet
/pet
GET findPetsByStatus
/pet/findByStatus
Multiple status values can be provided with comma separated strings
GET findPetsByTags
/pet/findByTags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
DELETE deletePet
/pet/{petId}
GET getPetById
/pet/{petId}
Returns a single pet
PUT updatePet
/pet
store
POST placeOrder
/store/order
GET getInventory
/store/inventory
Returns a map of status codes to quantities
DELETE deleteOrder
/store/order/{orderId}
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
GET getOrderById
/store/order/{orderId}
For valid response try integer IDs with value >= 1 and
user
POST createUsersWithArrayInput
/user/createWithArray
POST createUser
/user
This can only be done by the logged in user.
GET getUserByName
/user/{username}
GET loginUser
/user/login
DELETE deleteUser
/user/{username}
This can only be done by the logged in user.
GET logoutUser
/user/logout
PUT updateUser
/user/{username}
This can only be done by the logged in user.
POST createUsersWithListInput
/user/createWithList
Other endpoints
DELETE deleteOrder
/store/order/{orderId}
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
GET getInventory
/store/inventory
Returns a map of status codes to quantities
PUT updateUser
/user/{username}
This can only be done by the logged in user.
POST uploadFile
/pet/{petId}/uploadImage
POST addPet
/pet
POST updatePetWithForm
/pet/{petId}
GET findPetsByStatus
/pet/findByStatus
Multiple status values can be provided with comma separated strings
DELETE deletePet
/pet/{petId}
GET getUserByName
/user/{username}
GET getOrderById
/store/order/{orderId}
For valid response try integer IDs with value >= 1 and
POST createUsersWithArrayInput
/user/createWithArray
GET logoutUser
/user/logout
PUT updatePet
/pet
POST placeOrder
/store/order
GET getPetById
/pet/{petId}
Returns a single pet
POST createUsersWithListInput
/user/createWithList
DELETE deleteUser
/user/{username}
This can only be done by the logged in user.
GET findPetsByTags
/pet/findByTags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
POST createUser
/user
This can only be done by the logged in user.
GET loginUser
/user/login

PetStoreAPI2.0 pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: unlimited / monthly
PRO Free
  • Requests: unlimited / monthly

More Business APIs

View all →
  • Instant domain search. Documentation available at https://domainr.com/docs/api

    BusinessFreemium
  • This API helps to query properties for sale, rent, sold,etc… to create a real estate site/application such…

    BusinessFreemium6.5k subscribers
  • This API helps to query real estate in UAE to create a real estate site/application

    BusinessFreemium
  • 👑 The only FULLY and TRULY working Crunchbase Data Scraper. New version! 💎

    BusinessFreemium
  • 🔥 Cheaper, Faster — and Accurate 🔥 Get 750 free requests/month to scrape UAE property info (UAE Real…

    BusinessFreemium
  • Instant trademark search, trademark keyword availabity, search trademarks from USPTO, filter on…

    BusinessFreemium1.5k subscribers