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

opencode · SEO

How to Use Affiliate.com network brands in opencode

Fetch network brand names and IDs, such as Impact, that connect related regional networks. Use it to build a brand reference before comparing country-specific records.

Prompts to try with Affiliate.com network brands in opencode

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

Use Affiliate.com network brands to retrieve the brand directory and create a project reference file highlighting Awin, Impact, and Rakuten with their returned IDs.

Affiliate.com network brandsopencode
Try asking
  • Use Affiliate.com network brands to check how Commission Junction and Rakuten are named, then update our project's display labels to match the returned records.

  • Use Affiliate.com network brands 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 brands and tell me what changed since last week.

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

How to set up Affiliate.com network brands 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 brands

    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/groups",
        "input": {
          "fields": "<fields>"
        }
      }'

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

Affiliate.com network brands providers and prices

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

AlexandriaSEO
Affiliate.com · Network groups
affiliate-com/networks/groups

What can you do with Affiliate.com network brands 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.

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 brands in opencode

Can opencode use Affiliate.com network brands?

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

How much does Affiliate.com network brands 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 brands in opencode?

No. Spiral runs Affiliate.com network brands 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 brands in opencode?

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

Does opencode wait while Affiliate.com network brands runs?

Affiliate.com network brands 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 brands 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