Every Shops route, with a ready call for each route and each filter, then every field and value. To start, see the Shops quick start; for the order of the reads and when the data is refreshed, see Read your data each day.
Each call is shown in curl, JavaScript and Python. Replace <YOUR_API_KEY> with your read key (make one). Every route is a read: nothing here changes your data.
Routes
| Route | What you get | What you do with it |
|---|---|---|
GET /api/shops/summary |
The counts of the latest check, and the brands Trawl does not read yet | See if today's check is done, and how your catalog stands |
GET /api/shops/sales |
Your sales, each with its handle and its counts |
Take a sale's handle to read only that sale |
GET /api/shops/matches |
One row per variant of yours: your price, the brand's price, the verdicts | Find the crossed-out prices above the brand's, and the pages where the brand tells more |
GET /api/shops/matches/:id |
One match in full, with both product pages side by side | See why a verdict was given |
GET /api/shops/fixes |
The text to add to your own product page, copied from the brand's page; one entry per product page of yours | Paste the lines on your product pages |
GET /api/shops/lookup |
Which brand product one of your rows is, and how sure | Check a row before a sale, even one not in your catalog |
POST /api/shops/lookup |
The same, for up to 500 rows in one call | Check the rows of a whole sale at once |
Every filter of /api/shops/matches and /api/shops/fixes is optional: with no filter, you get every entry, a page at a time (Paging). The lookup is the one route with a required value: vendor.
Where each value comes from
| Value | Where it comes from |
|---|---|
A sale handle (sale=) |
handle of a sale in GET /api/shops/sales, or catalog.sale.handle of a matches row |
A product id (productId=, search=) |
productId of a matches row: the product's id in your own catalog |
A match id (/api/shops/matches/:id) |
id of a matches row |
A brand (vendor=) |
The brand as your catalog names it: vendor of a matches row |
A SKU or a barcode (search=) |
catalog.sku or catalog.barcode of a matches row, or your own catalog |
A date (since=) |
The time of your last read, as an ISO date (2026-11-21T00:00:00.000Z) |
Summary
GET /api/shops/summary gives the counts of the latest check (the daily comparison of your catalog with the brands) and the brands Trawl does not read yet. It takes no parameter. checkedAt is when the latest check started writing: see Read your data each day before you read after it. The kpi blocks are in Summary counts.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/summary" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop summary",
"data": {
"variants": 7, "products": 4, "byStatus": { "not_found": 5, "ok": 1, "too_high": 1 }, "matched": 2, "tooHighGap": 30,
"notCovered": [ { "vendor": "Southmere", "variants": 4 } ],
"byVendor": [
{ "vendor": "Northfold", "too_high": 1, "ok": 1, "not_found": 1, "name_only": 0, "not_comparable": 0 },
{ "vendor": "Southmere", "too_high": 0, "ok": 0, "not_found": 4, "name_only": 0, "not_comparable": 0 }
],
"checkedAt": "2026-11-21T05:42:00.000Z",
"kpi": { "brands": { "…": "…" }, "products": { "…": "…" }, "price": { "…": "…" }, "listing": { "…": "…" } }
}
}Sales
GET /api/shops/sales lists your sales: first the ones on your home page, in its order (position, 0 = first), then the ones off the home (position: null), latest start first. Each has its kpi, the same blocks as the summary's (Summary counts). A sale is listed once it has matches. It takes no parameter. Take a sale's handle for the sale= filter.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/sales" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop sales",
"data": [
{
"handle": "northfold-winter", "title": "Northfold", "image": "https://your-shop.example/cdn/northfold.jpg",
"startAt": "2026-11-19T07:00:00.000Z", "endAt": "2026-12-01T22:59:00.000Z", "discountLabel": "Up to -50%", "position": 0,
"kpi": { "brands": { "…": "…" }, "products": { "…": "…" }, "price": { "…": "…" }, "listing": { "…": "…" } }
}
]
}All matches
GET /api/shops/matches gives one row per variant of yours that has a crossed-out price: your price, the brand's, the price verdict (status), the page verdict (listing) and how sure the match is (confidence). Biggest gap first. Every parameter is optional: with none, you get every match of your organization, 50 a page. Each row's fields are in Match fields.
| Parameter | Values |
|---|---|
status |
One of the statuses |
listing |
One of the page verdicts |
confidence |
high, medium or low (How sure is a match). With group=product, a product lists only its variants at that level |
matchedBy |
How the match was made, one of the proofs in How a match is made (barcode, sku, … photo_a, photo_b). Also applies with group=product, and with format=csv |
cheaper |
true: only what is cheaper at the brand |
sale |
A sale handle |
vendor |
One brand, as your catalog names it (120 characters at most). Accents, case and spaces aside: hermes also keeps Hermès and HERMES. A brand with no row gives an empty data and total: 0 |
search |
A catalog product id, a SKU or a barcode |
sort |
gap (default): biggest gap first. impact: too high first, then pages where the brand tells more, then the rest |
group |
product: one row per catalog product, with its variants |
include |
pages: adds the brand page to each product row. Needs group=product. With format=csv it is a 422 |
page, perPage |
Page from 0; perPage from 1 to 200, default 50. Above 200 is a 422. See Paging |
format |
csv: every match of the filter, unpaged, always one row per variant. With group=product or include it is a 422: drop them. See CSV |
A value outside the list is a 422 that names the allowed values. An empty, too long or repeated vendor is a 422 that names vendor. The filters combine: each one you add keeps fewer rows.
The answer: The page in data, and in total how many rows the filter holds across all pages (trimmed).
curl "https://api.trawl.me/api/shops/matches" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop match list",
"data": [
{
"id": "6b016da5d4c1b956208bcc84", "productId": "8841203", "vendor": "Northfold", "status": "too_high", "matchedBy": "barcode", "confidence": "high",
"catalog": { "title": "Merino crew sweater", "variantTitle": "M", "sku": "NF-CREW-M", "price": 69, "crossed": 150, "…": "…" },
"brand": { "name": "Northfold", "price": 120, "full": 120, "url": "https://northfold.example/crew", "…": "…" },
"gap": 30, "gapPct": 25, "listing": "brand_better", "…": "…"
}
],
"total": 132
}Matches of one sale
sale= keeps the matches of one sale. The handle is a sale's handle from Sales.
The answer: Only rows whose catalog.sale.handle is that handle (trimmed).
curl "https://api.trawl.me/api/shops/matches?sale=northfold-winter" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "catalog": { "sale": { "handle": "northfold-winter", "…": "…" }, "…": "…" }, "…": "…" } ], "total": 48 }curl "https://api.trawl.me/api/shops/matches?vendor=Northfold" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "vendor": "Northfold", "…": "…" } ], "total": 12 }Only the prices above the brand's
status= keeps one price verdict. too_high: your crossed-out price is more than €1 above the brand's full price. The other values are in Statuses.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/matches?status=too_high" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "status": "too_high", "gap": 30, "gapPct": 25, "…": "…" } ], "total": 7 }Only the pages where the brand tells more
listing= keeps one page verdict. brand_better: the brand's page tells the buyer more than yours, and its lines are in Fixes. The other values are in Page verdicts.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/matches?listing=brand_better" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "listing": "brand_better", "…": "…" } ], "total": 41 }Only the sure matches
confidence= keeps one level: high, medium or low (How sure is a match).
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/matches?confidence=high" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "matchedBy": "barcode", "confidence": "high", "…": "…" } ], "total": 90 }Only one kind of proof
matchedBy= keeps the matches made by one proof, for example the photo matches (photo_a) to check them by eye. The values are in How a match is made.
The answer: A photo match has no price verdict (trimmed).
curl "https://api.trawl.me/api/shops/matches?matchedBy=photo_a" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841990", "status": "not_found", "reason": "not_at_brand", "matchedBy": "photo_a", "confidence": "low", "…": "…" } ], "total": 3 }Only what is cheaper at the brand
cheaper=true keeps the rows the brand sells below your sale price (Cheaper at the brand). true is the one value.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/matches?cheaper=true" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "brandCheaper": { "gapEur": 9, "gapPct": 13, "seenAt": "2026-11-18T04:10:00.000Z" }, "…": "…" } ], "total": 5 }curl "https://api.trawl.me/api/shops/matches?search=8841203" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "catalog": { "variantTitle": "M", "…": "…" }, "…": "…" }, { "productId": "8841203", "catalog": { "variantTitle": "L", "…": "…" }, "…": "…" } ], "total": 2 }curl "https://api.trawl.me/api/shops/matches?sort=impact" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "status": "too_high", "listing": "brand_better", "…": "…" } ], "total": 132 }curl "https://api.trawl.me/api/shops/matches?vendor=Northfold&sale=northfold-winter&status=too_high" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "vendor": "Northfold", "status": "too_high", "…": "…" } ], "total": 12 }One row per product, with its brand page
group=product gives one row per product of yours, with its variants; the product's confidence is the lowest of its variants'. include=pages adds the brand page (pages.brand), and needs group=product. The variants of a product row carry no price or verdict: those are on the rows without group.
The answer: pages.brand is null until the brand page is read (trimmed).
curl "https://api.trawl.me/api/shops/matches?group=product&include=pages" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop match list",
"data": [
{
"productId": "8841203", "confidence": "medium",
"variants": [
{ "id": "4410", "variantTitle": "M", "sku": "NF-CREW-M", "barcode": "3700000000013", "confidence": "high" },
{ "id": "4411", "variantTitle": "L", "sku": "NF-CREW-L-2", "barcode": null, "confidence": "medium" }
],
"pages": { "brand": { "readable": true, "gallery": [ "…" ], "description": "…", "factList": [ "…" ], "sectionTexts": { "care": "…" }, "text": "…" } },
"…": "…"
}
],
"total": 64
}Paging
A JSON answer of /api/shops/matches or /api/shops/fixes holds the page in data (a list) and total: how many rows the same filter holds across all pages (matches; products with group=product; entries for /fixes). page starts at 0. Read page=0, page=1… and stop when (page + 1) * perPage >= total. A page past the end is an empty data with the same total.
The answer: With a total of 320, this second page is the last one ((1 + 1) * 200 >= 320) (trimmed).
curl "https://api.trawl.me/api/shops/matches?sale=northfold-winter&perPage=200&page=1" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop match list", "data": [ { "productId": "8841203", "…": "…" } ], "total": 320 }One match in full
GET /api/shops/matches/:id gives one match, with both product pages side by side. The id is the id of a matches row. It adds pages (the two product pages), listingPoints (why the page verdict), fixes (the pair's fix list) and brandHistory (the brand's price over time): see Match fields. A match that is not yours is a 404.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/matches/6b016da5d4c1b956208bcc84" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop match",
"data": {
"id": "6b016da5d4c1b956208bcc84", "productId": "8841203", "status": "too_high", "listing": "brand_better", "…": "…",
"pages": { "catalog": { "readable": true, "…": "…" }, "brand": { "readable": true, "…": "…" } },
"listingPoints": { "sections": 1, "photos": 2, "resolution": 1, "facts": 1, "fixes": 3, "keyFacts": 2, "total": 8 },
"fixes": {
"at": "2026-11-21T09:12:00.000Z", "catalogUrl": "https://your-shop.example/products/merino-crew-sweater", "brandUrl": "https://northfold.example/crew",
"items": [ { "kind": "missing_info", "label": "Hand wash cold, dry flat.", "brandQuote": "Hand wash cold. Dry flat.", "section": "Care", "priority": "high", "…": "…" } ],
"photos": [ "https://northfold.example/crew-back.jpg" ]
},
"brandHistory": { "since": "2026-11-06T04:10:00.000Z", "full": false, "lowest": { "price": 120, "at": "2026-11-06T04:10:00.000Z" }, "change": null }
}
}Fixes
GET /api/shops/fixes gives the text to add to your own product page, copied from the brand's page: one entry per product page of yours (a rare product with two brand pages has one entry for each), with the lines to add, the most important first. Entries come oldest list first. Every parameter is optional: with none, you get every entry, 50 a page.
| Parameter | Values |
|---|---|
since |
An ISO date: only the lists made since then |
productId |
One product of yours: productId of a matches row |
sale |
A sale handle: only the entries of that sale |
vendor |
One brand, as on the matches query |
confidence |
high, medium or low: only the entries at that level (an entry's level is its least sure variant's), with all their variants |
page, perPage |
As on the matches query (Paging) |
format |
csv: one row per line to add, unpaged (CSV) |
A since that is not a date, a confidence outside the list, or an empty, too long or repeated vendor is a 422.
The answer: Example values.
| Entry field | Meaning |
|---|---|
productId, handle, url, title, vendor |
Your product page |
brandUrl |
The brand's page the lines come from |
at |
When the list was made (what since filters on) |
confidence |
The least sure level of its variants (see How sure is a match) |
variants |
Your variants on this page: variantId, sku, barcode, and each one's confidence |
changes |
The lines, the most important first |
| Change field | Meaning |
|---|---|
kind |
conflict (the two pages say different things about the same part and fact; never when the brand page also says your words or value; a « may » on the brand page counts only against a firm opposite on yours about the same fact), missing_info (only the brand says it; never when your page already gives the brand's words), longer_description (the brand describes it at more length), missing_photo (a photo only the brand shows) |
priority |
high, medium or low: see Priority |
section |
The part of the page it belongs to, or null (no field on a missing_photo) |
line |
The text to paste, in your page's language |
source |
The brand's own words |
current |
Your words, for a conflict only |
why |
A short reason, in your page's language |
url |
The photo, for missing_photo |
GET /api/shops/matches/:id gives the same list under fixes, in its stored names: items (kind, label = line, brandQuote = source, shopQuote = current, why, section, priority, the most important first) and photos (the missing photos' addresses).
Priority
| Priority | Means |
|---|---|
high |
A conflict, or a missing fact about the composition or materials, the dimensions, measures, weight or capacity, the origin, or the care |
medium |
Any other missing fact |
low |
A longer description, or a missing photo |
The changes come high first, then medium, then low; inside a level they keep their order. The priority is worked out when you read, from the line's words and its section: nothing is stored, and the same line always gets the same priority.
curl "https://api.trawl.me/api/shops/fixes" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shop fixes",
"data": [
{
"productId": "8841203",
"handle": "merino-crew-sweater",
"url": "https://your-shop.example/products/merino-crew-sweater",
"title": "Merino crew sweater",
"vendor": "Northfold",
"brandUrl": "https://northfold.example/crew",
"at": "2026-11-21T09:12:00.000Z",
"confidence": "medium",
"variants": [
{ "variantId": "4410", "sku": "NF-CREW-M", "barcode": "3700000000013", "confidence": "high" },
{ "variantId": "4411", "sku": "NF-CREW-L-2", "barcode": null, "confidence": "medium" }
],
"changes": [
{ "kind": "missing_info", "section": "Care", "line": "Hand wash cold, dry flat.", "source": "Hand wash cold. Dry flat.", "current": null, "why": "Care is only on the brand page", "priority": "high" },
{ "kind": "conflict", "section": "Composition", "line": "Composition: 100% merino wool.", "source": "100% merino wool", "current": "80% wool, 20% polyamide", "why": "The two pages give another composition", "priority": "high" },
{ "kind": "missing_info", "section": "Description", "line": "Ribbed collar and cuffs.", "source": "Ribbed collar and cuffs", "current": null, "why": "A detail only the brand gives", "priority": "medium" },
{ "kind": "missing_photo", "url": "https://northfold.example/crew-back.jpg", "priority": "low" }
]
}
],
"total": 1
}curl "https://api.trawl.me/api/shops/fixes?since=2026-11-21T00:00:00.000Z" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841203", "at": "2026-11-21T09:12:00.000Z", "changes": [ "…" ], "…": "…" } ], "total": 14 }curl "https://api.trawl.me/api/shops/fixes?productId=8841203" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841203", "brandUrl": "https://northfold.example/crew", "changes": [ "…" ], "…": "…" } ], "total": 1 }Fixes of one sale
sale= keeps the entries of one sale. The handle is a sale's handle from Sales.
The answer: Trimmed.
curl "https://api.trawl.me/api/shops/fixes?sale=northfold-winter" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841203", "vendor": "Northfold", "changes": [ "…" ], "…": "…" } ], "total": 23 }curl "https://api.trawl.me/api/shops/fixes?vendor=Northfold" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841203", "vendor": "Northfold", "changes": [ "…" ], "…": "…" } ], "total": 3 }curl "https://api.trawl.me/api/shops/fixes?vendor=Northfold&sale=northfold-winter" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841203", "vendor": "Northfold", "changes": [ "…" ], "…": "…" } ], "total": 3 }curl "https://api.trawl.me/api/shops/fixes?confidence=high" \
-H "Authorization: Bearer <YOUR_API_KEY>"{ "type": "success", "message": "shop fixes", "data": [ { "productId": "8841207", "confidence": "high", "variants": [ { "variantId": "4420", "confidence": "high", "…": "…" } ], "changes": [ "…" ], "…": "…" } ], "total": 9 }Look up one row
GET /api/shops/lookup takes one row of yours, for example a product of a sale you are planning, and says which brand product it is, how it matched and how sure. It is a read: your row is not stored, and it does not need to be in your catalog.
vendor is required. Send it with sku, barcode or title, at least one of the three.
| Parameter | Values |
|---|---|
vendor |
Required. The brand, as your catalog names it (120 characters at most) |
sku |
Your SKU (80 at most) |
barcode |
Your barcode (32 at most) |
title |
Your product title (300 at most) |
variant |
Your variant title: size, colour (120 at most) |
Send all you have: the strongest proof is tried first (How a match is made). No URL and no price: any other parameter is a 422 that names it. No vendor, or none of sku, barcode and title, is a 422 too.
The answer:
| Field | Means |
|---|---|
vendor |
The vendor you sent |
brand |
name: the brand as Trawl knows it, null when Trawl does not know it. read: whether Trawl reads its site. reason, when it does not: not_covered (not read yet), wall (its site blocks us), not_checkable, no_store (nothing to compare), no_items (nothing usable read yet). noted, only when reason is not_covered: true when your request for this brand was noted |
matchedBy |
The proof, as on a match (How a match is made); null: no brand product |
confidence |
As on a match (How sure is a match), except that no price is compared: high and medium mean a pair a price check could judge |
reason |
Why there is no sure pair, from the reasons (not_at_brand, match_missed, no_ref, name_only, brand_gone, other_product…); brand_not_covered when the brand is not read (see brand.reason); null when there is a sure pair |
doubts |
Why a match on a reference may still be another product (the two titles share no word, their product types differ, the barcodes differ). Any doubt makes it low |
product |
The brand product, as brand on a match, without full. gone: true: the brand no longer sells it. null: none found |
There is no price verdict here: no status, no gap. Your crossed-out price is not sent, so nothing says too high or not. One row per call; for many rows, see Look up many rows. A lookup reads the whole brand, so lookups have their own limit: 3 a minute per key owner, GET and POST together, and each one also counts in the 120 requests a minute. Past it: 429, wait for RateLimit-Reset.
curl "https://api.trawl.me/api/shops/lookup?vendor=Northfold&barcode=3700000000013&title=Crew%20Sweater&variant=M" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shops lookup",
"data": {
"vendor": "Northfold",
"brand": { "name": "Northfold", "read": true, "reason": null },
"matchedBy": "barcode",
"confidence": "high",
"reason": null,
"doubts": [],
"product": {
"name": "Northfold", "title": "Crew Sweater", "variantTitle": "M", "sku": "NF-CREW-M", "barcode": "3700000000013",
"url": "https://northfold.example/products/crew-sweater", "image": null, "price": 120, "compareAt": 150,
"currency": "EUR", "seenAt": "2026-11-21T05:42:00.000Z", "gone": false, "available": true, "listing": null
}
}
}A brand Trawl does not read
A row of a brand Trawl does not read answers brand.read: false, its brand.reason, and the row reason brand_not_covered, with no product. When the brand is not read yet (brand.reason is not_covered: a brand Trawl does not know, or one it knows but does not read yet), the answer also has brand.noted: true when your request for this brand was noted. For the other reasons (wall, not_checkable, no_store, no_items) there is no noted.
The answer:
curl "https://api.trawl.me/api/shops/lookup?vendor=Southmere&sku=SM-1042&title=Wool%20Coat" \
-H "Authorization: Bearer <YOUR_API_KEY>"{
"type": "success",
"message": "shops lookup",
"data": {
"vendor": "Southmere",
"brand": { "name": null, "read": false, "reason": "not_covered", "noted": true },
"matchedBy": null,
"confidence": null,
"reason": "brand_not_covered",
"doubts": [],
"product": null
}
}Look up many rows
POST /api/shops/lookup takes the rows of a whole sale in one call. The body is { "rows": [...] }, each row with the same fields and limits as the GET parameters: vendor required in each row, and sku, barcode or title. The answer is one entry per row, in the order you sent them, each as the GET answers it, brand.noted included. It only reads.
The answer: Trimmed.
| Cap | Past it |
|---|---|
| 500 rows a call | 422 |
20 different brands a call (vendor, accents, case and spaces aside) |
422 |
| 400 kB of body | 413 |
3 lookups a minute per key owner, GET and POST together |
429 |
A row the GET would refuse refuses the whole call: a 422 whose description names the row, from 0 (rows.3: unknown parameter: url). A call counts once, whatever its rows, and a refused call (422) counts too: once in the 3 lookups a minute and once in the 120 requests a minute of the key's owner. A whole catalog of 5,000 rows is 10 calls: send them about 20 seconds apart. A key with trawl:shops:read may send it: it is the one POST under /api/shops such a key may make, and it writes nothing.
curl -X POST "https://api.trawl.me/api/shops/lookup" \
-H "Authorization: Bearer <YOUR_API_KEY>" -H "Content-Type: application/json" \
-d '{ "rows": [
{ "vendor": "Northfold", "barcode": "3700000000013", "title": "Crew Sweater", "variant": "M" },
{ "vendor": "Northfold", "sku": "NF-SCARF", "title": "Linen Scarf" }
] }'{ "type": "success", "message": "shops lookup", "data": [ { "vendor": "Northfold", "matchedBy": "barcode", "confidence": "high", "…": "…" }, { "vendor": "Northfold", "matchedBy": null, "reason": "not_at_brand", "…": "…" } ] }Summary counts
summary.kpi and each sale's kpi (on GET /api/shops/sales) hold the same blocks. All are counted per product, a product once by its best variant, except price.judged and price.tooHigh, which count variants.
| Block | Fields |
|---|---|
brands |
onSale; comparable (on sale, minus the brands with nothing to compare); covered (read, with usable products); lost.notComparable and lost.notRead: counts by reason (no_store, not_checkable, wall, no_items, not_covered); rows (summary only): per brand vendor, products, matched, tooHigh, covered, comparable, reason |
products |
onSale; matched (judged: ok or too_high); lost: brandNotComparable, brandNotRead, notFound (split into notAtBrand, matchMissed, noRef), notComparable, variantUnclear |
price |
judged and tooHigh (variants); tooHighPct; tooHighProducts; gap (in euros, each product once, at its biggest gap); medianDiscount (in percent); judgedProducts; brandCheaperProducts (summary only) |
listing |
rated; brandBetter; brandBetterPct; lost: notReadYet, unreadable |
summary.notCovered lists the brands Trawl does not read yet: [{ vendor, variants }], variants being how many of your variants on sale they hold.
Match fields
| Field | Meaning |
|---|---|
id |
This match, for GET /api/shops/matches/:id. _id holds the same value. |
organizationId |
Your organization |
variantKey |
Stable id of this variant, the key to load on |
productId, vendor |
Your catalog product and its brand |
status, reason |
The price verdict, and why there is none when there is none |
matchedBy |
The proof that tied your product to the brand's, or the photo proof photo_a or photo_b (see How a match is made) |
confidence |
How sure we are: high, medium, low or null (see How sure is a match) |
catalog |
Your side: title, variantTitle, sku, barcode, url, price, crossed (your crossed-out price), currency, seenAt, sale, image, listing (your page, below) |
brand |
The brand's side: name, title, variantTitle, sku, barcode, url, image, price, compareAt, full, currency, seenAt, gone, available (false: sold out at the brand when read; no field: the brand's page does not say), listing (the brand's page, below) |
brandCheaper |
{ gapEur, gapPct, seenAt } when the brand sells below your price, else null (see Cheaper at the brand) |
gap, gapPct |
Your crossed-out price minus the brand's full price, in euros and in percent of the brand's full price |
listing |
The page verdict. Not to be confused with catalog.listing and brand.listing, the summary of each page (below) |
firstTooHighAt |
When the price first turned too high |
sameCheck |
For a reference match that looked doubtful, Pinch's answer to « is it the same product? »: { at, catalogUrl, brandUrl, same }, same being yes, no or unsure (unsure makes the match low). null: no doubt, or not asked yet |
checkedAt |
The check that wrote this match |
catalog.listing and brand.listing sum up each product page: readable, photos (how many), photoSide (the photos' usual size, in pixels), chars (the length of its text), facts, sections (the titles found) and hasText (its full text was read). null: the page is not read yet.
The list leaves out the fix lines, with group=product too: no row has a fixes field. Read them from /api/shops/fixes (per product) or GET /api/shops/matches/:id (per match).
GET /api/shops/matches/:id adds pages (the two product pages; the list carries the brand side with include=pages), listingPoints (why the page verdict), fixes (the pair's fix list) and brandHistory (the brand's price as we read it over time, below). A page's sectionTexts holds the texts found, by subject: for example composition, specs, care, sizing, origin. A brand's page may have other keys or none.
brandHistory is the price the brand charged for the matched variant, as we read it (never its crossed-out price):
| Field | Meaning |
|---|---|
since |
The start of the history we have: 2026-11-06, or the first time we read this price when later |
full |
true when since is 30 days ago or more |
lowest |
{ price, at }: the lowest price seen since since, over the last 30 days at most. at is the first read of that price inside the window; when it was already the price as the window opens, the last read before it, but never earlier than since |
change |
{ from, to, at }: the last price change seen after since, by the price-difference threshold (1 € today) or more, else null. at is when we read the new price |
Each date is when we read the value, not when the brand set it: we read a brand's site about every 5 days while it is on sale (once its last read is over 5 days old) and about once a month otherwise, so a price can have changed some days before. brandHistory is null when we have no price history for that variant: the brand's site is not read, more than one brand product names the variant, or, at times, the variant is known by its barcode only. It also reads a product the brand no longer sells, up to the last time we saw it.
How a match is made
Three words first:
- A check is Trawl's comparison of your catalog with the brands' sites: each morning, and again after a brand is read.
- A proof is what ties one of your variants to a brand product: a barcode, a reference, a name or a photo.
matchedBynames it. - A pair is your variant and the brand product the proof tied it to.
At each check, Trawl looks for each of your variants on the brand's site, with the strongest proof first:
- Barcode (
barcode): your barcode is on the brand product. When your barcode is on one option of the brand product and your SKU is the exact reference of another option of it, the SKU's option is the match (sku). - Reference: your SKU leads to the brand product.
sku: the same SKU.sku-stem,sku-seg: its stem, or a segment of it.sku-size: your SKU with your size glued to its end.sku-within: your SKU inside a longer brand reference.sku-model: a SKU « model-colour-size » with a short model number (310-ROSE-S) takes the brand product of that model (its reference, or a page address that starts with it) and its one option of your colour and size. None or several: no pair.- A SKU led by an article code (
B1459-MARINE-S/M) also takes a brand option that carries no reference of its own (no SKU, no barcode), of your colour and size, on the brand product named after that code, or on the page whose other colours carry that code as their SKU. sku-handle: when neither your SKU nor your barcode leads anywhere, a brand SKU that ends your product page address (kway-k2132xw-usy→K2132XW-USY) takes its one option of your size on its one brand page. That SKU names the colour: a page of one colour pairs whatever words each side uses for it, and a variant that names its colour must name the brand option's.- A shortened reference that leads to brand variants of your size naming a colour takes only the one of your colour. None of your colour: no pair.
sku-other-size: the brand sells your article (your reference names it, same colour, a title word in common) but not in your size, and every size on its page has one price. Your variant is compared with that price. The brand side then shows no size (nor the SKU or barcode of another size) andavailable: false(your size is not sold there), so it never counts as cheaper at the brand. Prices that differ by size, or only one size to read the price from: no pair.
- Name, held by another fact: the same name with the same size (
name-size) or the same price (name-price). - Name alone (
name,name-fuzzy,name-model): shown to you, never judged. - Photo (
photo_a,photo_b): when no code and no name found the product, Trawl looks for it by its photos on the brand's site.photo_a: same model and colour.photo_b: same model, perhaps another colour. Shown to you, never judged: the row staysnot_found(itsreasonis the one the code search gave, oftennot_at_brand), itsconfidenceislow, it has nogap, no page verdict and no fixes, andbrand.fullisnull. Check it before you use it.
Only the first three give a price verdict. The brand's full price (brand.full) is the higher of its price and its crossed-out price (compareAt). One market and one currency (France, euros), never converted.
| Status | Means |
|---|---|
too_high |
Your crossed-out price is more than €1 above the brand's full price |
ok |
It is not |
not_found |
No product at the brand could be proven the same |
not_comparable |
The same product, but the two prices cannot be compared |
name_only |
Only a similar name was found |
| Reason | Means |
|---|---|
brand_not_covered |
Trawl does not read this brand's site yet |
not_at_brand |
No reference matched, and none of yours is anywhere in what we read of the brand: it does not sell this product. A photo match (photo_a, photo_b) can still show a brand product found by its photos on such a row |
match_missed |
No reference matched, but one of yours is in what we read of the brand (a barcode, or inside one of its SKUs): our match misses it |
no_ref |
No reference matched, and yours gives nothing to look up (no barcode, no SKU part that names an article, e.g. a bare model number) |
sku_not_on_site |
No reference matched on the brand's site (written before the three reasons above; the next check replaces it) |
name_only |
Only the name matched |
variant_unclear |
The brand's product matched, but not one of its variants for sure |
pack_mismatch |
The two sides sell a different quantity |
starting_price |
The brand shows a "from" or per-unit price (per 10 cm, per item) for a product you sell in one configuration, cut or pack |
second_hand |
The brand sells second-hand pieces, with no list price |
other_product |
A reference matched, but the two items did not look like the same product, and Pinch did not confirm they are. The same full, distinctive reference (with a number), name and option on both sides is the same product, whatever their barcodes |
brand_gone |
The brand no longer sells the item that matched: its last price proves nothing, so no price verdict. Its page comparison stays when the brand page was read before |
Cheaper at the brand
too_high compares your crossed-out price with the brand's full price. brandCheaper compares your sale price with the brand's current price. It adds no status: a row is ok or too_high and can be cheaper at the brand as well.
A row is cheaper at the brand when all of this holds:
- Its status is
okortoo_high, so a pack, a starting price or an item the brand no longer sells never counts. - The brand has a price, and is not sold out (
brand.availableis notfalse; no field counts, the page does not say). - Your price is more than €1 above the brand's, the same threshold as
too_high.
gapEur is the difference, gapPct its share of your price, and seenAt the date we read the brand's price: a promotion can have ended since. With group=product, a product is cheaper when one of its listed variants is, and its figure is the biggest gap. cheaper=true lists the same rows, and combines with the other filters.
How sure is a match
| Level | Means |
|---|---|
high |
Barcode or full reference, with a price verdict |
medium |
A shortened reference, with a price verdict. It can be another colour of the same model, or the same article in other sizes at one price (sku-other-size) |
low |
A name match, a match we could not confirm or judge, or a photo match: look before you use it |
null |
No candidate at the brand (no match) |
With group=product, each variant has its level and the product's confidence is the lowest of the variants listed. With the confidence filter, only the variants at that level are listed.
On /api/shops/fixes, each variant of an entry has its level, and the entry's confidence is the lowest of them: a fix list is as sure as its least sure variant. There, ?confidence= keeps the entries at that level, each with all its variants. A variant with no proof counts for nothing; an entry with none has null.
It is a level, not a percentage: you set your own rule for what reaches a product page. There is no stored review: keep your decisions on your side.
Page verdicts
Trawl also reads both product pages and says which one tells the buyer more:
| Verdict | Means |
|---|---|
brand_better |
The brand's page tells more. Its lines are in /api/shops/fixes |
same |
Both pages tell as much |
shop_better |
Your page tells more |
null |
One of the two pages is not read yet, or cannot be read |
listingPoints on GET /api/shops/matches/:id says why.
CSV
Add format=csv to /api/shops/matches or /api/shops/fixes to get a file for a spreadsheet. A CSV export is unpaged: it reads the whole filter, so filter it (sale, since) and keep to 5 exports a minute. On the matches, group and include are a 422 with format=csv.
Matches, one row per variant: product_id, vendor, status, reason, matched_by, title, variant, sku, barcode, price, crossed, url, brand, brand_title, brand_price, brand_compare_at, brand_full, brand_url, brand_seen_at, brand_gone, gap_eur, gap_pct, listing, too_high_since, checked_at, confidence, brand_available, cheaper_eur, cheaper_pct.
The answer: One row shown.
curl "https://api.trawl.me/api/shops/matches?sale=northfold-winter&format=csv" \
-H "Authorization: Bearer <YOUR_API_KEY>" -o matches.csv"product_id","vendor","status","reason","matched_by","title","variant","sku","barcode","price","crossed","url","brand","brand_title","brand_price","brand_compare_at","brand_full","brand_url","brand_seen_at","brand_gone","gap_eur","gap_pct","listing","too_high_since","checked_at","confidence","brand_available","cheaper_eur","cheaper_pct"
"8841203","Northfold","too_high","","barcode","Merino crew sweater","M","NF-CREW-M","3700000000013",69,150,"https://your-shop.example/products/merino-crew-sweater","Northfold","Crew sweater, merino",120,"",120,"https://northfold.example/crew","2026-11-18T04:10:00.000Z",false,30,25,"brand_better","2026-11-19T12:10:00.000Z","2026-11-21T05:42:00.000Z","high",true,"",""Fixes as CSV
Fixes, one row per change: product_id, handle, url, title, vendor, variant_ids, skus, barcodes, at, kind, section, line, source, current, why, photo_url, brand_url, confidence (the entry's), priority (the change's). variant_ids, skus and barcodes hold the entry's values, space-separated.
The answer: the rows of the entry in Fixes, in the order of its changes.
curl "https://api.trawl.me/api/shops/fixes?since=2026-11-21T00:00:00.000Z&format=csv" \
-H "Authorization: Bearer <YOUR_API_KEY>" -o fixes.csv"product_id","handle","url","title","vendor","variant_ids","skus","barcodes","at","kind","section","line","source","current","why","photo_url","brand_url","confidence","priority"
"8841203","merino-crew-sweater","https://your-shop.example/products/merino-crew-sweater","Merino crew sweater","Northfold","4410 4411","NF-CREW-M NF-CREW-L-2","3700000000013","2026-11-21T09:12:00.000Z","missing_info","Care","Hand wash cold, dry flat.","Hand wash cold. Dry flat.","","Care is only on the brand page","","https://northfold.example/crew","medium","high"
"8841203","merino-crew-sweater","https://your-shop.example/products/merino-crew-sweater","Merino crew sweater","Northfold","4410 4411","NF-CREW-M NF-CREW-L-2","3700000000013","2026-11-21T09:12:00.000Z","conflict","Composition","Composition: 100% merino wool.","100% merino wool","80% wool, 20% polyamide","The two pages give another composition","","https://northfold.example/crew","medium","high"
"8841203","merino-crew-sweater","https://your-shop.example/products/merino-crew-sweater","Merino crew sweater","Northfold","4410 4411","NF-CREW-M NF-CREW-L-2","3700000000013","2026-11-21T09:12:00.000Z","missing_info","Description","Ribbed collar and cuffs.","Ribbed collar and cuffs","","A detail only the brand gives","","https://northfold.example/crew","medium","medium"
"8841203","merino-crew-sweater","https://your-shop.example/products/merino-crew-sweater","Merino crew sweater","Northfold","4410 4411","NF-CREW-M NF-CREW-L-2","3700000000013","2026-11-21T09:12:00.000Z","missing_photo","","","","","","https://northfold.example/crew-back.jpg","https://northfold.example/crew","medium","low"Limits
| Limit | Value |
|---|---|
| Requests | 120 a minute per key owner, shared with that person's session in the web app. Beyond it: 429, wait for RateLimit-Reset |
| CSV exports | 5 a minute per key owner. Beyond it: 429 |
| Lookups | 3 a minute per key owner, GET and POST /api/shops/lookup together; up to 500 rows and 20 brands a call. Beyond it: 429 |
| Page size | perPage 1 to 200, default 50 |
| Section texts | sectionTexts stop at 300 characters each; text holds the whole page, up to 7,000 |
| Market | One market and one currency (France, euros), never converted |