निःशुल्क नेपाली पात्रो API र विजेट

एक लाइन कोडले आफ्नो वेबसाइटमा नेपाली पात्रो राख्नुहोस्, वा हाम्रो मिति तथ्यांक आफ्नै एपमा प्रयोग गर्नुहोस्। बिटा अवधिभर निःशुल्क, त्रिसंवत्को लिंक देखिने गरी राख्नुपर्ने सर्तमा।

बिटा त्रिसंवत् बिटा संस्करणमा छ। गलत मिति वा त्रुटि भेट्नुभयो? hello@trisambat.com मा इमेल गर्नुहोस्।

पात्रो विजेट

पूर्वावलोकन

Calendar API (v1)

A free, read-only JSON API with no key and no sign-up. Every response is a static file, so it is fast and can be called from any website (CORS is open). Files are rebuilt every day at 00:05 Nepal time.

Endpoints
EndpointReturns
/api/v1/today.jsonToday in Nepal, as a day object
/api/v1/bs/2083/07.jsonEvery day of a Bikram Sambat month (BS 2000 to 2090)
/api/v1/ad/2026/10.jsonEvery day of a Gregorian month (14 April 1943 to 13 April 2034)
/api/v1/holidays/2083.jsonFestivals and public holidays of a BS year
/api/v1/rashifal/today.jsonToday’s rashifal for all 12 rashis, in Nepali and English
/api/v1/index.jsonVersion, supported range, years with verified holidays, and the endpoint list

Months are two digits (07). Base URL: https://trisambat.com.

Example

// BS to AD: fetch the BS month, then pick the day.
const res = await fetch('https://trisambat.com/api/v1/bs/2083/07.json');
const month = await res.json();
const day = month.days.find((d) => d.bs.day === 11);
console.log(day.ad); // "2026-10-28"

The day object

{
  "ad": "2026-10-28",
  "bs": { "year": 2083, "month": 7, "day": 11 },
  "ns": { "year": 1146, "month": 12, "leapMonth": false, "paksha": "krishna", "tithi": 3 },
  "weekday": 3,
  "text": {
    "bs": { "ne": "११ कार्तिक २०८३, बुधबार", "en": "11 Kartik 2083, Wednesday" },
    "ad": { "ne": "बुधबार, २८ अक्टोबर २०२६", "en": "Wednesday, 28 October 2026" },
    "ns": { "ne": "११४६ कौलागा तृतीया", "en": "1146 Kaulā Gā 3 (Tritiya)" },
    "tithi": { "ne": "कार्तिक कृष्ण तृतीया", "en": "Kartik Krishna Tritiya" }
  },
  "sunrise": "06:11",
  "sunset": "17:22",
  "holiday": false,
  "events": [],
  "provisional": false
}
  • weekday: 0 = Sunday … 6 = Saturday. Dates and sunrise/sunset times are in Nepal time (UTC+5:45).
  • holiday: Saturday or a national public holiday. Each event’s holiday is national, women, regional, community or null.
  • events[].verified: true when the date comes from the Government of Nepal holiday list for that year.
  • provisional: true for BS 2084 to 2090, whose month lengths are not yet officially published.
  • Tithi and Nepal Sambat are calculated astronomically for Kathmandu. On some days a tithi that changes within about two hours of sunrise can differ by one day from the official Nepali Panchanga.

Terms for the API and widget

  • Free during the beta, for personal and commercial use.
  • Show a visible link to trisambat.com wherever you display the data (the widget code includes one).
  • Cache responses and avoid unnecessary repeated requests. We may limit traffic that harms the service.
  • Version v1 may gain fields but will not lose them without notice. There is no uptime guarantee during the beta.
  • The data is provided as is and is not an official government calendar. The site’s terms of use also apply.
  • Questions or a higher-volume use: hello@trisambat.com