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.

Affiliate.com Animals & Pet Supplies API graphic

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.

ControlWhat it adds to the request
Petname LIKE a short list of keyword phrases for that pet, such as dog food, dog bed or dog collar
In stock, USD, imageavailability = InStock, currency = USD and image_url NOT NULL
final_price, sale_discountA numeric criterion with one of the operators the API accepts for those fields: <, <=, >, >=, = or BETWEEN (two values joined as min|max)
on_saleon_sale = true
merchant.namemerchant.name LIKE the merchant you picked
sort_by, sort_ordersort_by can be relevance, final_price, regular_price, sale_discount or name, and sort_order is asc or desc. Sort order is ignored when sorting by relevance

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.

PetPhrases the demo searches
Dogsdog food, dog bed, dog toy, dog collar, dog leash, dog harness, dog treats
Catscat food, cat litter, cat tree, cat toy, cat bed, cat collar, cat scratcher
Fish & Aquaticaquarium, fish tank, fish food, aquarium filter
Birdsbird cage, bird feeder, parrot, bird perch, bird food
Small animalsrabbit hutch, hamster, guinea pig, rabbit food, ferret, small animal
Reptilesreptile, terrarium, bearded dragon, gecko, tortoise

Fields worth building on

FieldWhat it gives you
name, brandThe listing title and brand as the merchant publishes them.
regular_price, final_price, sale_discountThe full price, the price a shopper pays now, and the discount. All three can be used as filters.
availabilityInStock, OutOfStock or Unknown. Filtering on InStock keeps unavailable items off the page.
image_urlThe product image the merchant supplies. A NOT NULL filter on it keeps image-less listings out of a grid.
merchant.name, network.nameThe retailer and the affiliate network the listing comes from.
categoryThe merchant’s own category text. Labels differ between merchants, so this article filters by keyword instead.

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.

StepWhat to do
1. Get a keyRequest an API key from Affiliate.com. Every request sends it as a Bearer token in the Authorization header, which is why the demo above never needs one.
2. Send a searchPOST a search array to https://api.affiliate.com/v1/products. Begin with a keyword phrase for your pet, then add availability, currency and price filters until the results look right.
3. Read the recordsEach result carries the name, price, availability, image and merchant. Show the fields you need and keep the time you fetched them, so a page can say how fresh its prices are.

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 API call
Find pet supplies in one API call
  • ✓One request searches merchants across affiliate networks
  • ✓Prices, discounts and availability on every result
  • ✓In-stock, US-dollar listings filtered in the request itself
Get API access →
Request
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" }
  ]
}