Forecast API

Ship a cross-domain forecast your users can plan around. This week.

Transit ForecastForecast TimelineSignificant Dates …and so much more

<200mslatency
99.95%+uptime

Start building in seconds.

Want to try without writing code? Try this domain live in API playground →

Terminal
npm install @roxyapi/sdk
import { createRoxy } from '@roxyapi/sdk'

const roxy = createRoxy(process.env.ROXY_API_KEY!)
const { data } = await roxy.forecast.get(/* ... */)
SDK docs

Want to ship faster? Clone a free template and go from zero to production in 30 minutes.

Building with Cursor, Claude Code, or Bolt? Use our AI prompts to generate a complete app in minutes.

Building on WordPress? Install the RoxyAPI plugin and drop a shortcode, no code required.

POST /api/v2/forecast/timeline
{
  "birthData": {
    "date": "1990-07-15",
    "time": "13:30:00",
    "timezone": -4,
    "latitude": 0,
    "longitude": 0
  },
  "startDate": "2026-06-01",
  "endDate": "2026-08-29",
  "count": 114,
  "events": [
    {
      "date": "2026-06-01",
      "datetime": "2026-06-01T11:55:42Z",
      "domain": "western",
      "type": "sign-ingress",
      "body": "Mercury",
      "target": "Cancer",
      "description": "Mercury enters Cancer, beginning a new sign cycle.",
      "significance": 30
    },
    {
      "date": "2026-06-02",
      "datetime": "2026-06-02T18:06:37Z",
      "domain": "western",
      "type": "transit-aspect",
      "body": "Mercury",
      "target": "Mars",
      "aspect": "sextile",
      "orb": 0,
      "description": "Transiting Mercury sextile natal Mars, an exact aspect within 0 degrees.",
      "significance": 52
    },
    {
      "date": "2026-06-05",
      "datetime": "2026-06-05T20:50:17Z",
      "domain": "western",
      "type": "transit-aspect",
      "body": "Mercury",
      "target": "Uranus",
      "aspect": "opposition",
      "orb": 0,
      "description": "Transiting Mercury opposition natal Uranus, an exact aspect within 0 degrees.",
      "significance": 52
    },
    {
      "date": "2026-06-06",
      "datetime": "2026-06-06T00:00:00Z",
      "domain": "biorhythm",
      "type": "critical-day",
      "body": "physical",
      "description": "Biorhythm critical day: the physical cycle crosses zero, an unstable transition point.",
      "significance": 14
    },
    {
      "date": "2026-06-06",
      "datetime": "2026-06-06T13:31:34Z",
      "domain": "western",
      "type": "transit-aspect",
      "body": "Venus",
      "target": "Saturn",
      "aspect": "opposition",
      "orb": 0,
      "description": "Transiting Venus opposition natal Saturn, an exact aspect within 0 degrees.",
      "significance": 52
    },
    {
      "date": "2026-06-08",
      "datetime": "2026-06-08T02:24:14Z",
      "domain": "western",
      "type": "transit-aspect",
      "body": "Mars",
      "target": "Pluto",
      "aspect": "opposition",
      "orb": 0,
      "description": "Transiting Mars opposition natal Pluto, an exact aspect within 0 degrees.",
      "significance": 67
    }
  ]
}

Structured JSON with documented fields. Not hallucinated text. See all endpoints

Drop-in UI components & widgets

Render Forecast API responses without building charts yourself. Install the npm package and drop these into Next.js, React, Vue, Svelte, Angular, or plain HTML, or embed the very same component on Squarespace, Wix, or WordPress by pasting one snippet, with no backend and no build step. They belong to one library that covers the entire spiritual stack rather than astrology alone, MIT licensed and included in every plan at no extra cost, never a separate product and never an upsell. The Forecast API calculations, the interface that renders them, and the Remote MCP your agent calls, all behind one key, end to end.

MIT licensedFramework agnosticThemeable via CSS variablesnpm or CDN
Show all Forecast UI components
ElementRenders
<roxy-forecast-timeline>Date-grouped events across Western, Vedic, and biorhythm domains, weighted by significance
<roxy-forecast-digest>Per-window event counts, domain breakdown, and the highest-significance events

Works with your stack

Claude CodeCursorAntigravityChatGPTWindsurfVS Code CopilotOpenAI AgentsGeminiLangChainCrewAIVercel AI SDK

Forecast API that merges upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and Vimshottari dasha changes into one time-ordered forecast for a single subject. The only cross-domain forecast timeline behind one key, positions verified against NASA JPL Horizons, available over Remote MCP with typed SDKs. Horizon capped at 90 days.

Every Forecast calculation is covered by 6,991 automated tests per deploy, 1,527 of them gold-standard tests locked to named external references such as NASA JPL Horizons, with a public MIT benchmark repo anyone can clone and re-run. See how we test.

Multi-language API responses

