get_canada_category_tree
ebay.caRetrieves the eBay Canada category tree from https://ebay.ca, including top-level categories and subcategory links for browsing listings. Returns each category and child category with its name and URL.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_canada_category_tree?
Retrieves the eBay Canada category tree from https://ebay.ca, including top-level categories and subcategory links for browsing listings. Returns each category and child category with its name and URL. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass include_footer_links, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"categories": [
{
"url": "<string>",
"name": "<string>",
"subcategories": [
{
"url": "<string>",
"name": "<string>"
}
]
}
],
"source_url": "<string>",
"footer_links": [
{
"url": "<string>",
"name": "<string>"
}
],
"section_title": "<string>",
"total_top_level_categories": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/7f7fe9b4-4257-4874-a0c4-8a7572bada82/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "7f7fe9b4-4257-4874-a0c4-8a7572bada82",
"variables": {
"include_footer_links": true,
"timeout_seconds": 20
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="7f7fe9b4-4257-4874-a0c4-8a7572bada82") — the "get_canada_category_tree" function, which retrieves the eBay Canada category tree from https://ebay.ca, including top-level categories and subcategory links for browsing listings. Returns each category and child category with its name and URL.. It takes include_footer_links (bool), timeout_seconds (int). Return the result as structured JSON.