Live
list_category_hierarchy
ebay.comReturns all top-level and nested categories from the all-categories page on https://ebay.com with IDs, URLs, images, hierarchy metadata, and every non-empty category field.
Parameters1
Runs5
Updated3d ago
Operational5 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is list_category_hierarchy?
Returns all top-level and nested categories from the all-categories page on https://ebay.com with IDs, URLs, images, hierarchy metadata, and 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 — pass timeout_seconds and get the result back without maintaining a scraper.
Response
{
"title": "<string>",
"source": "<string>",
"categories": [
{}
],
"maximum_level": 0,
"top_level_count": 0,
"total_category_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/3bf130db-af7e-4825-b206-4adb3f217bf1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3bf130db-af7e-4825-b206-4adb3f217bf1",
"variables": {
"timeout_seconds": 45
}
}'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="3bf130db-af7e-4825-b206-4adb3f217bf1") — the "list_category_hierarchy" function, which returns all top-level and nested categories from the all-categories page on https://ebay.com with IDs, URLs, images, hierarchy metadata, and every non-empty category field.. It takes timeout_seconds (int). Return the result as structured JSON.