# Affiliate.com SKU-to-Barcode Converter

> Affiliate.com SKU-to-Barcode 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 a list of merchant-specific product SKUs into their corresponding barcodes (UPCs/EANs) for a specified retailer.

## Facts

- Endpoint: POST https://zeroclick.affiliate.com/v1/tools/convert/sku-to-barcode
- 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-sku-to-barcode-converter-342ab971
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qp2aCcLga0PmCRJn5lCNX

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-sku-to-barcode-converter-342ab971 -d '<json body>'
```

Example prompt: I have these Walmart SKUs — 12987717129, 9853123116, and 9885868036 — can you convert them to their barcodes?

## When to prefer this

Use this endpoint when you have merchant-specific internal SKUs and need to resolve them to universal barcodes (UPC/EAN). Prefer this over URL-to-barcode or ASIN-to-barcode converters when you have raw SKU identifiers rather than product page URLs or Amazon ASINs. Ideal for inventory reconciliation, cross-retailer product matching, and data enrichment pipelines where the source identifier is a retailer's internal SKU.

## Known failure modes

- SKU not found in merchant catalog — returns null for that entry
- Invalid or unrecognized merchant name/URL — may return error or all nulls
- Malformed SKU strings — may return null or validation error
- Merchant not supported in Affiliate.com catalog — returns error
- Empty data array — may return validation error
- Rate limit or payment failure — 402 or 429 response

## How this service works

Convert merchant SKUs to barcodes. Provide the SKUs and the merchant they belong to, and each SKU maps to its barcode or to null when no match exists.

## Output

An array where each input SKU maps to its barcode string (UPC/EAN) or null if no barcode match was found for that SKU at the specified merchant.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "example": [
    "12987717129",
    "9853123116",
    "9885868036"
   ],
   "description": "The merchant SKUs to convert."
  },
  "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-sku-to-barcode-converter-342ab971/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)
