Shopify · Storefront: Product details
shopify/storefront/get_productGet product, price and seller data with Shopify · Storefront: Product details from Alexandria through one Spiral API key. Get details and availability for a product_id from the selected store's search or lookup. Keep the same store_domain. Optional selected options refine the variant without executing checkout. 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 |
|---|---|---|---|
product_id required | text | — | Paste one product ID returned by search or lookup in the same catalog. |
store_domain required | text | — | Store domain, such as |
intent | text | — | Optional shopping preferences or intended use. |
region | text | — | Buyer's state, province or region, such as CA. |
country | text | — | Buyer's two-letter country code, such as US, CA or GB, for localized results. |
filters | JSON | — | Advanced filters, such as {"available":true,"price":{"max":15000}}. Price amounts use minor currency units: 15000 means USD 150. |
currency | text | — | Three-letter currency code, such as USD, CAD or GBP. |
language | text | — | Preferred language tag, such as en or en-US. |
selected | JSON | — | Optional variant selections, such as [{"name":"Color","label":"Black"}]. |
postal_code | text | — | Buyer's postal or ZIP code for localized results. |
preferences | list | — | Optional preferences to help select a variant. |
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": "shopify/storefront/get_product",
"input": {
"product_id": "<product_id>",
"store_domain": "<store_domain>"
}
}'Frequently asked questions
How much does Shopify · Storefront: Product details 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 Shopify · Storefront: Product details through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "shopify/storefront/get_product"` 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 Shopify · Storefront: Product details?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Shopify · Storefront: Product details?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.