EnglishDeutschEspanolFrancaisHindiPortuguesRusskiyTurkce

Key Features

Everything you need from our Forecast API, built for production:

One merged timeline across three engines: western transit-to-natal aspects, sign ingresses, retrograde stations, eclipses, and new and full moons, biorhythm critical days, and vedic Vimshottari mahadasha, antardasha, and pratyantardasha boundaries

Single subject per request and one forecast per response, a stateless bounded forecast rather than an open-ended batch scan

Server-clamped 90 day horizon and a 200 event cap, with the highest-significance events surviving the cap

Every astronomical event refined to its exact instant by search, not reported at a coarse daily sample point

Significance scoring from 0 to 100 so outer-planet exact aspects and mahadasha changes rank above fast Moon events and critical days

Selectable domains: request the full cross-domain merge, a western-only transit forecast, or just the high-significance dates

All 5 Endpoints

Every one is live in the public OpenAPI spec and callable as an MCP tool. Click any endpoint to view detailed documentation, parameters, and response examples.

Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical daysBuild one time-ordered forecast for a single birth subject by merging upcoming events across three domains: western transit-to-natal aspects, sign ingresses, retrograde stations, eclipses, and new and full moons; biorhythm critical days; and vedic Vimshottari mahadasha, antardasha, and pratyantardasha boundaries. The window is clamped to 90 days and events are capped and scored by significance. Built for what-is-coming dashboards, daily and weekly forecast feeds, and timing tools.Western astrology forecast - aspects, ingresses, stations, eclipses, moon phasesForecast the western astrology events for a single birth chart over a window up to 90 days: every transit-to-natal major aspect refined to its exact instant, every transiting planet sign ingress, every retrograde or direct station, every solar and lunar eclipse, and every New and Full Moon. Returns a time-ordered, significance-scored timeline. Built for astrology forecast feeds, transit alerts, and timing tools.Significant dates - High-significance cross-domain forecast highlightsReturn only the high-significance dates from the merged cross-domain forecast for a single birth subject: the rare outer-planet exact transit aspects, slow-planet sign ingresses, retrograde stations, and Vimshottari mahadasha and antardasha changes that mark genuine turning points. Defaults to a significance floor of 70 so the response is a short list of the most meaningful upcoming dates. Built for what-is-coming highlights, timing alerts, and at-a-glance forecast strips.Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollupsRoll the cross-domain forecast for a single birth subject into four pre-summarized windows: the next 24 hours, 7 days, 30 days, and 90 days from the start date. Each window returns its event count, a per-domain count breakdown, a per-type count breakdown, and the top highest-significance events. Built for a glanceable what-is-coming strip so a caller can render the upcoming highlights without scanning the full event list.Solar return chart - Annual birthday forecast chart for a single subjectCast the solar return chart for one subject and year: the chart erected for the exact moment the transiting Sun returns to its natal ecliptic longitude, the foundational technique for annual astrological forecasting. Returns the full tropical chart with planetary positions, house cusps, aspects, Ascendant, and Midheaven. Location-sensitive: pass the birthplace to anchor the chart to natal geography, or the current city for a relocated solar return where the houses and Ascendant shift to where you are on your birthday. Built for year-ahead forecast tools, birthday charts, and annual horoscope features.

Free Templates for Forecast

Clone. Edit. Ship. Free and open source by Team Roxy.

Browse all templates or use AI prompts to generate a custom app.

What You Can Build with Forecast API

Real-world applications and use cases for integrating Forecast API into your projects:

Spiritual and self-discovery apps: a forward-looking what is coming digest that blends astrology and biorhythm in one call

AI chatbots and coaching assistants: significant-date awareness via remote MCP tool calls for timing conversations

Wellness and mindfulness platforms: critical-day and transit alerts for planning demanding or restful periods

Calendar and planner integrations: a time-ordered event stream ready to drop onto a date strip or notification feed

Astrology and Vedic practitioner tools: upcoming transits, stations, and dasha boundaries for one client at a time

Content and editorial platforms: significant upcoming dates for forecast columns and personalized timing pages

What developers are saying

DM

Dhani M.

Indie App Developer

Shipped an astrology app over a long weekend. Birth charts, nakshatras, KP cusps, significators. I verified the Lahiri ayanamsha values independently and they line up with my reference. One API key for all of it.

Email feedback
TH

Tom H.

Senior Developer

The OpenAPI spec is the most complete I have seen in this space. Generated a type-safe TypeScript client from it in seconds. Every field has descriptions and examples. Production-grade documentation.

Email feedback
CW

Chris W.

Backend Engineer

Response times consistently under 50ms for numerology and tarot endpoints. The API returns structured JSON with every field documented. Integrated it into our platform in an afternoon.

Email feedback

Do not take our word for it. Ask the agents.

The receipts are public: the testing methodology, the open MIT benchmark, the transparency report, and the live API playground. Let ChatGPT, Perplexity, or Claude search the web and tell you what they find about RoxyAPI accuracy, MCP, SDKs, and pricing.

