Shopify Single Product & Variant Detail
Retrieve full product description, option matrices, variant SKUs, weights, pricing, and gallery images for a Shopify product handle or URL.
curl -sG "https://api.agentapigate.ai/v1/commerce/shopify/product_detail" \ --data-urlencode "store_domain=allbirds.com" \ --data-urlencode "handle=mens-varsity-jersey-light-grey-verdant-green" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Shopify Single Product & Variant Detail (`commerce.shopify.product_detail`) **store_domain**: https://allbirds.com ## product - **id**: 7248903897168 - **handle**: mens-varsity-jersey-light-grey-verdant-green - **title**: Men's Varsity Jersey - Light Grey/Verdant Green (Blizzard Sole) - **vendor**: Allbirds - **product_type**: Shoes - **tags**: allbirds::carbon-score => undefined, allbirds::cfId => color-dba47f8b3dbc98c888083144f16d0d47, allbirds::complete => true, allbirds::edition => limited, allbirds::gender => mens, allbirds::hue => green - **price_usd**: 130 - **in_stock**: true - **variants_count**: 13 - **options**: name: Size, position: 1, values: 8, 8.5, 9, 9.5, 10, 10.5 - **variants**: id: 41428720353360, title: 8, sku: A12551M080, price_usd: 130, available: true, id: 41428720386128, title: 8.5, sku: A12551M085, price_usd: 130, available: true, id: 41428720418896, title: 9, sku: A12551M090, price_usd: 130, available: true, id: 41428720451664, title: 9.5, sku: A12551M095, price_usd - **image_url**: https://cdn.shopify.com/s/files/1/1104/4168/files/A12551_26Q1_Mens-Varsity-Jersey-Light-Grey-Verdant-Green-Blizzard-Sole_PDP_LEFT.png?v=1774545287 - **images**: https://cdn.shopify.com/s/files/1/1104/4168/files/A12551_26Q1_Mens-Varsity-Jersey-Light-Grey-Verdant-Green-Blizzard-Sole_PDP_LEFT.png?v=1774545287, https://cdn.shopify.com/s/files/1/1104/4168/files/A12551_26Q1_Mens-Varsity-Jersey-Light-Grey-Verdant-Green-Blizzard-Sole_PDP_BACK.png?v=1774545286, http - **published_at**: 2026-12-04T10:30:26-08:00 - **updated_at**: 2026-12-05T12:22:07-08:00 - **url**: https://allbirds.com/products/mens-varsity-jersey-light-grey-verdant-green - **body_html**: <p> </p>
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:commerce.shopify.product_detail · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| store_domain | string | required | allbirds.com | Public Shopify store domain (e.g. allbirds.com) |
| handle | string | required | mens-varsity-jersey-light-grey-verdant-green | Product handle slug or full `/products/<handle>` URL |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | commerce_shopify_product_detail | OAuth 2.1 Hub & /mcp/commerce |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 93 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 3805t → 455t (-88%) | Partner credit: eligible |
More commerce.shopify Sibling Endpoints
Detect whether any domain runs on Shopify and extract shop ID, myshopify.com handle, currency, country, and open JSON feed status.
Fetch paginated products, SKU variants, live prices, compare-at discounts, tags, and stock availability from any public Shopify store.
List public merchandising collections, handles, product counts, hero images, and update timestamps from any Shopify store.
Frequently Asked Questions
How do I call Shopify Single Product & Variant Detail (commerce.shopify.product_detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/commerce/shopify/product_detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool commerce_shopify_product_detail on https://mcp.agentapigate.ai/mcp.
What does commerce.shopify.product_detail cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on commerce.shopify.product_detail?
Passing ?format=md transforms the response into normalized Markdown (~455 tokens vs ~3805 raw tokens, saving 88% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only commerce endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["commerce"], optional allowed_endpoints: ["commerce.shopify.product_detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.