[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Affiliate.com product URL to barcode](https://spiral.ai/integrations/n8n/affiliate-com-product-url-to-barcode)

# How to Use Affiliate.com product URL to barcode in n8n

Returns barcode matches for retailer product page URLs. Use it when you have a shopping link rather than an identifier; a page can return no barcode, one barcode, or several.

|  |  |
| --- | --- |
| Model | Affiliate.com product URL to barcode |
| Available through | Alexandria |
| Category | SEO |
| Price | $0.043648 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Affiliate.com product URL to barcode in n8n

- Every Friday, use Affiliate.com product URL to barcode for https://www.macys.com/shop/product/cuisinart-dlc-4chb-mini-prep-plusfood-processor?ID=315172. Flag an empty result or a change in the returned barcode set.
- Each week, use Affiliate.com product URL to barcode for https://www.rei.com/product/127086/yeti-rambler-tumbler-with-magslider-lid-20-fl-oz?sku=1270860063. Report whether it returns zero, one, or several barcodes and highlight changes.
- Every Monday at 9am: use Affiliate.com product URL to barcode to look this up and give me the result as a table.
- Pull the latest numbers from Affiliate.com product URL to barcode and tell me what changed since last week.
- Check Affiliate.com product URL to barcode and summarize what you find in three bullet points.

## How to set up Affiliate.com product URL to barcode in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Affiliate.com product URL to barcode in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Affiliate.com product URL to barcode, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Affiliate.com product URL to barcode**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "affiliate-com/identifiers/url-to-barcode",
    "input": {
      "urls": [
        "<urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: n8n finds Affiliate.com product URL to barcode on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Affiliate.com product URL to barcode tools and prices

- [Affiliate.com · Product URL to barcode](https://spiral.ai/tools/alexandria/affiliate-com/identifiers/url-to-barcode) (Alexandria): $0.043648 per call.

## What can you do with Affiliate.com product URL to barcode in n8n?

Produce a recurring exception report for products whose identifier matches need review. A scheduled agent can compare Affiliate.com conversions with earlier results and flag newly resolved products or changed match sets.

### Prepare a retailer comparison

Build an identifier table before researching offers. Resolve Amazon listings or retailer links to barcodes, or find Amazon ASINs for barcodes already in the catalog.

### Fill gaps in a product catalog

Add missing barcode or Amazon identifier matches to catalog records. Keep the original ASIN, barcode, or retailer URL beside each returned match for review.

### Review duplicate gift guide picks

Compare identifier matches for picks collected from Amazon, retailer pages, and barcode lists. Use those matches to flag products that may have been selected twice.

### Reconcile an incoming merchandise feed

Translate the identifiers supplied in a merchandise feed into the identifiers used by your existing catalog. Send unresolved records to a review queue before merging them.

### Prepare a product shortlist for Amazon research

Connect a shortlist of retailer links, barcodes, or Amazon listings to usable product identifiers. Use the resulting table as the starting point for a separate Amazon listing review.

### Measure catalog matching coverage

Run a representative sample of product records through the appropriate conversion. Count resolved and unresolved records to estimate how much manual matching your catalog needs.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Affiliate.com product URL to barcode in other agents

- [Amp](https://spiral.ai/integrations/amp/affiliate-com-product-url-to-barcode)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/affiliate-com-product-url-to-barcode)
- [Claude](https://spiral.ai/integrations/claude-desktop/affiliate-com-product-url-to-barcode)
- [Claude Code](https://spiral.ai/integrations/claude-code/affiliate-com-product-url-to-barcode)
- [Cline](https://spiral.ai/integrations/cline/affiliate-com-product-url-to-barcode)
- [Codex](https://spiral.ai/integrations/codex/affiliate-com-product-url-to-barcode)
- [Cursor](https://spiral.ai/integrations/cursor/affiliate-com-product-url-to-barcode)
- [Devin](https://spiral.ai/integrations/devin/affiliate-com-product-url-to-barcode)
- [dots](https://spiral.ai/integrations/dots/affiliate-com-product-url-to-barcode)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/affiliate-com-product-url-to-barcode)
- [Gemini](https://spiral.ai/integrations/gemini/affiliate-com-product-url-to-barcode)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/affiliate-com-product-url-to-barcode)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/affiliate-com-product-url-to-barcode)
- [goose](https://spiral.ai/integrations/goose/affiliate-com-product-url-to-barcode)
- [Grok](https://spiral.ai/integrations/grok/affiliate-com-product-url-to-barcode)
- [Grok Build](https://spiral.ai/integrations/grok-build/affiliate-com-product-url-to-barcode)
- [Hermes](https://spiral.ai/integrations/hermes/affiliate-com-product-url-to-barcode)
- [Instinct](https://spiral.ai/integrations/instinct/affiliate-com-product-url-to-barcode)
- [Manus](https://spiral.ai/integrations/manus/affiliate-com-product-url-to-barcode)
- [Muse](https://spiral.ai/integrations/muse/affiliate-com-product-url-to-barcode)
- [Muse Code](https://spiral.ai/integrations/muse-code/affiliate-com-product-url-to-barcode)
- [Notion](https://spiral.ai/integrations/notion/affiliate-com-product-url-to-barcode)
- [OpenClaw](https://spiral.ai/integrations/openclaw/affiliate-com-product-url-to-barcode)
- [opencode](https://spiral.ai/integrations/opencode/affiliate-com-product-url-to-barcode)
- [Perplexity](https://spiral.ai/integrations/perplexity/affiliate-com-product-url-to-barcode)
- [Raycast](https://spiral.ai/integrations/raycast/affiliate-com-product-url-to-barcode)
- [VS Code](https://spiral.ai/integrations/vscode/affiliate-com-product-url-to-barcode)
- [Windsurf](https://spiral.ai/integrations/windsurf/affiliate-com-product-url-to-barcode)
- [Zapier](https://spiral.ai/integrations/zapier/affiliate-com-product-url-to-barcode)

## More n8n guides

- [Affiliate.com network directory](https://spiral.ai/integrations/n8n/affiliate-com-network-directory)
- [Affiliate.com product search](https://spiral.ai/integrations/n8n/affiliate-com-product-search)
- [Affiliate.com network details](https://spiral.ai/integrations/n8n/affiliate-com-network-details)
- [DataForSEO Google domain competitors](https://spiral.ai/integrations/n8n/dataforseo-google-domain-competitors)
- [Affiliate.com network brands](https://spiral.ai/integrations/n8n/affiliate-com-network-brands)
- [DataForSEO Google domain ranking overview](https://spiral.ai/integrations/n8n/dataforseo-google-domain-ranking-overview)

## Questions about Affiliate.com product URL to barcode in n8n

**Can n8n use Affiliate.com product URL to barcode?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Affiliate.com product URL to barcode like any built-in tool.

**How much does Affiliate.com product URL to barcode cost in n8n?**

$0.043648 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use Affiliate.com product URL to barcode in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Affiliate.com product URL to barcode on its own Alexandria account.

**How long does it take to set up Affiliate.com product URL to barcode in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Affiliate.com product URL to barcode runs?**

Affiliate.com product URL to barcode runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Where does Affiliate.com's product data come from?**

Affiliate.com aggregates merchant feeds across hundreds of affiliate networks worldwide. Its catalog coverage defines the products available for matching.

**How fresh is the underlying catalog?**

Affiliate.com documents daily refreshes for its merchant-fed product records. That schedule describes the catalog, rather than a separate refresh guarantee for identifier conversions.

**How many identifiers can Affiliate.com convert at once?**

The documented limits are 10 ASINs when converting to barcodes, 20 barcodes when converting to ASINs, and 100 product URLs when extracting barcodes.

**Does an unsuccessful match always produce an error?**

No. Affiliate.com's conversion documentation says unresolved values can return null or an empty array instead of an error.

**Can one product page identify more than one product?**

Yes. Affiliate.com says a page offering several colors or sizes can return several barcodes. A link to a store outside its catalog returns an empty list.

