Spiral gives your agent every tool with one account. Browse the tools →

n8n · SEO

How to Use Affiliate.com product search in n8n

Search Affiliate.com’s merchant feeds for product listings with names, prices, currencies, availability, and links. Use it to build shopping shortlists or compare offers for the same barcode across merchants.

Prompts to try with Affiliate.com product search in n8n

Copy an example into n8n, or ask in your own words.

Every morning, use Affiliate.com product search for Sony WH-1000XM5 headphones. Compare offers in US dollars with yesterday's saved observations and report price or availability changes by merchant and barcode.

Affiliate.com product searchn8n
Try asking
  • Each day, use Affiliate.com product search for LEGO botanical sets. Report newly observed listings with their names, merchants, images, and product links.

  • Every morning, use Affiliate.com product search for KitchenAid Artisan stand mixers. Report offers whose final price has fallen since the previous check, keeping currencies and model numbers separate.

  • Each day, use Affiliate.com product search for JBL Flip 6 speakers. Flag returned offers whose feed update time is more than three days old and include the merchant and product link.

  • Every Monday, use Affiliate.com product search for Patagonia Black Hole backpacks. Prepare an editorial review of returned names, descriptions, images, availability, and merchant links.

How to set up Affiliate.com product search 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:

    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:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Affiliate.com product search 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 search, 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.

    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 search

    One request; the result comes back by polling or a webhook.

    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/products/search",
        "input": {
          "keyword": "<keyword>"
        }
      }'

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

Affiliate.com product search providers and prices

Spiral runs Affiliate.com product search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
Affiliate.com · Search products
affiliate-com/products/search

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number from 1

Page number, starting at 1.

Sort byrelevance, id, barcode, ean, gtin, upc, isbn, asin and 19 more

Sort field: relevance, id, barcode, ean, gtin, upc, isbn, asin, name, currency, regular_price, final_price, sale_discount, stock_quantity, commissionable_status, brand, category, color, gender, size, author, network.id, network.name, merchant.id, merchant.name, added_at, updated_at.

Per page1 to 50

Products per page, 1 to 50. Defaults to 10 here.

Sort orderasc or desc

Sort direction.

Exact totalon or off

Count meta.total past 10,000 precisely, at some extra latency.

Every API field of Affiliate.com · Search products is on its tool page: open its card above.

What can you do with Affiliate.com product search in n8n?

Keep a shopping shortlist current with daily checks of merchant offers. A scheduled agent can compare Affiliate.com results with its saved observations and report changes in price, availability, or feed freshness.

Compare merchant offers

Find listings for Sony WH-1000XM5 headphones, group matching barcodes, and compare each merchant's offer within the same currency.

Prepare a gift guide shortlist

Search for LEGO botanical sets and assemble an editorial shortlist with product names, descriptions, images, availability, and merchant links.

Review reported discounts

Find KitchenAid stand mixer listings and compare their regular and final prices to identify offers worth reviewing for a deal roundup.

Maintain a shopping comparison page

Repeat searches for featured JBL speakers and compare returned offers with saved observations to identify changes in price or availability.

Build product cards

Turn returned Patagonia backpack listings into shopping cards using the supplied names, descriptions, images, currencies, and merchant links.

Check feed freshness

Search for featured products and inspect their update timestamps to identify merchant offers that need a closer review before publication.

Find replacement recommendations

Search for OXO coffee makers when a featured offer becomes unavailable, then review returned descriptions and availability for replacement candidates.

Questions about Affiliate.com product search in n8n

Can n8n use Affiliate.com product search?

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

How much does Affiliate.com product search 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 search in n8n?

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

How long does it take to set up Affiliate.com product search 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 search runs?

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

Does Affiliate.com cover every online store?

Its published coverage spans more than 20,000 merchant programs and more than 30 affiliate networks. That describes participating affiliate merchants, not a complete index of online retail.

How fresh are the product listings?

Product feeds update daily, with more frequent updates for certain merchants or networks. The product's update timestamp records a merchant-feed refresh, so a newer timestamp does not necessarily mean the price changed.

Why does a broad search show a total of 10,000?

The default total stops counting at 10,000 matches. An exact count takes an additional query, while retrieving results beyond 10,000 requires cursor pagination and permission for that depth.

Can I rely on the results for exact inventory counts?

Stock quantities are sparse: Affiliate.com's two samples found quantities on only 1% of headphone listings and 2% of jacket listings. Those were nonrandom samples of 100 results each, not a catalog-wide measurement.

How can I compare the same product across stores?

Use a barcode to identify the product, then keep the separate merchant offers for comparison. Affiliate.com supports exact barcode searches, so matching does not have to depend on similar product titles.

Get started

Start using Affiliate.com product search in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options