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

opencode · SEO

How to Use Affiliate.com network details in opencode

Fetch one network's identity, country, parent brand, merchant counts, and product count. Use it to inspect a specific regional network instead of reviewing a directory.

Prompts to try with Affiliate.com network details in opencode

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

Use Affiliate.com network details to retrieve Tradedoubler Finland, network 110, and add its returned identity and counts to our network inspection view.

Affiliate.com network detailsopencode
Try asking
  • Use Affiliate.com network details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Affiliate.com network details and tell me what changed since last week.

  • Check Affiliate.com network details and summarize what you find in three bullet points.

  • Pull the newest data from Affiliate.com network details and give me the result as a table.

How to set up Affiliate.com network details in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 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 network details

    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/networks/get",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: opencode finds Affiliate.com network details on Spiral, shows the price and runs it.

Affiliate.com network details providers and prices

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

AlexandriaSEO
Affiliate.com · Network details
affiliate-com/networks/get

What can you do with Affiliate.com network details in opencode?

Give a publisher app consistent network names and identifiers for Awin, Impact, and Rakuten. A coding agent can turn Affiliate.com's returned records into project reference data and network lookup views.

Plan a publisher's regional coverage

Use brand names to organize the networks under review, compare their regional records, and inspect shortlisted entries by merchant and product counts.

Build a network selection interface

Populate brand labels and regional network choices from returned names and IDs. Show merchant and product counts when a publisher opens a specific network.

Clean up a publisher's network reference

Compare existing network labels with Affiliate.com's brand and regional records. Keep parent brand IDs separate from the IDs used to identify individual networks.

Monitor changes in indexed coverage

Compare saved results with later responses to identify added, removed, or renamed brands and regional networks. For regional records, also compare merchant and product counts.

Compare catalog size before choosing networks

Compare active merchant counts and product counts for shortlisted regional networks. Use both measures to distinguish merchant breadth from catalog volume.

Prepare a network research brief

Create a reference of network brands, their regional records, and the counts returned for selected entries. Explain that directory inclusion does not establish publisher permission to promote a merchant.

Questions about Affiliate.com network details in opencode

Can opencode use Affiliate.com network details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Affiliate.com network details like any built-in tool.

How much does Affiliate.com network details cost in opencode?

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

Do I need an Alexandria account to use Affiliate.com network details in opencode?

No. Spiral runs Affiliate.com network details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Affiliate.com network details in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Affiliate.com network details runs?

Affiliate.com network details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Affiliate.com cover every merchant on a network?

Its coverage is limited to merchants that have approved Affiliate.com as a publisher. A network record describes Affiliate.com's indexed coverage, so it should not be presented as a census of the network's entire business.

What does an active merchant count mean?

Active merchants are merchants that are not paused. Use the active count when assessing available merchant coverage, alongside the broader listed count.

How are network brands different from regional networks?

Affiliate.com connects related regional networks under one brand. Its documentation gives Impact Sweden, Impact UK, Impact US, and Impact France as examples.

Where does Affiliate.com's underlying merchant data come from?

Affiliate.com accesses merchant product feeds through affiliate networks, acting as an approved publisher. The network directory describes coverage of those indexed feeds.

Does appearing in Affiliate.com mean a merchant can be promoted immediately?

Affiliate.com states that publishers must already have a merchant's approval to monetize its products. Finding the merchant's network in the directory does not establish that permission.

Get started

Start using Affiliate.com network details in opencode

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

Paste this into opencode:

Set up opencode

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