Toys & Games Products API

An interactive demo of the Affiliate.com Products API for toys and games: pick a department, build filters with the real fields and operators, and see the request that returns the results.

Affiliate.com Toys & Games Products API graphic

Toy shoppers buy against a deadline. They want the set a child asked for, in stock, at a price that holds until the gift is wrapped, and the popular items sell out every holiday season. The Affiliate.com Products API lets a developer search the whole Toys & Games area across merchants and affiliate networks with one request, and get the same fields back for every result. This guide to the Toys & Games Products API shows what that looks like on live data, last pulled on November 23, 2026. It has an interactive demo you can change, the request behind every result, and notes on keeping a toy and game page accurate.

What counts as Toys & Games

In the current Shopify Standard Product Taxonomy, Toys & Games is one of the 26 top-level categories. It has five second-level groups, Game Timers, Games, Outdoor Play Equipment, Puzzles and Toys, with narrower categories beneath them for building toys, dolls, action figures, board games and more. The API does not filter on that taxonomy directly, so the searches in this article use keywords.

Who builds with a toy and game API

Toys and games suit an API because the buying is seasonal and the stock moves fast. A parenting blog that earns through affiliate links wants gift guides built from products that are available today. A deals page wants the sale price and the discount on every item in time for the holidays. A comparison page needs the same set from several retailers side by side.

A shopping assistant that gets asked for a gift for a six-year-old under a set price 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 weekly and last pulled on November 23, 2026. Pick a department 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
Departmentname LIKE a short list of keyword phrases for that department, such as lego set, board game or jigsaw puzzle
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

One criterion is always present: it limits results to listings that have an image. The fields list trims each result to what a product card needs.

The phrases behind each department

Each tab searches a short list of phrases joined with ||, which means any of them can match. Phrases such as lego set or jigsaw puzzle are more precise than a single word, and the list is easy to widen or narrow.

DepartmentPhrases the demo searches
Building setslego set, building blocks, magnetic tiles, model kit
Board gamesboard game, card game, chess set, party game
Puzzlesjigsaw puzzle, puzzle mat, 3d puzzle, brain teaser
Dolls & plushplush toy, doll house, action figure, barbie doll, stuffed animal
Outdoor playtrampoline, swing set, water gun, sandbox, kids scooter
Remote controlremote control car, rc helicopter, toy drone, toy train

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 toys and games with the same filters as the demo, in stock and in US dollars, the 100 results carried 46 different labels, such as “Toys > Games & Puzzles > Puzzles > Jigsaw Puzzles”, “Toys & Games > Puzzles > Jigsaw Puzzles”, “Action & Toy Figures” and, in two cases, a bare number and a web address slug rather than a label.

Searching by the words Toys & Games in that field has the opposite problem. The first 100 results came from only 3 merchants, 58 of them from one craft retailer, and none from Walmart, Etsy or Best Buy, which supplied 66 of the 100 results in the keyword search because they file their 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 “game” also matched novels, books and CDs in a test, so the demo searches for phrases such as board game, lego set and jigsaw puzzle instead.

{
  "per_page": 5,
  "search": [
    { "field": "name", "operator": "LIKE", "value": "lego set||board game||jigsaw puzzle||action figure" },
    { "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 department, 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 toy and game page current

Freshness is worth measuring rather than assuming. In a check on November 12, 2026, 99 of 100 toy and game records had been updated within the previous seven days, and 96 of them within the previous 24 hours. Walmart and Best Buy refresh within hours. The sample in this article is rebuilt every day, and the date near the top shows when it was last pulled.

Toys sell out, so a grid goes stale faster than most pages. The guide on planning holiday content with product data lists what to check before gift guide season, and how often product pages should be updated covers a sensible refresh schedule. For a page that saves a child’s picks, building wishlists and collections shows the pattern.

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 toys and games 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": "lego set||board game||jigsaw puzzle||action figure" },
    { "field": "availability", "operator": "=", "value": "InStock" },
    { "field": "currency", "operator": "=", "value": "USD" },
    { "field": "image_url", "operator": "NOT NULL" }
  ]
}