Marketplace
No threads yet
Live

get_date_details

hamropatro.com

Returns one Bikram Sambat date from https://www.hamropatro.com with its Gregorian equivalent, holidays, bilingual events, moon times, and complete panchanga data.

Parameters3
Runs4
Updated1d ago
Operational4 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 get_date_details?

Returns one Bikram Sambat date from https://www.hamropatro.com with its Gregorian equivalent, holidays, bilingual events, moon times, and complete panchanga data. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass year, month, day and get the result back without maintaining a scraper.

Response

{
  "events": {
    "items": [
      {
        "is_holiday": true,
        "title_nepali": "<string>",
        "title_english": "<string>"
      }
    ],
    "image_url": "<string>",
    "is_holiday": true,
    "title_nepali": "<string>",
    "title_english": "<string>",
    "article_url_nepali": "<string>",
    "article_url_english": "<string>"
  },
  "is_today": true,
  "panchanga": {
    "yoga": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "rashi": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "tithi": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "karana": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "paksha": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "sunset": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "moonset": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "sunrise": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "moonrise": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "yoga_end": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "nakshatra": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "tithi_end": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "karana_end": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "yoga_index": 0,
    "rashi_index": 0,
    "tithi_index": 0,
    "karana_index": 0,
    "paksha_index": 0,
    "nakshatra_end": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "source_labels": {
      "yoga_english": "<string>",
      "karana_english": "<string>",
      "nakshatra_english": "<string>",
      "full_tithi_english": "<string>"
    },
    "moon_rashi_end": {
      "time_24h": "<string>",
      "day_offset": 0,
      "time_24h_with_seconds": "<string>",
      "seconds_from_day_start": 0
    },
    "nakshatra_index": 0,
    "month_type_index": 0,
    "lunar_month_index": 0
  },
  "is_holiday": true,
  "moon_phase": {
    "name": {
      "nepali": "<string>",
      "english": "<string>"
    },
    "emoji": "<string>"
  },
  "source_url": "<string>",
  "day_of_week": {
    "nepali": "<string>",
    "english": "<string>"
  },
  "nepali_date": {
    "day": 0,
    "iso": "<string>",
    "year": 0,
    "month": 0,
    "month_name": {
      "nepali": "<string>",
      "english": "<string>"
    }
  },
  "tithi_shifted": true,
  "gregorian_date": {
    "day": 0,
    "iso": "<string>",
    "year": 0,
    "month": 0
  },
  "day_of_week_index": 0,
  "is_weekend_holiday": true,
  "auspicious_activities": [
    "<string>"
  ],
  "display_tithi_english": "<string>",
  "days_relative_to_today": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/f3ecb291-fd54-4b7d-bb34-f507c61f2dd7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "f3ecb291-fd54-4b7d-bb34-f507c61f2dd7",
    "variables": {
        "year": 2082,
        "month": 1,
        "day": 1
    }
}'

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="f3ecb291-fd54-4b7d-bb34-f507c61f2dd7") — the "get_date_details" function, which returns one Bikram Sambat date from https://www.hamropatro.com with its Gregorian equivalent, holidays, bilingual events, moon times, and complete panchanga data..

It takes year (int), month (int), day (int). Return the result as structured JSON.