Log inGet a key

Astrology & calendars

Panchang API

Today’s panchang for 23 Indian cities — tithi, paksha, nakshatra, yoga, karana, sunrise and sunset in one flat response.

/panchangfree allowance included
api.apimitra.in /panchang
am@mitra ~ %$curl "https://api.apimitra.in/panchang?city=delhi"
{
"status": "ok",

"api": "panchang",

"source": "live",

"city": "Delhi",

"date": "2026-08-03",

"tithi": "Panchami upto 10:54 PM",

"paksha": "Krishna",

"nakshatra": "Uttara Bhadrapada upto 10:00 PM",

"yoga": "Sukarma upto 09:13 PM",

"karana": "Kaulava upto 11:08 AM",

"sunrise": "05:09 AM",

"sunset": "06:16 PM",

"weekday": "Monday"

}

23

Indian cities

5:30 AM IST

daily refresh

6

panchang fields

live → math

source fallback

About the API

What this endpoint does.

Shops, weddings and many Indian households open the panchang before starting anything. This endpoint returns the full daily panchang for a city — tithi with its paksha, nakshatra, yoga, karana, and sunrise/sunset — as plain fields, no charts to decode.

It refreshes daily at 5:30 AM IST for 23 cities from live sources, and falls back to astronomical math if a live source is unavailable — so the response is never empty.

Who builds on this

Built for the teams shipping real products.

  1. 01

    Wedding & events

    Pick muhurat-friendly dates by showing the day’s tithi and nakshatra to the family.

  2. 02

    Astrology apps

    Headline today’s panchang per city instead of asking users to read a printed almanac.

  3. 03

    Retail & openings

    Let storefronts echo the city’s panchang — a small trust signal in every app.

Under the hood

What you send. What comes back.

Request

Inputs you send

  • cityoptional

    kolkata, delhi, mumbai… Omitted → kolkata.

  • dateoptional

    YYYY-MM-DD or DD-MM-YYYY. Omitted → today (IST).

Response

JSON you get back

  • tithi

    with "upto" time when it changes mid-day.

  • paksha

    Shukla or Krishna.

  • nakshatra

    with the change time, when applicable.

  • yoga / karana

    the remaining two of the five limbs.

  • sunrise / sunset

    local times for the queried city.

Try it

One call, real data.

Try it in the playground
/panchang?city=delhi
am@mitra ~ %$curl "https://api.apimitra.in/panchang?city=delhi"
{
"status": "ok",

"api": "panchang",

"source": "live",

"city": "Delhi",

"date": "2026-08-03",

"tithi": "Panchami upto 10:54 PM",

"paksha": "Krishna",

"nakshatra": "Uttara Bhadrapada upto 10:00 PM",

"yoga": "Sukarma upto 09:13 PM",

"karana": "Kaulava upto 11:08 AM",

"sunrise": "05:09 AM",

"sunset": "06:16 PM",

"weekday": "Monday"

}

Free tier

Ship on this API free, then pay only when your calls outgrow it.

  • A free monthly request allowance on your first key — enough to build and test.
  • The same key works across every endpoint, so you can switch APIs as you grow.
  • When the free requests end, upgrade to paid — your code and endpoints don’t change.

Every endpoint includes a free monthly request allowance — the size differs from API to API. When your free requests run out, you move to a paid plan with the same key. No card needed to start.

Start with Panchang, free.

Create an account and we’ll issue your free API key in minutes — this endpoint included.

© 2026 API Mitra. All rights reserved.

service statusMade in India