TikTok Shop US Category Taxonomy Tree
Retrieve the US TikTok Shop category and subcategory taxonomy tree with category IDs, hierarchy levels, and links.
curl -sG "https://api.agentapigate.ai/v1/tiktokshop/us/categories" \ --data-urlencode "query=electronics" \ --data-urlencode "limit=25" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# TikTok Shop US Category Taxonomy Tree (`tiktokshop.us.categories`) **total_categories**: 240 · **count**: 3 ## categories - [1] id: 601739, name: Phones & Electronics, link: https://shop.tiktok.com/us/c/phones-electronics/601739, image: https://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/i18n_ecom_fe/tiktok_shop_web_mono/apps/homepage_desktop/static/image/phones-electronics.c4be8f4f.png, level: 1 - [2] id: 605196, name: Automotive & Motorcycle, link: https://shop.tiktok.com/us/c/automotive-motorcycle/605196, image: https://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/i18n_ecom_fe/tiktok_shop_web_mono/apps/homepage_desktop/static/image/automotive-motorcycle.55d2807c.png, level: 1 - [3] id: 856720, name: Pre-Owned, link: https://shop.tiktok.com/us/c/pre-owned/856720, image: https://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/i18n_ecom_fe/tiktok_shop_web_mono/apps/homepage_desktop/static/image/pre-owned.44f2ed80.png, level: 1
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:tiktokshop.us.categories · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | optional | electronics | Optional keyword filter across category and subcategory names (e.g. "electronics", "beauty") |
| parent_id | string | optional | — | Optional top-level category ID filter (e.g. "601450" for Beauty & Personal Care) |
| limit | number | optional | 25 | Maximum top-level categories returned (1-100) |
| 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.0030 / call | $0/mo · Balance never expires |
| Remote MCP Tool | tiktokshop_us_categories | OAuth 2.1 Hub & /mcp/commerce |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 14578 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 8826t → 268t (-97%) | Partner credit: eligible |
More tiktokshop.us Sibling Endpoints
Search US TikTok Shop products with unit sold counts, USD prices, SKU variants, free-shipping flags, and featured shops.
Fetch US TikTok Shop product details by ID including unit sold_count, SKU matrix, stock, shipping fees, and seller info.
Frequently Asked Questions
How do I call TikTok Shop US Category Taxonomy Tree (tiktokshop.us.categories) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/tiktokshop/us/categories with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool tiktokshop_us_categories on https://mcp.agentapigate.ai/mcp.
What does tiktokshop.us.categories cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.003 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 tiktokshop.us.categories?
Passing ?format=md transforms the response into normalized Markdown (~268 tokens vs ~8826 raw tokens, saving 97% 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: ["tiktokshop.us.categories"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.