Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

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

Sample output: one product, three retailers
{
  "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"
    }
  ]
}
Illustrative: an exact identifier match, a model and capacity match, a two-pack rejected.

What product matching is used for

Every cross-store price or range comparison rests on matching.

JobData you collectTypical sources
Competitor price comparison GTIN, model, brand, size, current price Amazon, Walmart, Target, Best Buy, Currys, MediaMarkt
Assortment overlap Your SKUs each competitor carries or lacks Category and search pages
Private-label equivalents Closest store brand by size, ingredients, specs Tesco, Boots, Walgreens
Comparison and affiliate sites One card, many merchants' offers Merchant pages, Google Shopping offers
Cross-border matching Regional codes and titles Amazon .com, .co.uk, .de; local retailer sites
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.

What it looks like

The GTIN sits in metadata or a script

How Zenrows handles it

Extract returns fields plus raw HTML, keeping markup identifiers

How to collect product matching data with Zenrows

  1. Start from identifiers: GTIN or model per retailer, then brand plus title.
  2. Keep the candidate URLs with a CSS selector links field.
  3. Fetch the candidates as JSON in Batch with Extract: identifiers, size, specs, price.
  4. 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)

What success looks like

MeasureWhat good looks likeHow 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.

Turn the live web into usable data.