AgentAPIGate
Back to Catalog
GET /v1/tiktokshop/us/categoriesPack: commerce·MCP Tool: tiktokshop_us_categories

TikTok Shop US Category Taxonomy Tree

Retrieve the US TikTok Shop category and subcategory taxonomy tree with category IDs, hierarchy levels, and links.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:eligible
1. Parameters & Controls
Optional keyword filter across category and subcategory names (e.g. "electronics", "beauty")
Optional top-level category ID filter (e.g. "601450" for Beauty & Personal Care)
Maximum top-level categories returned (1-100)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-97% tokens
# 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
ParameterTypeReqSample / DefaultDescription
querystringoptionalelectronicsOptional keyword filter across category and subcategory names (e.g. "electronics", "beauty")
parent_idstringoptional—Optional top-level category ID filter (e.g. "601450" for Beauty & Personal Care)
limitnumberoptional25Maximum top-level categories returned (1-100)
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.0030 / call$0/mo · Balance never expires
Remote MCP Tooltiktokshop_us_categoriesOAuth 2.1 Hub & /mcp/commerce
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency14578 ms$0 billed on empty or 4xx/5xx
Token Economy8826t → 268t (-97%)Partner credit: eligible

More tiktokshop.us Sibling Endpoints

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.