WooCommerce Single Product Detail (ID or Slug)
Fetch complete WooCommerce product details, full descriptions, attributes, categories, ratings, and live stock by numeric ID, slug, or URL.
curl -sG "https://api.agentapigate.ai/v1/commerce/woocommerce/product_detail" \ --data-urlencode "store_domain=woocommerce.com" \ --data-urlencode "product_id_or_slug=18734007063463" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# WooCommerce Single Product Detail (ID or Slug) (`commerce.woocommerce.product_detail`) **store_domain**: https://woocommerce.com ## product - **id**: 18734007063463 - **name**: Automate Discounts - **slug**: automate-discounts - **type**: simple - **price**: 79 - **regular_price**: 79 - **sale_price**: 79 - **on_sale**: false - **currency**: USD - **currency_symbol**: $ - **is_in_stock**: true - **is_purchasable**: true - **average_rating**: 0 - **review_count**: 0 - **categories**: id: 1021, name: WooCommerce extensions, slug: woocommerce-extensions, id: 28698, name: Conversion, slug: conversion, id: 28699, name: Promotions, slug: promotions-conversion, id: 28700, name: Upsells and cross-sells, slug: upsells-and-cross-sells, id: 28663, name: Merchandising, slug: merchandising, - **image_url**: https://woocommerce.com/wp-content/uploads/2026/11/automate-discounts-icon.png - **images**: https://woocommerce.com/wp-content/uploads/2026/11/automate-discounts-icon.png, https://woocommerce.com/wp-content/uploads/2026/11/automate-discounts-01-hero.png, https://woocommerce.com/wp-content/uploads/2026/11/automate-discounts-02-overview.png, https://woocommerce.com/wp-content/uploads/2026/11 - **short_description**: Automatic discounts with a forecast: see what a sale, BOGO or free shipping goal will cost on your own orders before it goes live. - **url**: https://woocommerce.com/products/automate-discounts/ - **description_text**: Know what a discount costs before it goes live Most stores launch a sale and find out what it cost at the end of the month. Automate Discounts & Dynamic Pricing replays any discount on your last 90 days of paid orders, together with your other rules, and shows the orders it would reach, what it woul
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:commerce.woocommerce.product_detail · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| store_domain | string | required | woocommerce.com | Public WooCommerce domain (e.g. woocommerce.com) |
| product_id_or_slug | string | required | 18734007063463 | Numeric product ID (e.g. 18734007063463), product slug, or full product 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_woocommerce_product_detail | OAuth 2.1 Hub & /mcp/commerce |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 667 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 9680t → 458t (-95%) | Partner credit: eligible |
More commerce.woocommerce Sibling Endpoints
Detect whether a domain runs WordPress + WooCommerce, verify public `/wp-json/wc/store/v1` availability, and inspect currency metadata.
Search and paginate public WooCommerce Store API v1 products with normalized decimal prices, sale flags, ratings, categories, and stock status.
Retrieve public WooCommerce Store API v1 product categories, slugs, parent hierarchy, item counts, and category permalinks.
Frequently Asked Questions
How do I call WooCommerce Single Product Detail (ID or Slug) (commerce.woocommerce.product_detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/commerce/woocommerce/product_detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool commerce_woocommerce_product_detail on https://mcp.agentapigate.ai/mcp.
What does commerce.woocommerce.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.woocommerce.product_detail?
Passing ?format=md transforms the response into normalized Markdown (~458 tokens vs ~9680 raw tokens, saving 95% 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.product_detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.