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" }Ceres, Pallas, Juno, and Vesta natal positions
/astrology/asteroidsPOST /astrology/lilithIncluded with every plan (at no extra cost)
Calculate the natal positions of the four classical asteroid goddesses, Ceres, Pallas, Juno, and Vesta, for any birth moment. Each asteroid returns its tropical zodiac sign, degree, house placement, daily speed, retrograde status, and a plain language interpretation of its meaning in the chart. Chiron is available through the natal chart endpoint, so this endpoint stays focused on the four asteroid goddesses for natal reports and relationship astrology.
The Asteroid Astrology 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/asteroidsPOST /api/v2/astrology/asteroids
| 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) | Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day. |
timerequired | string (time) | Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown. |
latituderequired | number | Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South. |
longituderequired | number | Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West. |
timezonerequired | number or string | Timezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. |
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". |
houseSystemoptional | string enum | House system used to assign each asteroid to a natal house. Placidus (default), Whole Sign, Equal, or Koch. Above the polar circle, quadrant systems fall back to Whole Sign and the echoed houseSystem reports the system actually used. |
{
"date": "1990-07-15",
"time": "14:30:00",
"latitude": 40.7128,
"longitude": -74.006,
"timezone": "America/New_York",
"nodeType": "true",
"houseSystem": "placidus"
}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.
{
"birthDetails": {
"date": "1990-07-15",
"time": "14:30:00",
"latitude": 40.7128,
"longitude": -74.006,
"timezone": -4,
"nodeType": "true"
},
"houseSystem": "placidus",
"asteroids": [
{
"name": "Ceres",
"longitude": 131.11575126780244,
"latitude": 6.569538446935089,
"sign": "Leo",
"degree": 11.115751267802437,
"house": 9,
"speed": 0.44646923963180996,
"isRetrograde": false,
"interpretation": "Your Ceres in Leo speaks to how you nurture and are nurtured, the cycles of nourishment, loss, and return, and the bond between caretaker and cared-for."
},
{
"name": "Pallas",
"longitude": 93.79448762885355,
"latitude": -24.716300666787482,
"sign": "Cancer",
"degree": 3.7944876288535454,
"house": 8,
"speed": 0.5948606489407382,
"isRetrograde": false,
"interpretation": "Your Pallas in Cancer speaks to creative intelligence and strategy, the pattern-seeing, problem-solving wisdom you wield and the causes you defend."
},
{
"name": "Juno",
"longitude": 219.6856435647518,
"latitude": 13.72935020201769,
"sign": "Scorpio",
"degree": 9.685643564751814,
"house": 1,
"speed": 0.056987296427891465,
"isRetrograde": false,
"interpretation": "Your Juno in Scorpio speaks to commitment and partnership, what you need from a lasting bond and how you seek equality within it."
},
{
"name": "Vesta",
"longitude": 46.192092813247065,
"latitude": -6.4684791721139945,
"sign": "Taurus",
"degree": 16.192092813247065,
"house": 7,
"speed": 0.344153785235747,
"isRetrograde": false,
"interpretation": "Your Vesta in Taurus speaks to devotion and focus, the sacred flame you tend and the work or calling that claims your undivided attention."
}
],
"summary": "Asteroid goddess positions for 1990-07-15: Ceres, Pallas, Juno, and Vesta placed by sign, house, and retrograde motion."
}| Field | Type | Description |
|---|---|---|
birthDetailsrequired | object | Echo of the birth moment and place used to compute every asteroid. |
birthDetails.daterequired | string (date) | Birth date in YYYY-MM-DD format. Determines planetary positions for the specific calendar day. |
birthDetails.timerequired | string (time) | Birth time in 24-hour HH:MM:SS format. Determines the Ascendant (rising sign) and house cusps. Use 12:00:00 if unknown. |
birthDetails.latituderequired | number | Birth location latitude in decimal degrees (-90 to 90). Positive = North, negative = South. |
birthDetails.longituderequired | number | Birth location longitude in decimal degrees (-180 to 180). Positive = East, negative = West. |
birthDetails.timezonerequired | number | Timezone offset from UTC in decimal hours, resolved for the birth date. Examples: New York = -5 in winter and -4 in summer, London = 0, India = 5.5, Tokyo = 9. |
houseSystemrequired | string enum | House system actually used to place the asteroids, after any polar fallback to Whole Sign. |
asteroidsrequired | array of object | The four classical asteroid goddesses in canonical order: Ceres, Pallas, Juno, and Vesta, each with its tropical position, house, motion, and interpretation. |
asteroids[].namerequired | string | Name of the asteroid: Ceres, Pallas, Juno, or Vesta. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees. |
asteroids[].nameLocalizedoptional | string | Asteroid name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat its canonical partner field exactly. Never compare against this value, compare against the canonical field beside it. |
asteroids[].longituderequired | number | Absolute tropical ecliptic longitude of the asteroid in degrees (0 to 360). |
asteroids[].latituderequired | number | Ecliptic latitude in degrees, the angular distance north or south of the ecliptic plane. |
asteroids[].signrequired | string | Tropical zodiac sign the asteroid falls in. |
asteroids[].degreerequired | number | Degree of the asteroid within its zodiac sign (0 to 29.999). |
| Field | Type | Description |
|---|---|---|
asteroids[].houserequired | integer | Natal house placement (1 to 12) from the selected house system and birth location. |
asteroids[].speedrequired | number | Daily motion in degrees per day. Negative values indicate retrograde motion. |
asteroids[].isRetrograderequired | boolean | Whether the asteroid appears to move backward from Earth, true when the daily speed is negative. |
asteroids[].interpretationrequired | string | Plain language meaning of this asteroid in its sign, suitable for chart reports and AI agents. Localized to the requested language. |
summaryrequired | string | Short overview of the asteroid set for previews and report intros. |
langnodeTypehouseSystemEvery 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.generateAsteroids({ body: { date: '1990-07-15', time: '14:30: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.generate_asteroids(date='1990-07-15', time='14:30: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->generateAsteroids(date: '1990-07-15', time: '14:30: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.Asteroids.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.GenerateAsteroids(ctx, nil, roxyapi.GenerateAsteroidsJSONRequestBody{ /* request fields above */ })Install: go get github.com/RoxyAPI/sdk-go
use roxyapi::{Roxy, types};
async fn call(roxy: &Roxy, params: &types::GenerateAsteroidsParams, body: &types::AsteroidsRequest) -> Result<(), roxyapi::Error> {
let result = roxy.astrology().generate_asteroids(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.generateAsteroids(/* request fields above */);Install: dart pub add roxyapi
curl -X POST "https://roxyapi.com/api/v2/astrology/asteroids" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1990-07-15","time":"14:30: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 Asteroid Astrology API bundles these related endpoints under one key.
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/asteroids: post_astrology_asteroids. Full MCP setup guide
This is what your visitors see. Paste one snippet into Wix, Squarespace, or WordPress and the Asteroid Astrology 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-positions-table> | Body, sign, degree, and per-shape columns (house, motion, formula, or natal arc) plus each reading |
Calculate the natal positions of the four classical asteroid goddesses, Ceres, Pallas, Juno, and Vesta, for any birth moment. 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 Asteroid Astrology 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, your guide to the RoxyAPI insight tools.
Ask me to read your birth chart, pull a card, or map your numbers, and I will interpret what it means for you. Unlike most AIs, I never make the numbers up: every reading runs on real, verified calculations. Curious about the API, pricing, or docs instead? Ask me that too.