How to Use Affiliate.com merchant search in Gemini CLI
Find merchant records and compare their networks, domains, logos, and listed product counts. Use it to build a retailer shortlist or identify the right record before retrieving a merchant profile.
Prompts to try with Affiliate.com merchant search in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Affiliate.com merchant search to find records matching bestbuy.com, then add the returned names, domains, networks, and product counts to a review table in this project.
Use Affiliate.com merchant search to look up Walmart, Target, and Best Buy. Write a JSON report of the matching merchant IDs, domains, networks, and listed product counts.
Use Affiliate.com merchant search to find records matching realfoodhub.co.uk and build a directory entry from the returned description, domain, logo, and network.
Use Affiliate.com merchant search 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 search and tell me what changed since last week.
How to set up Affiliate.com merchant search in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 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/merchants/search", "input": { "page": 1 } }'
Then paste one of the prompts above: Gemini CLI finds Affiliate.com merchant search on Spiral, shows the price and runs it.
Affiliate.com merchant search providers and prices
Spiral runs Affiliate.com merchant search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI 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 50 | Merchants per page, 1 to 50. Defaults to 10 here; merchant records are large. | |
| Product count max | a number from 0 | Only merchants with at most this many products. | |
| Product count min | a number from 0 | Only merchants with at least this many products. | |
| Promotion count max | a number from 0 | Only merchants with at most this many promotions. | |
| Promotion count min | a number from 0 | Only merchants with at least this many promotions. | |
| Has commissionable URL | 1 |
|
Every API field of Affiliate.com · Search merchants is on its tool page: open its card above.
What can you do with Affiliate.com merchant search in Gemini CLI?
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 search and Gemini CLI
Overview
Affiliate.com merchant search in other agents
Questions about Affiliate.com merchant search in Gemini CLI
Can Gemini CLI use Affiliate.com merchant search?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Affiliate.com merchant search like any built-in tool.
How much does Affiliate.com merchant search cost in Gemini CLI?
$0.043648 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use Affiliate.com merchant search in Gemini CLI?
No. Spiral runs Affiliate.com merchant search 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 search in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Affiliate.com merchant search runs?
Affiliate.com merchant search runs in the background. Gemini CLI 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 search in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


