How to Use Affiliate.com merchant profile in opencode
Retrieve one merchant's profile, including its network, domains, product count, and affiliate link templates. Use it to inspect a known merchant record before adding that retailer to an editorial brief or partner directory.
Prompts to try with Affiliate.com merchant profile in opencode
Copy an example into opencode, or ask in your own words.
Use Affiliate.com merchant profile to retrieve Walmart merchant 102458 and create a merchant detail view using its returned description, domains, logo, and network.
Use Affiliate.com merchant profile to inspect Walmart merchant 102458 and map its returned merchant and network identifiers to the project's existing retailer model.
Use Affiliate.com merchant profile to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Affiliate.com merchant profile and tell me what changed since last week.
Check Affiliate.com merchant profile and summarize what you find in three bullet points.
How to set up Affiliate.com merchant profile in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 merchant profile
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/merchants/get", "input": { "id": "<id>" } }'
Then paste one of the prompts above: opencode finds Affiliate.com merchant profile on Spiral, shows the price and runs it.
Affiliate.com merchant profile providers and prices
Spiral runs Affiliate.com merchant profile through Alexandria. Open a card for today's price, with every fee included.
What can you do with Affiliate.com merchant profile in opencode?
Build a retailer directory populated with Affiliate.com merchant names, domains, logos, and network details. A coding agent can connect those records to the project's merchant tables and show listed catalog sizes beside each retailer.
Check retailers before assigning a buying guide
Find the retailers proposed for a buying guide, then inspect their merchant records. Give editors the matching domains, networks, and listed product counts before they choose where to research products.
Build a merchant directory
Assemble retailer entries with names, descriptions, domains, and logos. Use individual profiles to review the records selected for publication.
Prepare a partnership shortlist
Research public retail brands and compare their affiliate network associations and listed catalog sizes. Turn the results into a shortlist for the partnerships team.
Map merchant and network IDs
Match retailer names and domains to merchant records, then retain the returned merchant and network identifiers for editorial briefs and downstream reporting joins.
Review catalog depth
Compare listed product counts for candidate retailers and inspect the selected profiles. Use the counts to prioritize product research without treating them as live stock totals.
Monitor merchant directory changes
Compare repeated merchant lookups with earlier results to flag changes in descriptions, domains, logos, network associations, and listed product counts for review.
More on Affiliate.com merchant profile and opencode
Overview
Affiliate.com merchant profile in other agents
Questions about Affiliate.com merchant profile in opencode
Can opencode use Affiliate.com merchant profile?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Affiliate.com merchant profile like any built-in tool.
How much does Affiliate.com merchant profile 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 merchant profile in opencode?
No. Spiral runs Affiliate.com merchant profile 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 merchant profile in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Affiliate.com merchant profile runs?
Affiliate.com merchant profile runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What information does Affiliate.com provide about a merchant?
The documented merchant profile includes its name, description, domains, logos, listed product count, and affiliate network. Merchant records describe the retailer and its catalog presence rather than individual product offers.
Where does Affiliate.com's catalog data come from?
Affiliate.com accesses merchant product feeds through affiliate networks, then normalizes and structures them. Its network coverage spans more than 30 networks.
Does Affiliate.com include every retailer?
No. Affiliate.com says it only indexes data from merchants that have approved it as a publisher, so coverage depends on those merchant relationships.
Does a merchant's product count mean those items are available now?
Product count is the number of listed products, which Affiliate.com describes as a way to size catalog opportunity. Its merchant lookup guidance treats that count as a snapshot.
How fresh is the underlying catalog?
Affiliate.com says product feeds update daily, and some merchants or networks update more often. That published cadence applies to product feeds; it does not establish how often merchant descriptions, logos, or other profile details change.
Start using Affiliate.com merchant profile in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


