Product matching
Product matching is identifying the same product across retailers, even when titles, codes and photos differ, so prices and assortment can be compared. Zenrows collects the evidence a matcher needs (GTINs, model numbers, brand, pack size, specs, images) from protected retailer pages and returns it as structured fields per candidate.
Updated
{
"anchor": {
"sku": "INT-55021",
"brand": "Example Home",
"model": "EH-K17",
"gtin": "5012345678900",
"title": "Example Home 1.7L Kettle, Brushed Steel"
},
"candidates": [
{
"retailer": "retailer-a.example",
"url": "https://retailer-a.example/p/eh-k17",
"title": "Example Home Kettle 1.7 Litre Steel",
"gtin": "5012345678900",
"match": "exact_gtin"
},
{
"retailer": "retailer-b.example",
"url": "https://retailer-b.example/item/88123",
"title": "EH-K17 Electric Kettle 1.7L (Brushed)",
"gtin": null,
"model": "EH-K17",
"capacity_l": 1.7,
"match": "model_and_spec"
},
{
"retailer": "retailer-c.example",
"url": "https://retailer-c.example/dp/X7731",
"title": "Example Home Kettle Twin Pack",
"pack_size": 2,
"match": "rejected_pack_size"
}
]
}
What product matching is used for
Every cross-store price or range comparison rests on matching.
| Job | Data you collect | Typical sources |
|---|---|---|
| Competitor price comparison | GTIN, model, brand, size, current price | |
| Assortment overlap | Your SKUs each competitor carries or lacks | Category and search pages |
| Private-label equivalents | Closest store brand by size, ingredients, specs | |
| Comparison and affiliate sites | One card, many merchants' offers | Merchant pages, |
| Cross-border matching | Regional codes and titles | |
| Duty-free and travel retail | Brand SKUs under each shop's own codes | Airport e-shops, travel retail sites |
Why product matching data is hard to collect
Most errors are missing evidence: without the GTIN, matchers fall back on titles, where retailers differ most.
The GTIN sits in metadata or a script
Extract returns fields plus raw HTML, keeping markup identifiers
"6 x 330ml" matched to "330ml"
Separate CSS selector fields for size and quantity
Four colours, four codes, one page
Adaptive Stealth Mode renders until variant data loads
GTIN or model searches return a CAPTCHA
Zenrows' stealth gets through on search and product pages
Codes change by market
Geotargeting fetches each market's catalog locally
How to collect product matching data with Zenrows
- Start from identifiers: GTIN or model per retailer, then brand plus title.
- Keep the candidate URLs with a CSS selector links field.
- Fetch the candidates as JSON in Batch with Extract: identifiers, size, specs, price.
- Match in order of strength: GTIN, then model plus specs, then review or a model.
# pip install requests
import json
import requests
GTIN = "5012345678900" # from your own catalog
# Example selectors: match them to each retailer's search results page
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": f"https://retailer-a.example/search?q={GTIN}",
"mode": "auto",
"css_extractor": json.dumps({
"titles": ".product-card .title",
"links": ".product-card a @href",
}),
}
results = requests.get("https://api.zenrows.com/v1/", params=params).json()
candidates = results["links"][:5]
print(candidates)curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "regular",
"status": "closed",
"zenrows_params": { "mode": "auto", "extract": "auto" },
"tasks": [
{ "url": "CANDIDATE_URL_1", "external_id": "INT-55021:retailer-a" },
{ "url": "CANDIDATE_URL_2", "external_id": "INT-55021:retailer-b" }
]
}'npx -y @zenrows/cli init
# Candidate links from a retailer's search results for one GTIN
zenrows extract "https://retailer-a.example/search?q=5012345678900" \
--css '{"titles":".product-card .title","links":".product-card a @href"}'
# candidates.jsonl: one {"url": "...", "external_id": "SKU:retailer"} per line
zenrows batch create candidates.jsonl --wait
zenrows batch results <job-id> --out candidates-results.jsonl# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
# Then ask:
Use Zenrows to open this Currys product page and this Argos product page. Compare
brand, model number, capacity, pack size and colour, and tell me whether they are
the same product. Quote the field that decides it.Which Zenrows product fits
- Search a retailer by GTIN or model FetchCSS selectors return titles and links
- Get identifiers and specs across many retailers ExtractOne schema-free request per page
- Check a whole catalog's candidates at once BatchThousands per job, your SKU as external ID
- Resolve the hard pairs with a model MCP ServerAn agent fetches and compares both pages
What success looks like
| Measure | What good looks like | How to check it |
|---|---|---|
| Match coverage | Most SKUs matched wherever stocked | SKUs with a match, per retailer |
| Match precision | Matches share product, size and pack | Weekly review of a random sample |
| Identifier capture | A GTIN or model on most candidate pages | Empty identifier fields per retailer |
| Time to match | New listings matched within one cycle | First seen to matched |
| Rematch rate | Matches survive URL changes and relistings | Matches lost between runs, and why |
Product matching FAQ
-
Linking one product's listings across stores to one record. Titles, codes and images differ, so a matcher compares identifiers (GTIN, brand, model number), then attributes (size, colour, pack count), enabling item-level price, assortment and availability comparison.
-
Rules plus a model: code accepts exact identifier matches; a model judges the rest from titles, specs and sometimes images, with a reason. Feed it structured fields and clean text, not raw HTML.
-
It is often in structured data or scripts, which Extract and raw HTML surface. Otherwise match on brand plus model, confirmed by two or three specs: capacity, pack size, wattage.
-
Geotargeting fetches each market locally: catalog, currency, titles. GTINs often hold across regions while retailer codes change, so key on GTIN or manufacturer model; translate titles only as fallback.
-
Less often than prices: when a URL stops resolving, an identifier changes or a product is relisted. Search weekly for newly added products.
-
Matching decides two listings are one item. Mapping stores the result: each SKU's URL and code at every competitor, kept current. Pricing, assortment and MAP teams query the map; matching runs for new or broken entries.
-
Search each retailer by GTIN (many index barcodes), fetch top results, and accept only an exact page GTIN. Google Shopping helps when a retailer's search returns nothing.