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" }lord of the year and yearly time lord by age
/astrology/profectionsIncluded with every plan (at no extra cost)
Calculate the annual profection and lord of the year for any birth chart and target date using the Hellenistic time lord technique. Each completed year of life advances the rising sign by one whole sign house, activating a new profected house, profected sign, and ruling planet that sets the tone of the year. Returns the age, profected house and sign, the lord of the year with its natal sign and house placement, and a plain language interpretation for traditional and Hellenistic astrology apps.
The Annual Profections 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/profectionsPOST /api/v2/astrology/profections
| 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". |
targetDaterequired | string (date) | Date whose profection year you want, in YYYY-MM-DD format. The completed whole years from the birth date to this date select the profected house and sign. Must fall on or after the birth date. |
houseSystemoptional | string enum | House system used only to report where the lord of the year sits in the natal chart. The profected house and sign always use whole sign profection from the rising sign. Placidus (default), Whole Sign, Equal, or Koch. |
{
"date": "1990-07-15",
"time": "14:30:00",
"latitude": 40.7128,
"longitude": -74.006,
"timezone": "America/New_York",
"nodeType": "true",
"targetDate": "2025-08-04",
"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"
},
"targetDate": "2025-08-04",
"age": 35,
"profectedHouse": 12,
"profectedSign": "Libra",
"lordOfYear": "Venus",
"lordNatalPosition": {
"sign": "Gemini",
"house": 8
},
"interpretation": "This profection year activates The Twelfth House in Libra, making Venus your lord of the year. The year takes its tone from solitude and inner reflection and from how Venus sits in your birth chart.",
"summary": "At age 35, the annual profection activates house 12 in Libra, making Venus the lord of the year for 2025-08-04."
}| Field | Type | Description |
|---|---|---|
birthDetailsrequired | object | Echo of the birth moment and place used to derive the natal Ascendant and the lord of the year placement. |
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. |
targetDaterequired | string (date) | Target date whose profection year was computed, echoed from the request. |
agerequired | integer | Completed whole years from birth to the target date. Age 0 is the birth year and profects the first house. |
profectedHouserequired | integer | Profected whole sign house activated for the year (1 to 12), computed as age modulo 12 plus 1. House 1 is the rising sign and the cycle repeats every twelve years. |
profectedSignrequired | string | Tropical zodiac sign on the profected house: the rising sign advanced by one whole sign for each completed year. |
lordOfYearrequired | string | Lord of the year (annual time lord): the traditional ruling planet of the profected sign whose natal condition and transits color the themes of the year. |
lordNatalPositionrequired | object | Where the lord of the year sits in the birth chart: the natal sign and house that ground the theme of the profection year. |
lordNatalPosition.signrequired | string | Zodiac sign the lord of the year occupies in the natal chart. |
lordNatalPosition.houserequired | integer | Natal house the lord of the year occupies (1 to 12), in the requested house system. |
| Field | Type | Description |
|---|---|---|
interpretationrequired | string | Plain language reading of the profection year, combining the profected house theme, the profected sign, and the lord of the year. Localized to the requested language. |
summaryrequired | string | Short overview of the profection year 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.generateProfections({ body: { date: '1990-07-15', time: '14:30:00', latitude: 40.7128, longitude: -74.006, timezone: 'America/New_York', targetDate: '2025-08-04' } })Install: npm install @roxyapi/sdk
from roxy_sdk import create_roxy
roxy = create_roxy("YOUR_API_KEY")
result = roxy.astrology.generate_profections(date='1990-07-15', time='14:30:00', latitude=40.7128, longitude=-74.006, timezone='America/New_York', target_date='2025-08-04')Install: pip install roxy-sdk
use function RoxyAPI\Sdk\createRoxy;
$roxy = createRoxy(getenv('ROXY_API_KEY'));
$result = $roxy->astrology->generateProfections(date: '1990-07-15', time: '14:30:00', latitude: 40.7128, longitude: -74.006, timezone: 'America/New_York', targetDate: '2025-08-04');Install: composer require roxyapi/sdk
using RoxyApi;
var roxy = new RoxyClient(Environment.GetEnvironmentVariable("ROXY_API_KEY")!);
var result = await roxy.Astrology.Profections.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.GenerateProfections(ctx, nil, roxyapi.GenerateProfectionsJSONRequestBody{ /* request fields above */ })Install: go get github.com/RoxyAPI/sdk-go
use roxyapi::{Roxy, types};
async fn call(roxy: &Roxy, params: &types::GenerateProfectionsParams, body: &types::ProfectionsRequest) -> Result<(), roxyapi::Error> {
let result = roxy.astrology().generate_profections(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.generateProfections(/* request fields above */);Install: dart pub add roxyapi
curl -X POST "https://roxyapi.com/api/v2/astrology/profections" \
-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","targetDate":"2025-08-04"}'Prefer to try before you write code? Run this Western Astrology endpoint live in the API playground and inspect a real production response.
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/profections: post_astrology_profections. Full MCP setup guide
This is what your visitors see. Paste one snippet into Wix, Squarespace, or WordPress and the Annual Profections 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-profection-card> | Profected house and sign for the year, the lord of the year, its natal placement, and the reading |
Calculate the annual profection and lord of the year for any birth chart and target date using the Hellenistic time lord technique. 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 Annual Profections 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.