# EAN/ASIN/UPC Barcode to Product Data Lookup

> EAN/ASIN/UPC Barcode to Product Data Lookup is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-02).

Resolves EAN, ASIN, UPC-A, EAN-8, EAN-13, or GTIN-14 barcodes to structured product data by searching public product pages.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/ean?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ean-asin-upc-barcode-to-product-data-lookup-34142f6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bm7ASRa9PoanFthLNpnjW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ean-asin-upc-barcode-to-product-data-lookup-34142f6b -d '<json body>'
```

Example prompt: Look up product details for these barcodes: 0012345678905, 5901234123457, and B08N5WRWNW — check up to 5 candidate pages per code and return the product title, URL, and barcode type for each one you can verify.

## When to prefer this

Use this endpoint when you need to resolve physical product barcodes (EAN, UPC, GTIN) or Amazon ASINs to structured product metadata by scraping public product pages. Prefer it over static barcode databases when you need live product page URLs and titles, especially for mixed barcode type lists. It is pay-per-successful-result, making it cost-effective for sparse or uncertain barcode sets.

## Known failure modes

- Barcode not found on any public product page — item returned with null fields
- Invalid or malformed barcode format — may return empty results
- maxCandidates limit too low to find a match — increase to improve coverage
- Rate limiting or temporary scraping block from product data sources
- Ambiguous barcode matching multiple products — first verified match returned

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of matched items and an array of product records, each containing the input code, resolved EAN, ASIN, product title, product URL, barcode type, request type, and timestamp. Only verified matches are returned; failed or empty runs are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "codes": {
   "type": "array",
   "description": "ASINs, EAN-8, EAN-13, UPC-A, or GTIN-14 codes to match against public product pages. Mixed lists are accepted."
  },
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Maximum verified conversions in the dataset. Set to 0 for no cap."
  },
  "maxCandidates": {
   "type": "integer",
   "default": 3,
   "maximum": 10,
   "minimum": 1,
   "description": "Maximum search results checked against product detail identifiers for each barcode."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "ean": null,
    "asin": null,
    "timestamp": null,
    "input_code": null,
    "product_url": null,
    "barcode_type": null,
    "request_type": null,
    "product_title": null
   }
  ],
  "product": "ean"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ean-asin-upc-barcode-to-product-data-lookup-34142f6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
