Skip to content
96Astro API

Panchang & almanac

Available

Ritu & Ayana API

The season (ritu) and the half-year (ayana: Uttarayana or Dakshinayana) of the day.

  • POST /v1/panchang/ritu-ayana
  • 1 credit
Request
curl https://api.96astroapi.com/v1/panchang/ritu-ayana \  -H "Authorization: Bearer $ASTRO_API_KEY" \  -H "Content-Type: application/json" \  -d '{
      "date": "2026-10-13",
      "timezone": "Asia/Kolkata",
      "latitude": 28.6139,
      "longitude": 77.209
    }'

Overview

The season (ritu) and the half-year (ayana: Uttarayana or Dakshinayana) of the day.

Call it with POST /v1/panchang/ritu-ayana. Input: date and place. Output: JSON, as a direct response. Each successful call costs 1 credit.

  • POST /v1/panchang/ritu-ayana
  • 1 credit
  • Date and place

Part of a bigger answer

The same numbers are also returned, with the rest of the section, by Hindu Calendar Details. This endpoint returns only this part, from the same calculation, at a lower price.

Try it

Runs the real calculation, free and without a key, a few times a minute. For more, and for AI readings, get a free sandbox key.

Response

Ready when you are

Press Run it to see the live response here.

Example response

Fields in dataMeasured from 6 real answers to different inputs: a required field was in every one.

  • datestring
  • locationobject
  • ayanamshaobject
  • calendarobject
200Example response

Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and images are replaced by a placeholder.

Loading the example…

Request schema and every field: the Panchang & almanac reference.

FAQ

Ritu & Ayana API: common questions

4answers

Ask the team
01What does the Ritu & Ayana API return?

The season (ritu) and the half-year (ayana: Uttarayana or Dakshinayana) of the day. The response's data object includes date, location, ayanamsha and calendar. See the reference for an example response.

02What input does Ritu & Ayana need?

Date and place.

03How much does a Ritu & Ayana call cost?

1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.

04Can I try it before paying?

Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.