Marketplace
No threads yet
Live

search_products_by_location

medplusmart.com

Searches medicines and general products on https://www.medplusmart.com for a chosen city or pincode. Resolves the delivery locality and returns paginated product results with area-specific availability, pricing, and full source fields.

Parameters5
Runs10
Updated8d ago
Degraded10 runs · 60% 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 search_products_by_location?

Searches medicines and general products on https://www.medplusmart.com for a chosen city or pincode. Resolves the delivery locality and returns paginated product results with area-specific availability, pricing, and full source fields. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, location_query, page, page_size, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "page": 0,
  "query": "<string>",
  "products": [
    {
      "attribute": {},
      "image_url": "<string>",
      "mrp_price": 0,
      "is_general": true,
      "product_id": "<string>",
      "is_in_stock": true,
      "product_url": "<string>",
      "variant_ids": [
        "<string>"
      ],
      "availability": "<string>",
      "manufacturer": "<string>",
      "max_quantity": 0,
      "mrp_per_unit": 0,
      "product_name": "<string>",
      "variant_name": "<string>",
      "discount_text": "<string>",
      "source_fields": {},
      "composition_name": "<string>",
      "discounted_price": 0,
      "membership_discounted_price": 0
    }
  ],
  "page_size": 0,
  "location_query": "<string>",
  "returned_count": 0,
  "has_more_estimate": true,
  "resolved_locality": {
    "city": "<string>",
    "state": "<string>",
    "hub_id": "<string>",
    "pincode": "<string>",
    "locality": "<string>",
    "place_id": "<string>",
    "config_id": 0,
    "catalog_id": "<string>",
    "allowed_cod": "<string>",
    "combination": "<string>",
    "warehouse_id": "<string>",
    "source_fields": {},
    "location_lat_long": "<string>",
    "allowed_home_delivery": "<string>",
    "allowed_online_payment": true
  },
  "suggestions_count": 0,
  "selected_suggestion": {
    "city": "<string>",
    "state": "<string>",
    "latitude": 0,
    "location": "<string>",
    "pin_code": 0,
    "place_id": "<string>",
    "longitude": 0,
    "sub_locality": "<string>"
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/072689c9-ed57-4aaf-b407-c832e5a75b28/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "072689c9-ed57-4aaf-b407-c832e5a75b28",
    "variables": {
        "query": "paracetamol",
        "location_query": "500072",
        "page": 1,
        "page_size": 30,
        "timeout_seconds": 25
    }
}'

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="072689c9-ed57-4aaf-b407-c832e5a75b28") — the "search_products_by_location" function, which searches medicines and general products on https://www.medplusmart.com for a chosen city or pincode. Resolves the delivery locality and returns paginated product results with area-specific availability, pricing, and full source fields..

It takes query (str), location_query (str), page (int), page_size (int), timeout_seconds (int). Return the result as structured JSON.