AgentAPIGate
Back to Catalog
GET /v1/commerce/shopify/detect_storePack: commerce·MCP Tool: commerce_shopify_detect_store

Shopify Store Detector & Storefront Metadata Probe

Detect whether any domain runs on Shopify and extract shop ID, myshopify.com handle, currency, country, and open JSON feed status.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Store domain or URL to inspect (e.g. allbirds.com, gymshark.com)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/commerce/shopify/detect_store" \
  --data-urlencode "domain_or_url=allbirds.com" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-82% tokens
# Shopify Store Detector & Storefront Metadata Probe (`commerce.shopify.detect_store`)
**input_domain**: allbirds.com · **is_shopify**: true · **store_name**: Allbirds · **myshopify_domain**: weareallbirds.myshopify.com · **currency**: USD · **country**: US · **products_json_open**: true

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: commerce.shopify.detect_store · Method: GET
ParameterTypeReqSample / DefaultDescription
domain_or_urlstringrequiredallbirds.comStore domain or URL to inspect (e.g. allbirds.com, gymshark.com)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolcommerce_shopify_detect_storeOAuth 2.1 Hub & /mcp/commerce
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency450 ms$0 billed on empty or 4xx/5xx
Token Economy314t → 74t (-82%)Partner credit: eligible

More commerce.shopify Sibling Endpoints

Frequently Asked Questions

How do I call Shopify Store Detector & Storefront Metadata Probe (commerce.shopify.detect_store) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/commerce/shopify/detect_store with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool commerce_shopify_detect_store on https://mcp.agentapigate.ai/mcp.

What does commerce.shopify.detect_store 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.detect_store?

Passing ?format=md transforms the response into normalized Markdown (~74 tokens vs ~314 raw tokens, saving 82% 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.detect_store"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.