Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaE-commerceAvailable now

Shopify · Storefront: Product details

shopify/storefront/get_product

Get 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

FieldKindDefaultDescription
product_id requiredtext—

Paste one product ID returned by search or lookup in the same catalog.

store_domain requiredtext—

Store domain, such as www.lemsshoes.com. Enter the canonical hostname without https://, a path or port.

intenttext—

Optional shopping preferences or intended use.

regiontext—

Buyer's state, province or region, such as CA.

countrytext—

Buyer's two-letter country code, such as US, CA or GB, for localized results.

filtersJSON—

Advanced filters, such as {"available":true,"price":{"max":15000}}. Price amounts use minor currency units: 15000 means USD 150.

currencytext—

Three-letter currency code, such as USD, CAD or GBP.

languagetext—

Preferred language tag, such as en or en-US.

selectedJSON—

Optional variant selections, such as [{"name":"Color","label":"Black"}].

postal_codetext—

Buyer's postal or ZIP code for localized results.

preferenceslist—

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.