AgentAPIGate
Back to Catalog
GET /v1/commerce/woocommerce/categoriesPack: commerce·MCP Tool: commerce_woocommerce_categories

WooCommerce Product Categories Taxonomy

Retrieve public WooCommerce Store API v1 product categories, slugs, parent hierarchy, item counts, and category permalinks.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Public WooCommerce domain (e.g. woocommerce.com)
Categories per page (1-50)
Page number (>=1)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/commerce/woocommerce/categories" \
  --data-urlencode "store_domain=woocommerce.com" \
  --data-urlencode "per_page=20" \
  --data-urlencode "page=1" \
  --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)
-85% tokens
# WooCommerce Product Categories Taxonomy (`commerce.woocommerce.categories`)
**store_domain**: https://woocommerce.com · **page**: 1 · **count**: 20

## categories
- [1] id: 1028, name: Accounting, slug: accounting-extensions, description: Accounting Extensions for WooCommerce, parent_id: 1888
- [2] id: 28911, name: Additional purchases, slug: additional-purchases, parent_id: 28663, product_count: 27
- [3] id: 1913, name: Admin and notifications, slug: admin-notifications, parent_id: 1888, product_count: 54
- [4] id: 28694, name: Advertising and promotions, slug: advertising-and-promotions, parent_id: 1024, product_count: 71
- [5] id: 3769, name: Arts and crafts, slug: arts-and-crafts, parent_id: 1033, product_count: 23
- [6] id: 28693, name: Automation, slug: automation, parent_id: 1024, product_count: 22
- [7] id: 28672, name: B2B, slug: b2b, parent_id: 28663, product_count: 84
- [8] id: 35538, name: B2B payments, slug: b2b-payments, parent_id: 1023, product_count: 2
- [9] id: 3770, name: Bookings and accommodation, slug: bookings-and-accommodation, parent_id: 1033, product_count: 8
- [10] id: 28664, name: Bookings and appointments, slug: bookings-and-appointments, parent_id: 28663, product_count: 17
- [11] id: 28803, name: Bundles, slug: bundles, parent_id: 28663, product_count: 21
- [12] id: 34246, name: Business Formation, slug: business-formation, parent_id: 33694, product_count: 2
- [13] id: 28712, name: Business insights, slug: business-insights, parent_id: 1888, product_count: 27
- [14] id: 33694, name: Business Services, slug: business-services, parent_id: 0, product_count: 17
- [15] id: 35676, name: Buy now pay later, slug: buy-now-pay-later, parent_id: 1023, product_count: 7

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: commerce.woocommerce.categories · Method: GET
ParameterTypeReqSample / DefaultDescription
store_domainstringrequiredwoocommerce.comPublic WooCommerce domain (e.g. woocommerce.com)
per_pagenumberoptional20Categories per page (1-50)
pagenumberoptional1Page number (>=1)
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_woocommerce_categoriesOAuth 2.1 Hub & /mcp/commerce
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency505 ms$0 billed on empty or 4xx/5xx
Token Economy3196t → 467t (-85%)Partner credit: eligible

More commerce.woocommerce Sibling Endpoints

Frequently Asked Questions

How do I call WooCommerce Product Categories Taxonomy (commerce.woocommerce.categories) over REST and Remote MCP?

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

What does commerce.woocommerce.categories 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.categories?

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