Electronics Products API
An interactive demo of the Affiliate.com Products API for electronics: pick a device type, build filters with the real fields and operators, and see the request that returns the results.
Electronics shoppers compare before they buy. They want the right cable length, the speaker that fits a budget or the monitor with the port they need, and the price changes often enough that an old number is wrong by the weekend. The Affiliate.com Products API lets a developer search the whole Electronics area across merchants and affiliate networks with one request, and get the same fields back for every result. This guide to the Electronics 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 consumer electronics page accurate.
What counts as Electronics
In the current Shopify Standard Product Taxonomy, Electronics is one of the 26 top-level categories and has 20 second-level groups, including Audio, Communications, Computers, Electronics Accessories, Networking, Video, Video Game Consoles and several GPS groups. Most catalogs that sell consumer electronics spread their products across those groups and across neighboring ones such as cell phone accessories. The API does not filter on that taxonomy directly, so the searches in this article use keywords.
Who builds with a consumer electronics API
Electronics suits an API because shoppers ask narrow questions and the answers expire quickly. A review site that earns through affiliate links needs prices and stock that are still true when a reader clicks. A deals page wants the sale price and the discount on every item, filtered to what is in stock. A comparison tool needs the same kind of product from several retailers side by side.
A shopping assistant that gets asked for a good pair of wireless earbuds 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 device type 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.
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 device type
Each tab searches a short list of phrases joined with ||, which means any of them can match. Phrases such as wireless earbuds or computer monitor 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 electronics products with the same filters as the demo, in stock and in US dollars, the 100 results carried 22 different labels, such as “Electronics > Audio > Portable Audio > Smart Speakers”, “Cell Phones > Cell Phone Accessories > Power & cables > Power Banks”, “Video Games > Video Game Accessories” and “Cell Phones & Accessories”, and some had no label at all.
Searching by the word Electronics in that field has the opposite problem. The first 100 results came from 13 merchants, but none from Walmart or Best Buy, which supplied 53 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 “monitor” also matched LPs, CDs, books and a software category in a test, so the demo searches for phrases such as computer monitor, usb c cable and smart plug instead.
{
"per_page": 5,
"search": [
{ "field": "name", "operator": "LIKE", "value": "wireless earbuds||bluetooth speaker||usb c cable||portable charger" },
{ "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 consumer electronics page current
Freshness is worth measuring rather than assuming. In a check on November 12, 2026, every one of 100 electronics records had been updated within the previous seven days, and 99 of them within the previous 24 hours. The largest retailers refresh within the hour. The sample in this article is rebuilt every day, and the date near the top shows when it was last pulled.
Electronics prices move often, so a product grid is only useful while its numbers are right. The guide on comparing regular price and final price shows how to tell a real discount from a list price nobody pays, and product price comparison sets covers showing the same product from several retailers. When two listings are the same product, searching by barcode, SKU, MPN and ID explains which identifier to match on.
If the search sits behind a chat assistant rather than a web page, the same catalog is available through the MCP server. MCP or REST explains how to choose between the two ways of connecting.
- ✓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": "wireless earbuds||bluetooth speaker||smart plug||usb c cable" },
{ "field": "availability", "operator": "=", "value": "InStock" },
{ "field": "currency", "operator": "=", "value": "USD" },
{ "field": "image_url", "operator": "NOT NULL" }
]
}