Marketplace
No threads yet
Live

list_shop_stock_by_product

krasnoeibeloe.ru

Returns shop-level product stock, availability, schedules, and location details from https://krasnoeibeloe.ru for a city and XML product ID.

Parameters3
Runs8
Updated3d ago
Degraded8 runs · 87.5% 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_shop_stock_by_product?

Returns shop-level product stock, availability, schedules, and location details from https://krasnoeibeloe.ru for a city and XML product ID. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass product_xml_id, city_id, include_out_of_stock and get the result back without maintaining a scraper.

Response

{
  "shops": [
    {
      "id": 0,
      "lat": "<string>",
      "lng": "<string>",
      "num": "<string>",
      "time": "<string>",
      "amount": 0,
      "cityId": 0,
      "address": "<string>",
      "alcTime": {},
      "inStock": true,
      "shopNum": "<string>",
      "workTime": {},
      "avgAmount": 0,
      "draftBeer": true,
      "noAlcohol": true,
      "addressAlt": "<string>",
      "availability": "<string>"
    }
  ],
  "city_id": 0,
  "shop_count": 0,
  "product_xml_id": "<string>",
  "total_city_shops": 0,
  "total_stock_amount": 0,
  "in_stock_shop_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/db734297-aa93-46c0-ab07-517bd1ad15b7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "db734297-aa93-46c0-ab07-517bd1ad15b7",
    "variables": {
        "product_xml_id": "41464",
        "city_id": 1433,
        "include_out_of_stock": 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="db734297-aa93-46c0-ab07-517bd1ad15b7") — the "list_shop_stock_by_product" function, which returns shop-level product stock, availability, schedules, and location details from https://krasnoeibeloe.ru for a city and XML product ID..

It takes product_xml_id (str), city_id (int), include_out_of_stock (bool). Return the result as structured JSON.