Fanatics US · List products
fanatics-com/products/list_productsGet product, price and seller data with Fanatics US · List products from Alexandria through one Spiral API key. Use when the user wants a team's or league's gear or a department within it. league_id comes from a search facet (type o), team_id from list_teams, department_id from a facet option of type d. Pass url instead of ids to follow a facet or breadcrumb path returned by this function or search_products. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 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 |
|---|---|---|---|
url | text | — | A www.fanatics.com listing URL or path (from a facet option, breadcrumb or the address bar). Mutually exclusive with the id inputs. |
page | number 1 to 200 | 1 | 1-based page number (the site's pageNumber). |
sort | one of TopSellers, NewestArrivals, LowestPrice, HighestPrice | TopSellers | Sort order (the site's sortOption values). |
team_id | number 1 to … | — | Fanatics team id (the t- segment), e.g. 3356 = Atlanta Hawks; from list_teams. |
league_id | number 1 to … | — | Fanatics league/org id (the o- segment), e.g. 23 = NBA, 25 = NFL, 19 = MLB, 5 = College. |
page_size | number 1 to 96 | 24 | Products per page (the site's pageSize). The storefront UI offers 24, 48, 72 and 96. |
department_id | number 1 to … | — | Fanatics department id (the d- segment), e.g. 8019 = Sweatshirts; from a facet option of type d. |
include_facets | true or false | — | Include the site's facet groups (leagues, departments, players, brands, price bands) with their option URLs. Set false for a smaller result when only the products matter. |
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": "fanatics-com/products/list_products",
"input": {
"league_id": 1
}
}'Frequently asked questions
How much does Fanatics US · List products cost?
$0.00873 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 Fanatics US · List products through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "fanatics-com/products/list_products"` 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 Fanatics US · List products?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Fanatics US · List products?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.