Animals & Pet Supplies Products API
An interactive demo of the Affiliate.com Products API for pet supplies: pick a pet, build filters with the real fields and operators, and see the request that returns the results.
Pet shoppers are specific. They search for a harness for a small dog, a filter for a 20-gallon tank or a perch for a cockatiel, and they leave quickly when the item is out of stock. The Affiliate.com Products API lets a developer search the whole Animals & Pet Supplies area across merchants and affiliate networks with one request, and get the same fields back for every result. This guide to the Animals & Pet Supplies Products API shows what that looks like on live data, last pulled on November 6, 2026. It has an interactive demo you can change, the request behind every result, and notes on keeping a pet page accurate.
What counts as Animals & Pet Supplies
In the Shopify Standard Product Taxonomy (release 2026-10), Animals & Pet Supplies has two second-level groups, Live Animals and Pet Supplies, and 61 third-level categories beneath them. Pet Supplies is the one most product catalogs use, and it splits into Bird Supplies, Cat Supplies, Dog Supplies, Fish & Aquatic Supplies, Reptile & Amphibian Supplies and Small Animal Supplies, alongside narrower groups such as Pet Beds, Pet Collars & Harnesses and Pet Grooming Supplies. The API does not filter on that taxonomy directly, so the searches in this article use keywords.
Who builds with a pet supplies API
Pet products suit an API because the questions are specific and the stock keeps changing. A pet shop that earns through affiliate links needs a catalog it does not have to type in by hand. A gift guide writer wants dog and cat products under a set price, with sale prices that are still true on the day a reader clicks. A comparison page needs the same kind of product from several retailers side by side.
A chat assistant that gets asked for a good harness for a small dog needs real listings to recommend, with the price and availability attached. The work is the same in every case: search by what the shopper would type, keep what is in stock, and show a price the reader can trust.
Try the search
This demo runs on real results from the Affiliate.com Products API, refreshed daily and last pulled on November 6, 2026. Pick a pet and one of the quick filters, which are already set to a sensible starting point. The request below the results updates with every change, and clicking a product shows the record the API returns for it. To go further, open Customize filters and build your own with the API’s fields, operators and sort options.
How the request is built
Every control in the demo uses the API’s own field names and operators, and each filter adds one criterion to the search array. The criteria are joined together. That is the whole model: start with a keyword search, then narrow.
Two criteria are always present. One keeps lower-quality marketplaces out with merchant.name NOT LIKE, and the other limits results to listings that have an image. The fields list trims each result to what a product card needs.
The phrases behind each pet
Each tab searches a short list of phrases joined with ||, which means any of them can match. Phrases such as dog food or bird cage are more precise than a single word, and the list is easy to widen or narrow.
Fields worth building on
Why this search uses keywords instead of a category
The category field holds each merchant’s own label, and merchants do not share one vocabulary. In a test search for dog products with the same filters as the demo, in stock and in US dollars, the results carried labels such as “Pets > Dogs > Dog Toys”, “Pet > Dog > Dog Collars, Leashes & Harnesses”, “Pet Supplies > Dog Supplies” and “Animals & Pet Supplies > Pet Supplies”, and some had no label at all. None of the 100 results used the exact “Animals & Pet Supplies > Pet Supplies > Dog Supplies” path.
Searching by that one path has the opposite problem. It returned results from 22 merchants, but none from Walmart or Etsy, which supplied nearly half of the dog results in the keyword search because they file their pet products under their own labels.
A keyword search reaches every merchant, and the other filters keep the results tidy. The catch is that one word is too loose. A bare “dog” also matched books, CDs and artwork in a test, so the demo searches for phrases such as dog food, dog bed and dog collar instead.
{
"per_page": 5,
"search": [
{ "field": "name", "operator": "LIKE", "value": "dog food||dog bed||dog toy||dog collar||dog leash" },
{ "field": "availability", "operator": "=", "value": "InStock" },
{ "field": "currency", "operator": "=", "value": "USD" }
],
"fields": ["name", "category", "final_price", "merchant.name"]
}
Getting started in three steps
Moving from the demo to your own page takes three steps, and the request panel above already contains the second one.
Keeping a pet page current
Freshness is worth measuring rather than assuming. In a check on November 6, 2026, every one of 400 pet records had been updated within the previous seven days, and about a quarter within the previous 24 hours. Some merchants refresh within a day and others every two or three days. The sample in this article is rebuilt every day, and the date near the top shows when it was last pulled.
A product grid is only useful while its prices and availability are right. The guide on how often product pages should be updated covers a sensible refresh schedule, and planning holiday content with product data lists what to check before gift guide season, when pet gifts and accessories are in demand. If a page shows a price drop, how price history helps a reader trust a deal explains how to back it up.
If the search sits behind a chat assistant rather than a web page, the same catalog is available through the MCP server. Product Data MCP vs. Product Data API explains how to choose between the two layers.
- ✓One request searches merchants across affiliate networks
- ✓Prices, discounts and availability on every result
- ✓In-stock, US-dollar listings filtered in the request itself
POST https://api.affiliate.com/v1/products
Authorization: Bearer YOUR_API_KEY
{
"per_page": 12,
"search": [
{ "field": "name", "operator": "LIKE", "value": "dog food||dog bed||dog collar||dog leash" },
{ "field": "availability", "operator": "=", "value": "InStock" },
{ "field": "currency", "operator": "=", "value": "USD" },
{ "field": "image_url", "operator": "NOT NULL" }
]
}