Marketplace
No threads yet
Live

get_category_hierarchy

yochananof.co.il

Retrieves the Yochananof product catalog hierarchy from https://www.yochananof.co.il. Returns a category tree with configurable nesting up to three levels and category metadata.

Parameters2
Runs13
Updated10d ago
Operational13 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?

Retrieves the Yochananof product catalog hierarchy from https://www.yochananof.co.il. Returns a category tree with configurable nesting up to three levels and category metadata. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass max_depth, include_hidden and get the result back without maintaining a scraper.

Response

{
  "max_depth": 0,
  "categories": [
    {
      "uid": "<string>",
      "name": "<string>",
      "path": "<string>",
      "level": 0,
      "url_key": "<string>",
      "children": [
        "<any>"
      ],
      "position": 0,
      "url_path": "<string>",
      "is_anchor": true,
      "url_suffix": "<string>",
      "product_count": 0,
      "children_count": 0,
      "include_in_menu": true
    }
  ],
  "root_count": 0,
  "total_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/1b13ec22-3420-4ef6-9812-1d7e1ac4890c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "1b13ec22-3420-4ef6-9812-1d7e1ac4890c",
    "variables": {
        "max_depth": 3,
        "include_hidden": false
    }
}'

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="1b13ec22-3420-4ef6-9812-1d7e1ac4890c") — the "get_category_hierarchy" function, which retrieves the Yochananof product catalog hierarchy from https://www.yochananof.co.il. Returns a category tree with configurable nesting up to three levels and category metadata..

It takes max_depth (int), include_hidden (bool). Return the result as structured JSON.