Skip to content
96Astro API

Panchang & almanac

Available

Moon Metrics API

Phase, illumination, age and distance of the Moon at a moment, and the month's perigee and apogee.

  • POST /v1/panchang/moon-metrics
  • 1 credit
Request
curl https://api.96astroapi.com/v1/panchang/moon-metrics \  -H "Authorization: Bearer $ASTRO_API_KEY" \  -H "Content-Type: application/json" \  -d '{
      "datetime": "2026-11-05T12:00:00",
      "timezone": "Asia/Kolkata"
    }'

Overview

Phase, illumination, age and distance of the Moon at a moment, and the month's perigee and apogee.

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

  • POST /v1/panchang/moon-metrics
  • 1 credit
  • Date

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.

  • atstring
  • phasestring
  • illumination_percentnumber
  • age_daysnumber
  • distance_kmnumber
  • sign_tropicalstring
  • month_extremesarray of object
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

Moon Metrics API: common questions

4answers

Ask the team
01What does the Moon Metrics API return?

Phase, illumination, age and distance of the Moon at a moment, and the month's perigee and apogee. The response's data object includes at, phase, illumination_percent, age_days, distance_km, sign_tropical and month_extremes. See the reference for an example response.

02What input does Moon Metrics need?

Date.

03How much does a Moon Metrics 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.