Moon Phase API

Lunar phase calculator with zodiac sign

GET/astrology/moon-phase/currentGET/astrology/moon-phase/calendar/{year}/{month}GET/astrology/moon-phase/upcoming

Get current moon phase with illumination percentage, lunar age (days since new moon), zodiac sign, and distance from Earth. Returns phase name (New Moon, Waxing Crescent Moon, First Quarter Moon, Waxing Gibbous Moon, Full Moon, Waning Gibbous Moon, Last Quarter Moon, Waning Crescent Moon) plus exact lunar position. Perfect for moon tracking apps, lunar calendars, astrology widgets, and gardening by moon phase tools.

Request

GET /api/v2/astrology/moon-phase/current

Parameters

ParameterTypeDescription
langquerystring enumResponse language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English. Default en.
datequerystring (date)Date in YYYY-MM-DD format. Defaults to today if omitted.
timequerystring (time)Time in 24-hour HH:MM:SS format. Defaults to 12:00:00 (noon). Moon moves ~13 degrees per day so time affects phase precision.
timezonequerynumber or string or valueIANA name (e.g. "America/New_York", "Europe/London") OR decimal hours (e.g. -5 for EST, 1 for CET). IANA resolved to the DST-correct offset for the given date. Defaults to 0 (UTC). Default 0.

Response

Structured JSON with documented fields, verified against NASA JPL Horizons across 828 gold-standard tests. Not hallucinated text.

200 OK
{
  "date": "2025-12-18",
  "phase": "Waxing Gibbous Moon",
  "illumination": 78.5,
  "age": 10.25,
  "sign": "Pisces",
  "degree": 15.42,
  "distance": 384400
}

Response fields

FieldTypeDescription
date*stringDate of this moon phase calculation (YYYY-MM-DD).
phase*stringCurrent lunar phase name. One of: New Moon, Waxing Crescent Moon, First Quarter Moon, Waxing Gibbous Moon, Full Moon, Waning Gibbous Moon, Last Quarter Moon, Waning Crescent Moon.
illumination*numberMoon illumination percentage (0-100). 0 = New Moon, 100 = Full Moon.
age*numberLunar age in days since the last New Moon. Full lunation cycle is ~29.53 days.
sign*stringTropical zodiac sign the Moon currently occupies.
degree*numberDegree of the Moon within its current zodiac sign (0-29.999).
distance*numberDistance from Earth to the Moon in kilometers.
meaningobjectMoon phase meaning and astrological interpretation. Includes energy direction, keywords, and guidance for this lunar phase.
meaning.name*stringMoon phase display name.
meaning.symbol*stringMoon phase emoji symbol.
meaning.description*stringAstrological interpretation of this lunar phase and its influence on activities, emotions, and intentions.
meaning.keywords*array of stringKey themes and activities aligned with this moon phase.
meaning.energy*string enumLunar energy direction: waxing (building), waning (releasing), new (beginning), or full (culmination).
meaning.illumination*stringIllumination range description for this phase.

Supported options

lang

entrdeeshiptfrru

Call it in your language in seconds.

Every snippet is generated from the live OpenAPI spec, so method names, parameters, and fields always match production.

TypeScript
import { createRoxy } from '@roxyapi/sdk'

const roxy = createRoxy(process.env.ROXY_API_KEY!)
const { data } = await roxy.astrology.getCurrentMoonPhase()
Install: npm install @roxyapi/sdk

Prefer to try before you write code? Run this Western Astrology endpoint live in the API playground and inspect a real production response.

More Moon Phase endpoints

The Moon Phase API bundles these related endpoints under one key.

GET/astrology/moon-phase/calendar/{year}/{month}

Get lunar calendar - Moon phases for entire month

Get complete lunar calendar showing moon phase and illumination for every day of a specific month. Perfect for creating moon phase calendars, lunar planners, and astrology event schedules.

Try it live
GET/astrology/moon-phase/upcoming

Get upcoming moon phases - Next new moon, full moon, quarters

Get upcoming moon phase transitions (New Moon, First Quarter, Full Moon, Last Quarter) for the next weeks/months. Returns dates and phase names for each lunar quarter. Perfect for lunar event calendars, moon phase widgets, and astrology planning tools.

Try it live

Remote MCP for AI agents

Every Western Astrology endpoint is a callable tool on the Remote MCP server over Streamable HTTP. No local setup, no Docker. Claude, ChatGPT, Cursor, and any MCP client auto-discover the tools and ground their answers in verified data.

Claude Code / Cursor
claude mcp add --transport http \
  roxy-astrology https://roxyapi.com/mcp/astrology \
  --header "X-API-Key: YOUR_KEY"

Tool name for GET /astrology/moon-phase/current: get_astrology_moon_phase_current. Full MCP setup guide

What you can build

Launch natal chart apps with professional-grade accuracy: birth charts, planet positions, house placements, aspects, and element analysis ready for your UI in days

Add zodiac compatibility scoring to dating apps: synastry analysis, composite charts, and compatibility scores with detailed relationship dynamics

Ship personalized horoscope platforms: publisher-grade daily, weekly, and monthly forecasts with unique content per sign, active transit metadata, Moon phase data, and date scheduling for editorial pre-publishing

Build AI astrology chatbots with MCP: your OpenAI, Claude, or Gemini agent auto-discovers and calls every astrology endpoint with zero integration code

Power wellness and lifestyle apps with real-time transits, moon phase calendars, solar returns, and planetary movement alerts for self-discovery features

Create astrology content engines: automated zodiac content with house-based uniqueness per sign, horoscope newsletters with real lunar event dates, transit alerts, and seasonal forecasts at scale

Drop-in UI components

Render Moon Phase API responses without building charts yourself. These open source, framework-agnostic web components take the typed response and draw it, in React, Vue, Svelte, Angular, plain HTML, and WordPress.

<roxy-moon-phase>
See them live on Roxy UI

Related capabilities

Moon Phase API FAQ

What does the Moon Phase API return?

Get current moon phase with illumination percentage, lunar age (days since new moon), zodiac sign, and distance from Earth. Every response is structured JSON with documented fields, not free text, so you map it straight into your product.

How do I authenticate with the Moon Phase API?

Pass your key in the X-API-Key header on every request. Keys are delivered instantly at checkout with no approval queue. Use a secret sk key server side, or mint a publishable pk key locked to your origins for browser and no-code use.

Does the Moon Phase API support multiple languages?

Yes. Append the lang query parameter to any endpoint for responses in English, German, Spanish, French, Hindi, Portuguese, Russian and Turkish. The translated payload includes the full interpretation text, not just field labels.

Is the Moon Phase API available over Remote MCP for AI agents?

Yes. Every endpoint is exposed as a callable tool on the Remote MCP server at https://roxyapi.com/mcp/astrology over Streamable HTTP, so Claude, ChatGPT, Cursor, and any MCP client auto-discover it with no local setup or Docker.

How is the Moon Phase API billed?

Flat pricing: 1 request equals 1 quota unit, REST and MCP identical, with no credit weighting or per-token markup. Every plan includes all 12 domains, so the Moon Phase API is included at no extra cost.

What lang values does the Moon Phase API accept?

The lang parameter accepts en, tr, de, es, hi, pt, fr, ru. Case-insensitive where it is a path value.

Start using Moon Phase API today.

Ship your astrology app this weekend. Not this quarter.

All 12 domains included with every plan. Every endpoint, MCP server, SDK, and starters.

Plans from $39/mo, starting at $2.70 per domain on annual billing. No credit card required for testing.

View Pricing & Get API Key