get_medicine_information
1mg.comExtracts structured medicine information from embedded state on https://1mg.com, including composition, uses, side effects, mechanism, safety advice, introduction and fact box data.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_medicine_information?
Extracts structured medicine information from embedded state on https://1mg.com, including composition, uses, side effects, mechanism, safety advice, introduction and fact box data. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass slug_id, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"uses": {
"uses": [
"<string>"
],
"title": "<string>"
},
"slug_id": "<string>",
"fact_box": {
"facts": [
{
"label": "<string>",
"value": "<string>"
}
],
"title": "<string>"
},
"page_url": "<string>",
"product_id": 0,
"composition": {
"url": "<string>",
"text": "<string>"
},
"product_name": "<string>",
"side_effects": {
"title": "<string>",
"effects": [
"<string>"
],
"category": "<string>",
"guidance": "<string>"
},
"safety_advice": {
"title": "<string>",
"advice": [
{
"category": "<string>",
"description": "<string>",
"recommendation": "<string>"
}
]
},
"mechanism_of_action": {
"title": "<string>",
"content": "<string>"
},
"product_introduction": {
"title": "<string>",
"content": "<string>"
}
}Call it
curl --location 'https://us-prod.notte.cc/functions/452c2971-49e2-47d1-8eec-0602a0029a14/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "452c2971-49e2-47d1-8eec-0602a0029a14",
"variables": {
"slug_id": "DEFAULT_SLUG_ID",
"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="452c2971-49e2-47d1-8eec-0602a0029a14") — the "get_medicine_information" function, which extracts structured medicine information from embedded state on https://1mg.com, including composition, uses, side effects, mechanism, safety advice, introduction and fact box data.. It takes slug_id (str), timeout_seconds (int). Return the result as structured JSON.