/catalog/barcodeA UPC with its 2- or 5-digit add-on, an EAN-13 or an ISBN. The exact edition first, then what the series and the add-on suggest; signed-in callers also get Metron results. Signed out: 60 lookups a minute per network.
collector.lookupBarcode()If-None-MatchX-Request-IdcodestringrequiredThe digits under the bars.
6–40 characters
addonstringlimitinteger1–25
200OKThe barcode as read, and candidates.
object
304Not ModifiedNot modified: your copy (the ETag in If-None-Match) is current.
invalid_requestinvalid_barcode
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_barcode: Not a UPC, EAN or ISBN.
checksum_failed: The digits fail the barcode’s check digit.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).