Get life path number
Calculates the life path number for a birth date and returns interpretation details. Query: date (YYYY-MM-DD). Requires authenticated API key access (Core tier or above in product terms). Returns number, master/karmic markers, and guidance keywords.
Endpoint
GET /v1/numerology/life-path
Request parameters
| Field | Type | Required | Description |
|---|---|---|---|
| date | string (date) | Yes | Birth date (YYYY-MM-DD) |
Example request
- curl
- Python
- TypeScript
curl -X GET "https://api.asterwise.com/v1/numerology/life-path?date=1985-11-12" \
-H "Authorization: Bearer YOUR_API_KEY"
import asterwise
from asterwise.api.numerology_api import NumerologyApi
configuration = asterwise.Configuration(
host="https://api.asterwise.com",
access_token="YOUR_API_KEY",
)
with asterwise.ApiClient(configuration) as client:
api = NumerologyApi(client)
result = api.life_path(date="1985-11-12")
print(result)
import { createClient, createConfig, lifePath } from 'asterwise';
const client = createClient(createConfig({
baseUrl: 'https://api.asterwise.com',
headers: { Authorization: 'Bearer YOUR_API_KEY' },
}));
const result = await lifePath({
client,
query: {
"date": "1985-11-12"
},
});
console.log(result.data);
Example response
Response fields
| Field | Type | Description |
|---|---|---|
| success | boolean | True if the request succeeded |
| message | string | Human-readable status message |
| data | object | |
| data.life_path_number | integer | Computed life path number |
| data.is_master_number | boolean | Whether life path is a master number |
| data.karmic_debt_number | integer | null | Karmic debt number if present |
| data.interpretation | string | Narrative interpretation for life path number |
| data.keywords | array[string] | Keywords associated with the life path number |
Errors
| Code | Description | Reference |
|---|---|---|
| authentication_failed | Missing or invalid API key. | authentication_failed |
| ephemeris_unavailable | Upstream ephemeris service error. | ephemeris_unavailable |
| insufficient_tier | API key tier does not include this endpoint. | insufficient_tier |
| internal_error | Unexpected server error. | internal_error |
| ip_rate_limit_exceeded | Too many requests in a short window. | ip_rate_limit_exceeded |
| payload_too_large | Request body exceeds the size limit. | payload_too_large |
| resource_not_found | Referenced resource was not found. | resource_not_found |
| validation_error | Request body failed schema validation. | validation_error |