search_medicines_by_location
1mg.comSearches medicines and health products on https://1mg.com by city or Indian PIN code, returning paginated pricing, availability, pack size, prescription status, ratings, and images.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_medicines_by_location?
Searches medicines and health products on https://1mg.com by city or Indian PIN code, returning paginated pricing, availability, pack size, prescription status, ratings, and images. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, delivery_location, page, limit, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"page": 0,
"limit": 0,
"query": "<string>",
"has_more": true,
"products": [
{}
],
"serviceable": true,
"location_type": "<string>",
"resolved_city": "<string>",
"returned_count": 0,
"requested_location": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/c0ce26f3-0b6b-406a-adb1-6cfc5a5f061e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "c0ce26f3-0b6b-406a-adb1-6cfc5a5f061e",
"variables": {
"query": "paracetamol",
"delivery_location": "Gurgaon",
"page": 1,
"limit": 10,
"timeout_seconds": 30
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="c0ce26f3-0b6b-406a-adb1-6cfc5a5f061e") — the "search_medicines_by_location" function, which searches medicines and health products on https://1mg.com by city or Indian PIN code, returning paginated pricing, availability, pack size, prescription status, ratings, and images.. It takes query (str), delivery_location (str), page (int), limit (int), timeout_seconds (int). Return the result as structured JSON.