Marketplace
No threads yet
Live

get_category_products

hanes.com

Retrieves a paginated Hanes category from https://hanes.com by navigation path, including comprehensive product details, configurable options, live variant availability, facets, and pagination.

Parameters5
Runs10
Updated10d ago
Failing10 runs · 70% 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_products?

Retrieves a paginated Hanes category from https://hanes.com by navigation path, including comprehensive product details, configurable options, live variant availability, facets, and pagination. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass category_path, page, page_size, sort, sort_direction and get the result back without maintaining a scraper.

Response

{
  "items": [
    {}
  ],
  "facets": [
    {}
  ],
  "page_info": {
    "page_size": 0,
    "total_pages": 0,
    "current_page": 0
  },
  "total_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/f2b5b84b-995d-4e46-9c11-33305b802f4b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "f2b5b84b-995d-4e46-9c11-33305b802f4b",
    "variables": {
        "category_path": "men",
        "page": 1,
        "page_size": 24,
        "sort": "position",
        "sort_direction": "asc"
    }
}'

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="f2b5b84b-995d-4e46-9c11-33305b802f4b") — the "get_category_products" function, which retrieves a paginated Hanes category from https://hanes.com by navigation path, including comprehensive product details, configurable options, live variant availability, facets, and pagination..

It takes category_path (str), page (int), page_size (int), sort (str), sort_direction (str). Return the result as structured JSON.