Core Numbers Chart (vedic)
curl -X POST https://api.astroway.info/v1/numerology/vedic/chart \ -H "X-Api-Key: aw_live_..." \ -H "Content-Type: application/json" \ -d '{ "name": "John Smith", "date": "1990-05-15", "year": 2026 }'const res = await fetch('https://api.astroway.info/v1/numerology/vedic/chart', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ "name": "John Smith", "date": "1990-05-15", "year": 2026 }),});const { ok, data, error } = await res.json();if (!ok) throw new Error(error.message);console.log(data);import os, requests
r = requests.post( 'https://api.astroway.info/v1/numerology/vedic/chart', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'name': "John Smith", 'date': "1990-05-15", 'year': 2026 },)result = r.json()if not result['ok']: raise RuntimeError(result['error']['message'])print(result['data'])<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('numerology/vedic/chart', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'name' => 'John Smith', 'date' => '1990-05-15', 'year' => 2026, ],]);$result = json_decode($r->getBody(), true);if (!$result['ok']) throw new \RuntimeException($result['error']['message']);print_r($result['data']);The six core numbers in one call: Life Path, Expression, Soul Urge, Personality, Birthday and Personal Year (year defaults to the current year), each with its meaning. 20 credits instead of 60 for six single calls. Every number carries meaning (English) and meaningLocalized in the requested language (translated: false with the English text while a language’s strings are on their way). Numerology: Vedic system.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Comma-separated dotted paths, relative to data, to keep in the response. A path is applied to every element of an array, so planets.name means the name of each planet. Paths that match nothing come back in _fields_unmatched; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer.
Example
planets.name,planets.longitudeRound every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute.
Example
4Request Body required
Section titled “Request Body required ”object
Calendar year to read. Defaults to the current year (UTC).
Example
{ "name": "John Smith", "date": "1990-05-15", "year": 2026}Responses
Section titled “ Responses ”Successful calculation
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "ok": true, "data": { "system": "vedic", "name": "John Smith", "date": "1990-05-15", "year": 2026, "lifePath": { "raw": 12, "reduced": 3, "isMaster": false, "steps": [ 12, 3 ], "meaning": { "number": 3, "archetype": "The Communicator" } }, "expression": { "raw": 44, "reduced": 8, "isMaster": false, "steps": [ 44, 8 ], "meaning": { "number": 8, "archetype": "The Executive" } }, "soulUrge": { "raw": 15, "reduced": 6, "isMaster": false, "steps": [ 15, 6 ], "meaning": { "number": 6, "archetype": "The Nurturer" } }, "personality": { "raw": 29, "reduced": 11, "isMaster": true, "steps": [ 29, 11 ], "meaning": { "number": 11, "archetype": "The Master Intuitive" } }, "birthday": { "raw": 15, "reduced": 6, "isMaster": false, "steps": [ 15, 6 ], "meaning": { "number": 6, "archetype": "The Nurturer" } }, "personalYear": { "raw": 12, "reduced": 3, "isMaster": false, "steps": [ 12, 3 ], "meaning": { "number": 3, "archetype": "The Communicator" } } }}Validation error
Example
{ "ok": false, "error": { "code": "INVALID_INPUT", "message": "Validation failed: date: Date must be YYYY-MM-DD", "details": [ { "path": "date", "message": "Date must be YYYY-MM-DD" } ] }}Missing or invalid API key
Example
{ "ok": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}