Opens a live web search in a new tab.

Getting started with Forecast API.

From zero to production in 3 steps. No signup required for testing.

3 Steps to Ship

1Install the SDKnpm i @roxyapi/sdk
2Get your API keyView Plans
3Make your first callView Docs

Agent-Ready Infrastructure

MCP

Remote MCP, llms.txt, and AGENTS.md. The full agent-readiness stack for 12+ domains under one key.

  • Remote MCP server — every endpoint auto-discovered as a tool by Claude, ChatGPT, Cursor over Streamable HTTP. No Docker.
  • Token-optimized responses — opt-in compact mode returns the same data with each field name sent once, cutting the tokens your agent reads per call by roughly 40 to 52 percent. Lossless, and one call still counts as one request.
  • llms.txt — AI-native discovery surface for ChatGPT, Perplexity, and Gemini citation
  • AGENTS.md — 2026 execution playbook for Cursor, Codex, Windsurf, Aider, Claude Code, Gemini CLI. Bundled in the SDK.

From your AI agent to a verified Forecast answer.

Your AI agentyour model, your voice
Remote MCPauto-discovered, no local setupToken-optimized
Roxy Ephemeris6,991 tests, 1527 vs NASA JPL
Verified result12 domains, one flat rate

Your agent grounds every answer in verified calculations and replies in your own voice, so it never hallucinates a chart, date, or reading. No local setup, no AGPL, no hosted-AI markup.

Audit it yourself: every Forecast endpoint runs live in the API playground

Forecast API FAQ

What is the best astrology transits API for upcoming transit forecasts?

The forecast API returns a clean transit forecast for any birth chart over the days ahead: transiting planet to natal aspects, sign ingresses, retrograde and direct stations, eclipses, and new and full moons, each one placed at its exact instant rather than a rough daily sample. Every event carries a significance score from 0 to 100, so an outer planet aspect ranks above a passing Moon event and your feed leads with what matters. Positions come from Roxy Ephemeris, verified against NASA JPL Horizons. One key also unlocks eleven more spiritual data domains, with instant activation and flat pricing.

How do I build a cross-domain planetary timing timeline in one API call?

This is the standout. A single call merges Western transits, Vedic Vimshottari dasha periods, and biorhythm critical days into one time ordered, significance scored timeline that no single domain service ships. You get the whole picture of what is coming for a person in one response, ready to drop onto a date strip or notification feed. Start with the natural call for the full merge, then narrow to the engines you want or raise the significance floor to trim noise. Call it from the typed SDKs for TypeScript, Python, or PHP, or from our Remote MCP server with no local setup and no Docker.

How do I get only the most important astrological dates from an API?

The forecast API can return just the high significance turning points from the merged timeline: rare outer planet aspects, slow planet sign ingresses, retrograde stations, eclipses, and major Vimshottari dasha changes. Significance runs from 0 to 100, so the big shifts outrank the everyday ones and the result reads like a curated astrological calendar rather than a firehose. That makes it ready for timing alerts, year ahead pages, and at a glance forecast strips. Drop it onto a WordPress site with our plugin, or wire it up with our UI components.

How do I get a Vimshottari dasha timeline with mahadasha and antardasha dates?

Ask the timeline for the Vedic engine and it marks the exact boundaries where each Vimshottari mahadasha, antardasha, and pratyantardasha period begins inside your window. Each boundary names the period and carries a significance score, so a major mahadasha shift ranks above a faster sub period change. Because it is the same cross domain call, those dasha dates interleave with Western transits and biorhythm critical days in one sorted timeline behind a single key. Agents can pull the same data through our Remote MCP server, and an AGENTS.md and llms.txt make the whole catalog easy for tools to discover.

How do I find the next new moon, full moon, and eclipse dates by API?

The forecast API surfaces the new moon and full moon for your window, each refined to its exact instant and tagged with its sign, alongside eclipses classified as penumbral, partial, annular, or total. They arrive inside the same timeline as your transits and dasha dates, so a lunar calendar and a personalized forecast come from one request. Every instant is computed by Roxy Ephemeris and verified against NASA JPL Horizons. The descriptions localize across eight languages while the underlying event types stay stable, so you can branch on them safely.

How do I calculate a solar return chart for a birthday year with an API?

The forecast API casts a solar return for the exact moment the Sun returns to its natal position, the foundational technique for annual birthday and year ahead readings. It returns the full chart with planetary positions, house cusps, aspects, the Ascendant, and the Midheaven. Anchor it to the birthplace, or pass the current location for a relocated solar return where the houses shift to where the person spends their birthday. It is one of twelve domains behind a single key, callable from the typed SDKs and our Remote MCP server, with positions verified against NASA JPL Horizons.

Start using Forecast API today.

Ship a cross-domain forecast your users can plan around. This week.

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