Affiliate.com · Search products
affiliate-com/products/searchGet SEO and search ranking data with Affiliate.com · Search products from Alexandria through one Spiral API key. Search affiliate product listings by keyword, identifier, price, brand, merchant or network. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.043648 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
page | number 1 to … | — | Page number, starting at 1. |
after | text | — | Deep-pagination cursor from the previous response's meta.after, for results past 10,000 on plans that allow it. |
query | JSON | — | Rule builder |
facets | list | — | Aggregations to include: network, merchant, final_price, or dotted sub-fields such as network.name. |
fields | list | — | Product fields to return, for example |
search | JSON | — | Filter objects |
keyword | text | — | Plain-text search such as |
sort_by | one of relevance, id, barcode, ean, gtin, upc, isbn, asin, name, currency, regular_price, final_price, sale_discount, stock_quantity, commissionable_status, brand, category, color, gender, size, author, network.id, network.name, merchant.id, merchant.name, added_at, updated_at | — | Sort field: relevance, id, barcode, ean, gtin, upc, isbn, asin, name, currency, regular_price, final_price, sale_discount, stock_quantity, commissionable_status, brand, category, color, gender, size, author, network.id, network.name, merchant.id, merchant.name, added_at, updated_at. |
per_page | number 1 to 50 | — | Products per page, 1 to 50. Defaults to 10 here. |
sort_order | one of asc, desc | — | Sort direction. |
exact_total | true or false | — | Count meta.total past 10,000 precisely, at some extra latency. |
balanced_mix | JSON | — |
|
duplicate_fields_to_exclude | text | — | Deduplicate by name, image_url, direct_url, barcode or merchant.id. Comma syntax applies each independently and accepts |
Same request in code
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/products/search",
"input": {
"keyword": "<keyword>"
}
}'Frequently asked questions
How much does Affiliate.com · Search products cost?
$0.043648 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Affiliate.com · Search products through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "affiliate-com/products/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Affiliate.com · Search products?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Affiliate.com · Search products?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.