Resolve the location
curl "https://roxyapi.com/api/v2/location/search?q=New York" \
-H "X-API-Key: YOUR_KEY"
# -> cities[0]: { latitude, longitude, timezone: "America/New_York" }Ephemeris calculator for all planets
/astrology/planetsPOST /astrology/planets/monthlyPOST /astrology/aspectsPOST /astrology/aspects/monthlyPOST /astrology/housesIncluded with every plan (at no extra cost)
Calculate accurate tropical zodiac positions for all 14 celestial bodies for any date, time, and location. The bodies are the 10 classical planets Sun through Pluto, the lunar nodes, Chiron, and Black Moon Lilith. Returns longitude, latitude, zodiac sign, degree within sign, daily motion speed, retrograde status, and a reading of each body in its sign. Perfect for transit tracking, ephemeris tables, astrology apps, and planetary position widgets. Verified against NASA JPL Horizons.
The Astrology Ephemeris API needs latitude, longitude, and timezone. Never ask users to type coordinates. Resolve a city with the Location endpoint first, then feed the result into the request. Timezone accepts a decimal offset or an IANA name.
curl "https://roxyapi.com/api/v2/location/search?q=New York" \
-H "X-API-Key: YOUR_KEY"
# -> cities[0]: { latitude, longitude, timezone: "America/New_York" }# feed latitude, longitude and timezone from step 1
POST https://roxyapi.com/api/v2/astrology/planetsPOST /api/v2/astrology/planets
| Parameter | Type | Description |
|---|---|---|
langquery, optional | string enum | Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. Default en. |
| Field | Type | Description |
|---|---|---|
daterequired | string (date) | Target date for planetary positions in YYYY-MM-DD format. Use current date for transit positions, or any historical/future date for research. Planets move daily, so this date determines their zodiac positions. |
timerequired | string (time) | Time in 24-hour HH:MM:SS format for precise calculations. Moon moves ~13° per day, so time matters for accurate lunar position. Use 12:00:00 (noon) as default if exact time not needed. |
nodeTypeoptional | string enum | Lunar node convention. "mean" is the smoothed average node, which always moves retrograde; "true" is the osculating node, which tracks the real perturbed node, oscillates up to about 1.5 degrees either side of the mean on a 173-day cycle, and can briefly turn direct. Neither is more correct and they almost always fall in the same sign. Applies to the North and South Node. True is the osculating node and the default, because it is what most Western chart software reports; mean is the smoothed node preferred by several evolutionary schools, so pass "mean" to match one. Nothing else in the chart changes, and the two agree on the sign except when the node sits within about 1.8 degrees of a cusp. Defaults to "true". |
latituderequired | number | Observer latitude in decimal degrees (-90 to 90). While planetary longitudes are geocentric (same worldwide), this is needed for house calculations if extending functionality. For basic ephemeris, use 0 as default. |
longituderequired | number | Observer longitude in decimal degrees (-180 to 180). Used for precise local time conversion. For basic planetary positions, this has minimal impact but ensures accuracy. |
timezonerequired | number or string | Decimal hours from UTC (e.g. -5 for EST, 5.5 for IST, 9 for JST, 5.75 for NPT) OR IANA name (e.g. "America/New_York"). IANA resolved to the DST-correct offset for the chart date. |
{
"date": "2025-12-18",
"time": "12:00:00",
"nodeType": "true",
"latitude": 40.7128,
"longitude": -74.006,
"timezone": "America/New_York"
}Structured JSON with documented fields, covered by 15,481 automated tests per deploy, 3,683 of them gold-standard tests verified against NASA JPL Horizons. Not hallucinated text.
{
"planets": [
{
"name": "Sun",
"longitude": 267.0272497797043,
"latitude": -0.0001314154650795168,
"sign": "Sagittarius",
"degree": 27.027249779704277,
"speed": 1.0182333534082488,
"isRetrograde": false,
"symbol": "☉",
"tagline": "Self-awareness and ego",
"description": "The Sun represents your core identity, ego, and conscious will. It governs vitality, self-expression, and life purpose. Your Sun sign is the foundation of your natal chart, shaping how you assert yourself and pursue your goals.",
"keywords": [
"active",
"awareness",
"bright",
"confidence",
"consciousness",
"creativity",
"energy",
"expression",
"fire",
"initiative"
],
"interpretation": {
"summary": "Optimism is your compass, and you become most yourself while learning something that widens your view of the world.",
"planetMeaning": "The Sun represents your core identity, ego, and conscious will. It governs vitality, self-expression, and life purpose. Your Sun sign is the foundation of your natal chart, shaping how you assert yourself and pursue your goals.",
"signExpression": "At dinner you ask the big question nobody planned to discuss, and the table is still arguing at midnight. Hope fuels you, and candor is your favorite thing to give, even when it lands a bit hard. An itch to move on arrives before the last chapter is done, and finishing it gives whatever comes after more weight. Freedom matters to you more than comfort ever will, and a life with open doors is the one that suits you.",
"keywords": [
"optimism",
"candor",
"adventure",
"freedom"
]
}
},
{
"name": "Moon",
"longitude": 252.07168441877383,
"latitude": -4.999234688854935,
"sign": "Sagittarius",
"degree": 12.071684418773827,
"speed": 11.932831010500621,
"isRetrograde": false,
"symbol": "☽",
"tagline": "Inner emotional life",
"description": "The Moon governs your emotional inner world, instincts, and subconscious patterns. It shapes how you nurture, seek comfort, and respond to stress. Your Moon sign reveals your deepest emotional needs and the way you process feelings.",
"keywords": [
"caretaker",
"comfort",
"emotion",
"feeling",
"femininity",
"habits",
"home",
"intuition",
"maturity",
"motherhood"
],
"interpretation": {
"summary": "Looking ahead keeps your spirits up, and you feel safest with room to move, explore and laugh.",
"planetMeaning": "The Moon governs your emotional inner world, instincts, and subconscious patterns. It shapes how you nurture, seek comfort, and respond to stress. Your Moon sign reveals your deepest emotional needs and the way you process feelings.",
"signExpression": "When something stings, you head outdoors, find the widest sky available and laugh at yourself within the hour. Laughter is how you cope, and your jokes land best in hard moments. Bluntness slips out when you are upset, and checking whether the truth needs saying today softens how it lands. Your laugh is contagious, and people bring you their worries knowing they will leave lighter.",
"keywords": [
"optimism",
"freedom",
"humor",
"buoyancy"
]
}
},
{
"name": "Mercury",
"longitude": 249.01705022921158,
"latitude": 1.063824690490812,
"sign": "Sagittarius",
"degree": 9.017050229211577,
"speed": 1.408023063848276,
"isRetrograde": false,
"symbol": "☿",
"tagline": "Communication",
"description": "Mercury governs communication, intellect, and the way you process and exchange information. It rules logic, reason, and problem-solving, shaping how you learn, speak, write, and think. Mercury retrograde periods are known for disrupting communication, travel, and technology.",
"keywords": [
"analysis",
"childhood",
"communication",
"curiosity",
"education",
"hands",
"hobbies",
"humor",
"information",
"intellect"
],
"interpretation": {
"summary": "Philosophy, travel stories and grand theories fill your head, and you love arguing about all three.",
"planetMeaning": "Mercury governs communication, intellect, and the way you process and exchange information. It rules logic, reason, and problem-solving, shaping how you learn, speak, write, and think. Mercury retrograde periods are known for disrupting communication, travel, and technology.",
"signExpression": "A long list of rules bores you within minutes, but a heated debate at midnight wakes you right up. Vision drives you, and your enthusiasm leaves people inspired to try something bigger. Big promises spill out in the excitement of a plan, and naming one firm date makes your word as reliable as your ideas. Your humor is quick and warm, and conversations with you feel like adventures.",
"keywords": [
"vision",
"candor",
"optimism",
"philosophy"
]
}
},
{
"name": "Venus",
"longitude": 262.4767460506304,
"latitude": 0.015211951059664575,
"sign": "Sagittarius",
"degree": 22.476746050630425,
"speed": 1.2588286082950901,
"isRetrograde": false,
"symbol": "♀",
"tagline": "Love, beauty, and money",
"description": "Venus governs love, beauty, pleasure, and values. It shapes how you experience romance, what you find attractive, and your relationship style. Venus also rules finances, aesthetics, and the things that bring you sensual joy.",
"keywords": [
"attractiveness",
"beauty",
"culture",
"eros",
"fantasy",
"fashion",
"finances",
"flirting",
"friendship",
"glamour"
],
"interpretation": {
"summary": "Generous, frank and fun-loving, you fall for anyone who shares your appetite for wide horizons and new places.",
"planetMeaning": "Venus governs love, beauty, pleasure, and values. It shapes how you experience romance, what you find attractive, and your relationship style. Venus also rules finances, aesthetics, and the things that bring you sensual joy.",
"signExpression": "Planning a day with someone you like, you pick the museum, the market or the trail nobody has tried yet. You are honest and generous, and you need plenty of space to roam in every close tie. Closeness that starts to resemble a cage makes you drift off rather than say so, and saying so keeps the door open. You mean every compliment you give, and you hand them out freely to friends and loved ones alike.",
"keywords": [
"adventure",
"honesty",
"freedom",
"humor"
]
}
},
{
"name": "Mars",
"longitude": 272.5633560701814,
"latitude": -0.8014721280427904,
"sign": "Capricorn",
"degree": 2.563356070181385,
"speed": 0.7568358701417424,
"isRetrograde": false,
"symbol": "♂",
"tagline": "Assertiveness and aggression",
"description": "Mars governs action, desire, aggression, and physical energy. It shapes how you assert yourself, pursue goals, and handle conflict. Mars rules courage, competition, and sexuality, determining your drive and fighting spirit.",
"keywords": [
"action",
"adventurous",
"athletic",
"brave",
"courage",
"desire",
"dynamic",
"energy",
"excitement",
"fiery"
],
"interpretation": {
"summary": "Ambition and patience combine in you, and you put sustained effort into goals built to last.",
"planetMeaning": "Mars governs action, desire, aggression, and physical energy. It shapes how you assert yourself, pursue goals, and handle conflict. Mars rules courage, competition, and sexuality, determining your drive and fighting spirit.",
"signExpression": "Others rush in with excitement, while you calmly gather the resources needed to finish. Respect is what you work hardest to earn, and you earn it by delivering exactly what you said. Status can start to matter more than the goal itself, and remembering why you began keeps the climb your own. Under the cool surface runs a steady heat, like a forge banked to glow all night.",
"keywords": [
"discipline",
"ambition",
"control",
"persistence"
]
}
},
{
"name": "Jupiter",
"longitude": 112.97585754623071,
"latitude": 0.2054485711759014,
"sign": "Cancer",
"degree": 22.975857546230714,
"speed": -0.11017385105523658,
"isRetrograde": true,
"symbol": "♃",
"tagline": "Luck and opportunity",
"description": "Jupiter governs expansion, luck, wisdom, and higher learning. It shapes your belief systems, sense of optimism, and relationship with abundance. Jupiter transits bring periods of growth and opportunity, visiting each sign for approximately one year.",
"keywords": [
"abundance",
"college",
"culture",
"curiosity",
"diversity",
"enlightenment",
"expansion",
"fortune",
"generosity",
"growth"
],
"interpretation": {
"summary": "You expand through nurturing, feeding, sheltering and remembering, and a full table is your picture of plenty.",
"planetMeaning": "Jupiter governs expansion, luck, wisdom, and higher learning. It shapes your belief systems, sense of optimism, and relationship with abundance. Jupiter transits bring periods of growth and opportunity, visiting each sign for approximately one year.",
"signExpression": "Your kitchen tends to hold more chairs than the household needs, and they are rarely empty. Gut instinct guides your bigger choices, and it tends to steer you well. Keeping supplies in reserve can harden into stockpiling against storms that never arrive, and giving some of the store away today sets things right. Plenty, for you, is measured in how safe people feel around you.",
"keywords": [
"nurturing",
"protection",
"kindness",
"instinct"
]
}
},
{
"name": "Saturn",
"longitude": 355.53482953192844,
"latitude": -2.304273043381065,
"sign": "Pisces",
"degree": 25.534829531928438,
"speed": 0.03648246609685657,
"isRetrograde": false,
"symbol": "♄",
"tagline": "Responsibility, time, and routine",
"description": "Saturn governs discipline, responsibility, structure, and karmic lessons. It defines your boundaries, ambitions, and relationship with authority. The Saturn return (approximately every 29 years) marks major life transitions and periods of maturation.",
"keywords": [
"ambition",
"boundaries",
"determination",
"discipline",
"experience",
"focus",
"karma",
"leadership",
"mastery",
"mentorship"
],
"interpretation": {
"summary": "Firm edges for your compassion are the lesson, and they make your sensitivity a steady, reliable kind of care.",
"planetMeaning": "Saturn governs discipline, responsibility, structure, and karmic lessons. It defines your boundaries, ambitions, and relationship with authority. The Saturn return (approximately every 29 years) marks major life transitions and periods of maturation.",
"signExpression": "You take the unseen shift and keep turning up long after the first warm feeling passes. Overwhelm comes easily, absorbing the pain of others until you lose your footing, and setting a limit lets you keep giving. Structure, for you, is what lets a dream last through an ordinary week.",
"keywords": [
"compassion",
"devotion",
"containment",
"overwhelm"
]
}
},
{
"name": "Uranus",
"longitude": 58.36843990942865,
"latitude": -0.20110571795269302,
"sign": "Taurus",
"degree": 28.368439909428652,
"speed": -0.035166368847029617,
"isRetrograde": true,
"symbol": "♅",
"tagline": "Individuality and revolution",
"description": "Uranus governs revolution, innovation, sudden change, and individuality. It disrupts outdated structures and catalyzes breakthrough moments. With an 84-year orbit, Uranus shapes generational attitudes toward freedom, technology, and social progress.",
"keywords": [
"avant-garde",
"change",
"comic",
"determined",
"experimental",
"freedom",
"game-changer",
"genius",
"global",
"honesty"
],
"interpretation": {
"summary": "What security and comfort really mean is a question your peers keep tinkering with.",
"planetMeaning": "Uranus governs revolution, innovation, sudden change, and individuality. It disrupts outdated structures and catalyzes breakthrough moments. With an 84-year orbit, Uranus shapes generational attitudes toward freedom, technology, and social progress.",
"signExpression": "",
"keywords": [
"resourcefulness",
"ingenuity",
"stubbornness",
"reinvention"
]
}
},
{
"name": "Neptune",
"longitude": 359.3921810708607,
"latitude": -1.3410693024111664,
"sign": "Pisces",
"degree": 29.392181070860715,
"speed": 0.0048051280757590575,
"isRetrograde": false,
"symbol": "♆",
"tagline": "Dreams, healing, and intuition",
"description": "Neptune governs dreams, intuition, illusion, and the subconscious mind. It dissolves boundaries between reality and imagination, ruling spirituality, creativity, and psychic sensitivity. Neptune changes signs roughly once per generation, shaping collective ideals and fantasies.",
"keywords": [
"artistic",
"calm",
"compassionate",
"deep",
"dreams",
"ecstacy",
"empathic",
"enlightenment",
"fantasy",
"flexible"
],
"interpretation": {
"summary": "Compassion without borders and a world where every divide melts away are the dream of this cohort.",
"planetMeaning": "Neptune governs dreams, intuition, illusion, and the subconscious mind. It dissolves boundaries between reality and imagination, ruling spirituality, creativity, and psychic sensitivity. Neptune changes signs roughly once per generation, shaping collective ideals and fantasies.",
"signExpression": "",
"keywords": [
"empathy",
"imagination",
"mysticism"
]
}
},
{
"name": "Pluto",
"longitude": 302.3363678332005,
"latitude": -3.7643747383268287,
"sign": "Aquarius",
"degree": 2.336367833200484,
"speed": 0.027215907045103904,
"isRetrograde": false,
"symbol": "♇",
"tagline": "Sex, death, and transformation",
"description": "Pluto governs transformation, power, death and rebirth, and the unconscious mind. It reveals where you must confront your deepest fears to achieve self-mastery. With a 248-year orbit, Pluto shapes generational attitudes toward power, control, and radical change.",
"keywords": [
"alchemy",
"bold",
"charismatic",
"complex",
"courageous",
"empowered",
"evolution",
"independent",
"intense",
"loyal"
],
"interpretation": {
"summary": "Unsettling the past to shape the future comes easily to a radical, inventive era like yours.",
"planetMeaning": "Pluto governs transformation, power, death and rebirth, and the unconscious mind. It reveals where you must confront your deepest fears to achieve self-mastery. With a 248-year orbit, Pluto shapes generational attitudes toward power, control, and radical change.",
"signExpression": "",
"keywords": [
"collective",
"reform",
"technology",
"independence"
]
}
},
{
"name": "North Node",
"longitude": 342.2666346201235,
"latitude": 0,
"sign": "Pisces",
"degree": 12.266634620123511,
"speed": -0.23737007694458612,
"isRetrograde": true,
"symbol": "☊",
"tagline": "Life purpose and destiny",
"description": "The North Node represents your soul's growth direction and life purpose. It points to unfamiliar qualities and experiences you are meant to develop. Leaning into the North Node path brings deep fulfillment despite its inherent discomfort.",
"keywords": [
"destiny",
"life purpose",
"soul growth",
"future direction",
"karmic reward",
"evolution",
"new experiences",
"growth edge",
"aspiration",
"calling"
],
"interpretation": {
"summary": "Surrender is your stretch: trusting the larger picture, easing the grip of perfection and letting imagination lead.",
"planetMeaning": "The North Node represents your soul's growth direction and life purpose. It points to unfamiliar qualities and experiences you are meant to develop. Leaning into the North Node path brings deep fulfillment despite its inherent discomfort.",
"signExpression": "Your to-do list survives the holiday, and you spend a lazy beach afternoon mentally sorting next week's chores. Compassion for your own imperfection takes real practice here, and it softens how you see everyone else as well. Analysis and worry are the old refuge, and time spent with music, stillness or prayer reminds you that not everything needs fixing.",
"keywords": [
"faith",
"compassion",
"imagination",
"surrender"
]
}
},
{
"name": "South Node",
"longitude": 162.26663462012357,
"latitude": 0,
"sign": "Virgo",
"degree": 12.266634620123568,
"speed": -0.23737007694458612,
"isRetrograde": true,
"symbol": "☋",
"tagline": "Past life gifts and comfort zone",
"description": "The South Node represents your karmic past, innate talents, and comfort zone. These are patterns you have already mastered, possibly from past lives. The key is to use these gifts as a foundation while stretching toward North Node growth.",
"keywords": [
"innate talents",
"past life wisdom",
"natural abilities",
"comfort zone",
"mastered skills",
"karmic gifts",
"familiarity",
"instinctive knowledge"
],
"interpretation": {
"summary": "Competence feels like home: spotting the flaw, solving the problem and making every system run a little better.",
"planetMeaning": "The South Node represents your karmic past, innate talents, and comfort zone. These are patterns you have already mastered, possibly from past lives. The key is to use these gifts as a foundation while stretching toward North Node growth.",
"signExpression": "You reorganize the shared files, label the spice jars and draft a backup plan, all before breakfast. Your mind sorts, weighs and improves almost by itself, and practical problems seem to untangle under your attention. Perfectionism is the well-worn path, and the fear of not doing enough keeps you working until a softer faith in how things unfold lets you stop.",
"keywords": [
"competence",
"analysis",
"service",
"precision"
]
}
},
{
"name": "Chiron",
"longitude": 22.703657895474453,
"latitude": 0.5243197063570323,
"sign": "Aries",
"degree": 22.703657895474453,
"speed": -0.013912565183417769,
"isRetrograde": true,
"symbol": "⚷",
"tagline": "Healing and inner wounds",
"description": "Chiron, the Wounded Healer, represents your deepest vulnerability and your greatest capacity to heal others. Through confronting this core wound, you develop profound empathy and mentorship ability.",
"keywords": [
"healing",
"wisdom",
"mentorship",
"teaching",
"empathy",
"compassion",
"holistic",
"integration",
"bridge-builder",
"acceptance"
],
"interpretation": {
"summary": "Your own claim to stand alone feels shaky, which is exactly why you cheer hesitant starters forward so well.",
"planetMeaning": "Chiron, the Wounded Healer, represents your deepest vulnerability and your greatest capacity to heal others. Through confronting this core wound, you develop profound empathy and mentorship ability.",
"signExpression": "Some days you still hold out for permission to put yourself first, yet your example shows others how independence looks in daily life.",
"keywords": [
"courage",
"self-worth",
"independence",
"advocacy"
]
}
},
{
"name": "Black Moon Lilith",
"longitude": 239.76575917528004,
"latitude": -5.011623401841819,
"sign": "Scorpio",
"degree": 29.76575917528004,
"speed": 0.11203615542095235,
"isRetrograde": false,
"symbol": "⚸",
"tagline": "Primal instinct and the reclaimed self",
"description": "Black Moon Lilith marks where you meet your primal, unfiltered self. It points to the instincts you were taught to suppress, and the life area where reclaiming them restores your power and authenticity.",
"keywords": [
"authenticity",
"autonomy",
"instinct",
"raw power",
"self-possession",
"liberation",
"honesty",
"magnetism",
"boundaries",
"reclamation"
],
"interpretation": {
"summary": "Power, loyalty and deep bonds get handled head-on, and you own the hunger you feel for them.",
"planetMeaning": "Black Moon Lilith marks where you meet your primal, unfiltered self. It points to the instincts you were taught to suppress, and the life area where reclaiming them restores your power and authenticity.",
"signExpression": "Secrets, taboos and hidden motives hold your fascination, and you look straight at what others politely step around. Jealousy or possessiveness can feel like something to hide, which tends to make it louder, and naming the feeling to yourself first takes its grip away. Transformation does not frighten you, and beginning again whenever life asks it stays firmly within your power.",
"keywords": [
"intensity",
"depth",
"loyalty",
"power"
]
}
}
]
}| Field | Type | Description |
|---|---|---|
planetsrequired | array of object | All 14 celestial bodies (10 classical planets, lunar nodes, Chiron, Black Moon Lilith) with zodiac signs, speeds, retrograde status, meanings, and interpretations. |
planets[].namerequired | string | Planet name (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, North Node, South Node, Chiron, Black Moon Lilith). The lunar nodes follow the request nodeType, which defaults to the true (osculating) node; pass "mean" for the smoothed node. The two differ by up to about 1.8 degrees and no other body is affected. Black Moon Lilith is always the mean lunar apogee, whatever nodeType says. POST /lilith returns the mean and the true (osculating) apogee side by side, each labelled by its variant. |
planets[].longituderequired | number | Apparent geocentric tropical longitude on the true ecliptic of date, in degrees (0-360): light time and aberration applied, nutation included, the convention desktop chart software and the NASA JPL Horizons observer tables print, so it compares directly with either. |
planets[].latituderequired | number | Apparent geocentric ecliptic latitude of date, in degrees. |
planets[].signrequired | string | Tropical zodiac sign this planet occupies. |
planets[].degreerequired | number | Degree within the zodiac sign (0-29.999). |
planets[].speedrequired | number | Daily motion in degrees per day. Negative values indicate retrograde. |
planets[].isRetrograderequired | boolean | Whether the planet is in apparent retrograde motion. |
planets[].symboloptional | string | Unicode astronomical symbol for this planet. |
planets[].taglineoptional | string | Short tagline summarizing what this planet governs. |
planets[].descriptionoptional | string | Brief description of this planet in astrological context. |
planets[].keywordsoptional | array of string | Key themes and traits associated with this planet. |
planets[].interpretationoptional | object | Planet-in-sign interpretation. How this planet expresses through the zodiac sign it currently occupies. |
planets[].interpretation.summaryrequired | string | Interpretation of this planet in its current zodiac sign. |
| Field | Type | Description |
|---|---|---|
planets[].interpretation.planetMeaningrequired | string | General meaning of this planet in astrology. |
planets[].interpretation.signExpressionrequired | string | How this planet expresses through the current sign. |
planets[].interpretation.keywordsrequired | array of string | Keywords for this specific planet-in-sign combination. |
langnodeTypeEvery snippet is generated from the live OpenAPI spec, so method names, parameters, and fields always match production.
import { createRoxy } from '@roxyapi/sdk'
const roxy = createRoxy(process.env.ROXY_API_KEY!)
const { data } = await roxy.astrology.getPlanetaryPositions({ body: { date: '2025-12-18', time: '12:00:00', latitude: 40.7128, longitude: -74.006, timezone: 'America/New_York' } })Install: npm install @roxyapi/sdk
from roxy_sdk import create_roxy
roxy = create_roxy("YOUR_API_KEY")
result = roxy.astrology.get_planetary_positions(date='2025-12-18', time='12:00:00', latitude=40.7128, longitude=-74.006, timezone='America/New_York')Install: pip install roxy-sdk
use function RoxyAPI\Sdk\createRoxy;
$roxy = createRoxy(getenv('ROXY_API_KEY'));
$result = $roxy->astrology->getPlanetaryPositions(date: '2025-12-18', time: '12:00:00', latitude: 40.7128, longitude: -74.006, timezone: 'America/New_York');Install: composer require roxyapi/sdk
using RoxyApi;
var roxy = new RoxyClient(Environment.GetEnvironmentVariable("ROXY_API_KEY")!);
var result = await roxy.Astrology.Planets.PostAsync(new() { /* request fields above */ });Install: dotnet add package RoxyApi.Sdk
import roxyapi "github.com/RoxyAPI/sdk-go"
roxy, _ := roxyapi.NewRoxy(os.Getenv("ROXY_API_KEY"))
resp, _ := roxy.Astrology.GetPlanetaryPositions(ctx, nil, roxyapi.GetPlanetaryPositionsJSONRequestBody{ /* request fields above */ })Install: go get github.com/RoxyAPI/sdk-go
use roxyapi::{Roxy, types};
async fn call(roxy: &Roxy, params: &types::GetPlanetaryPositionsParams, body: &types::GetPlanetaryPositionsRequest) -> Result<(), roxyapi::Error> {
let result = roxy.astrology().get_planetary_positions(params, body).await?;
println!("{result:?}");
Ok(())
}Install: cargo add roxyapi
import 'package:roxyapi/roxyapi.dart';
final roxy = Roxy(Platform.environment['ROXY_API_KEY'] ?? '');
final result = await roxy.astrology.getPlanetaryPositions(/* request fields above */);Install: dart pub add roxyapi
curl -X POST "https://roxyapi.com/api/v2/astrology/planets" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"2025-12-18","time":"12:00:00","latitude":40.7128,"longitude":-74.006,"timezone":"America/New_York"}'Prefer to try before you write code? Run this Western Astrology endpoint live in the API playground and inspect a real production response.
The Astrology Ephemeris API bundles these related endpoints under one key.
/astrology/planets/monthlyGet daily tropical ecliptic positions for all 14 Western bodies (the 10 classical planets Sun through Pluto, the lunar nodes, Chiron, and Black Moon Lilith) for an entire month. Returns longitude, zodiac sign, degree within sign, and retrograde status for each body on each day, calculated at noon UTC. Omit year and month to get the month in progress, so a published ephemeris page stays current without a redeploy. Essential for ephemeris tables, transit tracking, retrograde calendars, and planetary movement charts. Monthly ephemeris API, tropical position table, daily planet transit positions, ecliptic longitude calculator. Verified against NASA JPL Horizons.
/astrology/aspectsCalculate all major and minor aspects between planets for any date and time. Finds conjunctions (0°), oppositions (180°), trines (120°), squares (90°), sextiles (60°), and minor aspects. Returns aspect type, exact angle, orb, applying/separating status, and strength (0-100). Filter by specific planets or aspect types. Perfect for aspect tables, transit analysis, and aspect pattern detection. Uses standard Western astrology orbs.
/astrology/aspects/monthlyGet every planetary aspect that perfects during a given month, across the 13 non-lunar Western bodies: the Sun and Mercury through Pluto, both lunar nodes, Chiron and Black Moon Lilith. Detects nine aspects, five major (conjunction, sextile, square, trine, opposition) and four minor (semi-sextile, semi-square, sesquiquadrate, quincunx), each with its own traditional orb, and returns the exact date and time of closest approach in your timezone along with the nature of the aspect. Calculated on tropical longitudes. The Moon is excluded because it forms hundreds of aspects a month and belongs in a daily view rather than a monthly one. Omit year and month to get the month in progress, so a published calendar stays current without a redeploy. Essential for monthly forecast copy, transit calendars, electional timing, and newsletter automation. Monthly aspect calendar API, exact aspect times, planetary aspect ephemeris, transit timing. Verified against NASA JPL Horizons.
/astrology/housesCalculate astrological house cusps using Placidus, Whole Sign, Equal, or Koch house systems. Returns all 12 house cusps with zodiac signs, degrees, Ascendant, and Midheaven. Use "all" parameter to compare all 4 house systems side-by-side. Perfect for astrology charts, house cusp tables, and educational tools showing house system differences. Includes accurate Ascendant and MC calculations.
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 mcp add --transport http \
roxy-astrology https://roxyapi.com/mcp/astrology \
--header "X-API-Key: YOUR_KEY"Tool name for POST /astrology/planets: post_astrology_planets. Full MCP setup guide
This is what your visitors see. Paste one snippet into Wix, Squarespace, or WordPress and the Astrology Ephemeris API reading appears on your site, with no code and no backend. Developers install the same components from npm for Next.js, React, Vue, Svelte, Angular, or plain HTML. MIT licensed and included in every plan.
| Element | Renders |
|---|---|
<roxy-aspects-table> | Aspect rows coloured by nature with orb and strength, plus detected chart patterns |
<roxy-ephemeris-table> | Per-body sign changes and retrograde windows for the month, over the full daily position grid |
Calculate accurate tropical zodiac positions for all 14 celestial bodies for any date, time, and location. Every response is structured JSON with documented fields, not free text, so you map it straight into your product.
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.
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.
No. Call GET location/search with a city name first, then pass latitude, longitude, and timezone from the first result into the request. Never ask users to type coordinates. Timezone accepts a decimal offset or an IANA name.
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.
Flat pricing: every data endpoint is one request, REST and MCP identical, with no credit weighting or per-token markup. Every plan includes all 18+ domains, so the Astrology Ephemeris API is included at no extra cost.
The nodeType parameter accepts mean, true. Case-insensitive where it is a path value.
Birth charts checked cusp by cusp, and horoscopes that name the dated sky events behind each reading.
All 18+ domains included with every plan. Every endpoint, MCP server, SDK, and templates.
Plans from $39/mo, starting at $1.80 per domain on annual billing. No credit card required for testing.
View Pricing & Get API KeyHi, I am Rosie. I can show you a live reading, or get readings onto your site or app today.