Marketplace
No threads yet
Live

get_category_hierarchy

shopee.com.br

Returns the complete nested marketplace category hierarchy from https://shopee.com.br with every non-empty category field.

Parameters0
Runs3
Updated52m ago
Operational3 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_category_hierarchy?

Returns the complete nested marketplace category hierarchy from https://shopee.com.br with every non-empty category field. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — call it with no parameters and get the result back without maintaining a scraper.

Response

{
  "site": "<string>",
  "categories": [
    {}
  ],
  "root_count": 0,
  "total_categories": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/d56a7aab-72d7-4dcd-b311-83575f954970/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "d56a7aab-72d7-4dcd-b311-83575f954970",
    "variables": {}
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="d56a7aab-72d7-4dcd-b311-83575f954970") — the "get_category_hierarchy" function, which returns the complete nested marketplace category hierarchy from https://shopee.com.br with every non-empty category field..

It takes no parameters. Return the result as structured JSON.