Overview
The Petfinder API connects you to a database of adoptable pets — dogs, cats, rabbits, birds, and more — from thousands of shelters and rescue organizations across North America. It is popular among beginner developers building pet adoption apps or practicing with paginated, filterable JSON datasets. After registering for free credentials, you get access to real animal listings with photos, age, breed, and shelter location.
Beginner Tip
You must first exchange your API key and secret for a Bearer token via a POST to https://api.petfinder.com/v2/oauth2/token — then include that token in an Authorization: Bearer header on all subsequent requests.
Available Data
Example Response
{
"name": "Petfinder",
"data": "Petfinder-specific information and attributes",
"source": "Petfinder"
} Field Reference
animals List of adoptable animal objects matching your query filters. animals[].name The pet name as listed by the shelter. animals[].species Species of the animal, e.g. "Dog", "Cat", "Rabbit". animals[].breeds.primary Primary breed of the animal. animals[].photos Array of photo objects each containing small, medium, large, and full-size image URLs. pagination Contains count_per_page, total_count, current_page, and total_pages for navigating large result sets. Implementation Example
const url = "https://www.petfinder.com/developers/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Recipes Using Petfinder
Build something with this API. Each recipe includes step-by-step instructions and code outlines.
Similar APIs
View All →AdoptAPet
AdoptAPet provides pet adoption listings including breed, age, location, and photos.
Cats
⭐ Beginner's PickThe Cat API provides random cat images, breed data, and voting features.
eBird
eBird API from Cornell Lab provides real birding observation data including species sightings, locations, and notable birds by region.
IUCN
The IUCN Red List API provides conservation status data for over 150,000 animal, plant, and fungal species, including whether a species is Extinct, Endangered, or Least Concern.
The Dog
⭐ Beginner's PickThe Dog API provides hundreds of dog breed images, searchable breed metadata like temperament and life span, and user-uploaded photo voting.