Live
search_medicines
1mg.comSearches medicines, generic drugs, and health products on https://1mg.com and returns matching records with pagination metadata.
Parameters5
Runs14
Updated10d ago
Operational14 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_medicines?
Searches medicines, generic drugs, and health products on https://1mg.com and returns matching records with pagination metadata. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, page_number, scroll_id, per_page, city and get the result back without maintaining a scraper.
Response
{
"query": "<string>",
"results": [
{
"url": "<string>",
"name": "<string>",
"type": "<string>",
"price": {},
"rating": {},
"identity": "<string>",
"available": true,
"description": "<string>",
"source_type": "<string>",
"source_fields": {}
}
],
"per_page": 0,
"page_number": 0,
"result_count": 0,
"result_found": true,
"generic_count": 0,
"product_count": 0,
"next_scroll_id": "<string>",
"scroll_id_used": "<string>",
"previous_scroll_id": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/cfa14a6f-fd11-4db8-8b59-d1b15ee4b5be/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "cfa14a6f-fd11-4db8-8b59-d1b15ee4b5be",
"variables": {
"query": "paracetamol",
"page_number": 0,
"scroll_id": "",
"per_page": 10,
"city": "Gurgaon"
}
}'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="cfa14a6f-fd11-4db8-8b59-d1b15ee4b5be") — the "search_medicines" function, which searches medicines, generic drugs, and health products on https://1mg.com and returns matching records with pagination metadata.. It takes query (str), page_number (int), scroll_id (str), per_page (int), city (str). Return the result as structured JSON.