Marketplace
No threads yet
Live

list_merchant_products_by_sales

shop.app

Retrieves paginated product listings for a merchant from https://shop.app using broker_id, sorted by most sales. Returns non-empty product nodes with pricing, images, and review analytics plus flat hasNextPage/endCursor pagination fields.

Parameters5
Runs8
Updated8d ago
Operational8 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 list_merchant_products_by_sales?

Retrieves paginated product listings for a merchant from https://shop.app using broker_id, sorted by most sales. Returns non-empty product nodes with pricing, images, and review analytics plus flat hasNextPage/endCursor pagination fields. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass broker_id, first, after, in_stock, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "after": "<string>",
  "first": 0,
  "products": [
    {}
  ],
  "broker_id": "<string>",
  "endCursor": "<string>",
  "hasNextPage": true,
  "returned_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/051712e0-acc3-4537-ab9e-649289d67021/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "051712e0-acc3-4537-ab9e-649289d67021",
    "variables": {
        "broker_id": "198299",
        "first": 20,
        "after": "",
        "in_stock": true,
        "timeout_seconds": 35
    }
}'

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="051712e0-acc3-4537-ab9e-649289d67021") — the "list_merchant_products_by_sales" function, which retrieves paginated product listings for a merchant from https://shop.app using broker_id, sorted by most sales. Returns non-empty product nodes with pricing, images, and review analytics plus flat hasNextPage/endCursor pagination fields..

It takes broker_id (str), first (int), after (str), in_stock (bool), timeout_seconds (int). Return the result as structured JSON.