get_medication_details
al-dawaa.comGets complete medication details and location-specific pharmacy stock from https://www.al-dawaa.com by product code. Returns price, aggregate stock, categories, prescription requirements, pickup and delivery availability, plus all non-empty product and pharmacy fields exposed by Al-Dawaa.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_medication_details?
Gets complete medication details and location-specific pharmacy stock from https://www.al-dawaa.com by product code. Returns price, aggregate stock, categories, prescription requirements, pickup and delivery availability, plus all non-empty product and pharmacy fields exposed by Al-Dawaa. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass product_code, city, district, store_page, store_page_size and get the result back without maintaining a scraper.
Response
{
"stores": [
{}
],
"product": {},
"summary": {},
"location": {},
"store_pagination": {}
}Call it
curl --location 'https://us-prod.notte.cc/functions/0906d976-01cd-4e54-af4e-f194dae1a9ac/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "0906d976-01cd-4e54-af4e-f194dae1a9ac",
"variables": {
"product_code": "102020",
"city": "Riyadh",
"district": "Al Ulaya",
"store_page": 0,
"store_page_size": 20
}
}'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="0906d976-01cd-4e54-af4e-f194dae1a9ac") — the "get_medication_details" function, which gets complete medication details and location-specific pharmacy stock from https://www.al-dawaa.com by product code. Returns price, aggregate stock, categories, prescription requirements, pickup and delivery availability, plus all non-empty product and pharmacy fields exposed by Al-Dawaa.. It takes product_code (str), city (str), district (str), store_page (int), store_page_size (int). Return the result as structured JSON.