Skip to main content

Introduction to the Pet Store API

This document provides an API reference for a sample Pet Store server. These requests help developers call the Pet Store server. Use them to send or request data about pets and orders in the system.

With the Pet Store API, a developer can:

Pets

Store

User

These examples use a sample pet named Krypto with ID 210.

Connection prerequisites

The base URL of all API requests is https://petstore3.swagger.io/api/v3.

Authentication

To authenticate your connection to the Petstore API, use OAuth 2.0 or an assigned API key. To request a key, email budbaker@bhavenpets.com.

danger

For security purposes, don't share API keys with other users. If you suspect a security breach, contact an administrator immediately. An administrator can revoke the old key and issue a new one.