Look up products by identifier
Find what published sources say about a product from its GTIN, EAN, UPC, ISBN, ASIN, part number, stock code or page address. Every fact comes back with the source that states it, how sure the match is, and any disagreement between sources. Send one product or a batch of up to 500. Sources are your own catalogue, your connected Amazon store, the Open Food Facts database, a product page you point at, and a web search. Only a web search is charged, and an answer already found is served from cache at no cost. Add enrich to also write content from what was found. Small requests answer inline (200, or 207 when an item failed); larger ones return a job (202). Requires the enrichment:write scope.
AuthorizationBearer <API key>API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.
Idempotency-Key?stringMakes a retried batch return the same job instead of a second one.
length <= 255application/json- body
Send either one product (q, identifiers, hints, ref, product) or items. Unknown keys are refused.
ref?stringq?stringidentifiers?What you know about the product. Send any that you have. Barcodes are checked against their check digit, and every written form of one number (UPC, EAN, GTIN-14) is treated as the same product.
hints?market?stringDefault for every item.
locale?stringDefault for every item.
items?array<>1 <= items <= 500sources?array<>Use only these sources. Left out, every available source is used and a web search runs only when the free sources leave the product thin.
1 <= itemsexcludeSources?array<>fields?array<>1 <= itemsfreshness?minConfidence?numberFacts below this are left out of the merged product. They are still listed under facts.
0 <= value <= 10.6include?array<>Which sections of each result to return. Default: all.
1 <= itemsprojectId?stringstoreId?stringA connected store, for callers who address their project through one.
mode?stringsync accepts at most 10 items.
"sync""async"dryRun?booleanValidate the request, say which sources would run for each item and estimate the cost. Nothing is looked up or charged.
product?What you already hold for this product. Used when writing content with enrich: your fields win over what the lookup found, and it is the only way a price, stock level or rating can reach the copy.
enrich?Also write content from what was found. The copy is written only from the sourced facts and anything you send in product. Charged like POST /enrichment/content: one unit per product per content type that is written.
Looked up inline. A product that was not found is still a 200.
application/json- response
data?curl -X POST 'https://example.com/api/v1/enrichment/lookup' \ -H 'Content-Type: application/json' \ -d '{ "q": "4006381333931", "market": "GB"}'{ "data": { "operation": "lookup", "items": [ { "index": 0, "ref": "string", "status": "ok", "error": { "code": "string", "message": "string", "details": {} }, "warnings": [ { "code": "INVALID_IDENTIFIER", "field": "string", "value": "string", "reason": "empty", "usedAs": "asin" } ], "match": { "status": "matched", "confidence": 0, "identifiers": { "property1": "string", "property2": "string" }, "partial": true, "candidates": [ {} ] }, "product": { "title": "string", "brand": "string", "description": "string", "bullets": [ "string" ], "category": "string", "images": [ { "url": "string", "source": "string", "sourceUrl": "string", "licence": "string", "attribution": "string" } ], "gtin": "string", "mpn": "string", "asin": "string", "attributes": { "property1": { "value": null, "unit": "string" }, "property2": { "value": null, "unit": "string" } } }, "facts": [ { "field": "title", "name": "string", "value": null, "unit": "string", "source": "catalog", "provider": "open_food_facts", "url": "http://example.com", "retrievedAt": "2019-08-24T14:15:22Z", "matchMethod": "exact_gtin", "extraction": "structured", "confidence": 0, "verified": true, "licence": "ODbL 1.0", "attribution": "string" } ], "sources": [ { "id": "catalog", "status": "hit", "reason": "AMAZON_NOT_CONNECTED", "cached": true, "stale": true, "urls": [ "http://example.com" ], "attribution": { "source": "string", "provider": "string", "text": "string", "licence": "string", "url": "string" }, "retryAfterMs": 0 } ], "conflicts": [ {} ], "content": {}, "generation": { "status": "generated", "reason": "MATCH_NOT_FOUND", "units": [ { "type": "string", "status": "ok", "error": { "code": "string", "message": "string" } } ], "skippedContentTypes": [ "string" ] }, "usage": { "searchCalls": 0, "cacheHits": 0 } } ], "summary": { "total": 0, "matched": 0, "ambiguous": 0, "notFound": 0, "errors": 0, "searchCalls": 0, "cacheHits": 0, "generated": 0, "generationErrors": 0 }, "attributions": [ { "source": "string", "provider": "string", "text": "string", "licence": "string", "url": "string" } ] }}