WooCommerce Store & Store API v1 Detector
Detect whether a domain runs WordPress + WooCommerce, verify public `/wp-json/wc/store/v1` availability, and inspect currency metadata.
curl -sG "https://api.agentapigate.ai/v1/commerce/woocommerce/detect_store" \ --data-urlencode "domain_or_url=woocommerce.com" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# WooCommerce Store & Store API v1 Detector (`commerce.woocommerce.detect_store`) **input_domain**: woocommerce.com · **is_woocommerce**: true · **store_api_v1_open**: true · **currency**: USD · **sample_product_name**: Automate Discounts ## detected_signals - [1] wc_store_v1_namespace - [2] wc_store_v1_products_200 - [3] woocommerce_html_assets
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:commerce.woocommerce.detect_store · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| domain_or_url | string | required | woocommerce.com | Domain or URL to test for WooCommerce Store API support |
| 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_woocommerce_detect_store | OAuth 2.1 Hub & /mcp/commerce |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 515 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 194t → 89t (-64%) | Partner credit: eligible |
More commerce.woocommerce Sibling Endpoints
Search and paginate public WooCommerce Store API v1 products with normalized decimal prices, sale flags, ratings, categories, and stock status.
Fetch complete WooCommerce product details, full descriptions, attributes, categories, ratings, and live stock by numeric ID, slug, or URL.
Retrieve public WooCommerce Store API v1 product categories, slugs, parent hierarchy, item counts, and category permalinks.
Frequently Asked Questions
How do I call WooCommerce Store & Store API v1 Detector (commerce.woocommerce.detect_store) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/commerce/woocommerce/detect_store with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool commerce_woocommerce_detect_store on https://mcp.agentapigate.ai/mcp.
What does commerce.woocommerce.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.woocommerce.detect_store?
Passing ?format=md transforms the response into normalized Markdown (~89 tokens vs ~194 raw tokens, saving 64% 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.woocommerce.detect_store"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.