How to Use Affiliate.com network directory in Windsurf
Fetch regional network records with merchant counts, product counts, countries, and parent brands. Use it to compare Affiliate.com's indexed networks and find records for a closer look.
Prompts to try with Affiliate.com network directory in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Affiliate.com network directory to find Impact records and build a table in the project showing each returned country's listed merchants, active merchants, and products.
Use Affiliate.com network directory to retrieve Awin records and compare their returned IDs and names with our project's network reference file.
Use Affiliate.com network directory 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 directory and tell me what changed since last week.
Check Affiliate.com network directory and summarize what you find in three bullet points.
How to set up Affiliate.com network directory in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Affiliate.com network directory
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/list", "input": { "page": 1 } }'
Then paste one of the prompts above: Windsurf finds Affiliate.com network directory on Spiral, shows the price and runs it.
Affiliate.com network directory providers and prices
Spiral runs Affiliate.com network directory through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | a number from 1 | Page number, starting at 1. | |
| Per page | 1 to 100 | Networks per page, 1 to 100. Upstream default 100. |
Every API field of Affiliate.com · List networks is on its tool page: open its card above.
What can you do with Affiliate.com network directory in Windsurf?
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.
More on Affiliate.com network directory and Windsurf
Overview
Affiliate.com network directory in other agents
Questions about Affiliate.com network directory in Windsurf
Can Windsurf use Affiliate.com network directory?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Affiliate.com network directory like any built-in tool.
How much does Affiliate.com network directory cost in Windsurf?
$0.043648 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use Affiliate.com network directory in Windsurf?
No. Spiral runs Affiliate.com network directory 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 directory in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Affiliate.com network directory runs?
Affiliate.com network directory runs in the background. Windsurf 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.
Start using Affiliate.com network directory in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


