Skip to main content

Get personal year number (JSON body)

Same calculation as GET /v1/numerology/personal-year with an MCP-friendly JSON body: name, date (YYYY-MM-DD), optional year (defaults to the current calendar year).

Endpoint

POST /v1/numerology/personal-year

Request parameters

FieldTypeRequiredDescription
namestringYesPerson name (echoed for clients; not used in the calculation)
datestring (date)YesBirth date (YYYY-MM-DD or ISO datetime string from clients)
yearinteger | nullNoCalendar year to interpret; defaults to the current year

Example request

curl -X POST "https://api.asterwise.com/v1/numerology/personal-year" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Arjun Mehta","date":"1985-11-12","year":2026}'

Example response

{
"success": true,
"message": "success",
"data": {
"year": 2026,
"personal_year_number": 6,
"theme": "Responsibility and Service",
"interpretation": "This is a year of responsibility, family focus, and service to others. Home, family, and community take priority.",
"opportunities": [
"Strengthen family bonds",
"Serve community",
"... and 2 more items"
],
"challenges": [
"Avoid being overly responsible",
"Don't neglect self-care",
"... and 1 more item"
],
"advice": "Focus on family and service, but remember to take care of yourself and maintain balance."
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.yearintegerCalendar year evaluated
data.personal_year_numberintegerComputed personal year number
data.themestringPrimary theme for the personal year
data.interpretationstringNarrative interpretation for this personal year
data.opportunitiesarray[string]Potential opportunities in this year
data.challengesarray[string]Potential challenges in this year
data.advicestringPractical recommendation for navigating the year

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error