# Affiliate.com Barcode to Merchant SKU Converter

> Affiliate.com Barcode to Merchant SKU Converter is a paid API for AI agents from zeroclick.affiliate.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Converts numeric barcode strings (UPC/EAN) to a specific merchant's internal SKU identifiers, returning null for unmatched barcodes.

## Facts

- Endpoint: POST https://zeroclick.affiliate.com/v1/tools/convert/barcode-to-sku
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/affiliate-com-barcode-to-merchant-sku-converter-a567a721
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EWga-hdYVXgemTX2qa4NT

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 affiliate-com-barcode-to-merchant-sku-converter-a567a721 -d '<json body>'
```

Example prompt: Can you convert these barcodes — 9349520733755 and 648093563899 — to their Walmart SKUs using Affiliate.com?

## When to prefer this

Use this endpoint when you have product barcodes (UPC/EAN) and need to resolve them to a specific retailer's internal SKU — particularly for inventory sync, affiliate link generation, or price monitoring workflows. Prefer this over a general product search when you have exact barcodes and need the merchant's native identifier rather than search results. If you need to go in the opposite direction (SKU to barcode), use the sibling SKU-to-barcode endpoint instead.

## Known failure modes

- Barcode not found in merchant catalog — returns null for that entry
- Invalid barcode format (non-numeric or wrong length) — may return error or null
- Merchant name or domain not recognized — returns error indicating unknown merchant
- Empty barcodes array — validation error
- Network or service timeout — HTTP 5xx response
- Insufficient payment (x402) — HTTP 402 payment required

## How this service works

Convert barcodes to merchant SKUs. Provide numeric barcode strings and the merchant to resolve against, and each barcode maps to its SKU or to null when no match exists.

## Output

An array mapping each input barcode to its merchant-specific SKU string, or null if no match is found in the merchant's catalog. The response preserves the order of input barcodes for easy correlation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "example": [
    "9349520733755",
    "648093563899"
   ],
   "description": "The barcodes to convert. Each element must be a valid numeric barcode string."
  },
  "config": {
   "type": "object",
   "example": {
    "merchant": {
     "name": "walmart"
    }
   },
   "required": [
    "merchant"
   ],
   "properties": {
    "merchant": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "example": "walmart.com",
       "description": "Merchant domain, used when name is omitted."
      },
      "name": {
       "type": "string",
       "example": "walmart",
       "description": "Merchant name. Takes precedence over url."
      }
     }
    }
   },
   "description": "Identifies the source merchant. Provide merchant.name or merchant.url."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/affiliate-com-barcode-to-merchant-sku-converter-a567a721/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zeroclick.affiliate.com](https://www.zero.xyz/host/zeroclick.affiliate.com/llms.txt)
