Marketplace
No threads yet
Live

fetch_ayurveda_herbs_by_letter

1mg.com

Fetches Ayurveda herbs listed alphabetically from https://1mg.com with page metadata. Returns herbs for the requested starting letter with count and total_count.

Parameters5
Runs8
Updated8d ago
Operational8 runs · 100% 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 fetch_ayurveda_herbs_by_letter?

Fetches Ayurveda herbs listed alphabetically from https://1mg.com with page metadata. Returns herbs for the requested starting letter with count and total_count. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass letter, page, per_page, city, locale and get the result back without maintaining a scraper.

Response

{
  "page": 0,
  "site": "<string>",
  "count": 0,
  "herbs": [
    {
      "name": "<string>",
      "slug": "<string>",
      "image_url": "<string>",
      "description": "<string>"
    }
  ],
  "letter": "<string>",
  "per_page": 0,
  "total_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/fc748153-63b0-4eb5-83ca-d05a34728dfb/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "fc748153-63b0-4eb5-83ca-d05a34728dfb",
    "variables": {
        "letter": "A",
        "page": 1,
        "per_page": 50,
        "city": "Gurgaon",
        "locale": "en"
    }
}'

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="fc748153-63b0-4eb5-83ca-d05a34728dfb") — the "fetch_ayurveda_herbs_by_letter" function, which fetches Ayurveda herbs listed alphabetically from https://1mg.com with page metadata. Returns herbs for the requested starting letter with count and total_count..

It takes letter (str), page (int), per_page (int), city (str), locale (str). Return the result as structured JSON.