HD Compatibility
curl -X POST https://api.astroway.info/v1/human-design/compatibility \ -H "X-Api-Key: aw_live_..." \ -H "Content-Type: application/json" \ -d '{ "chart1": { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52 }, "chart2": { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04 } }'const res = await fetch('https://api.astroway.info/v1/human-design/compatibility', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ "chart1": { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52 }, "chart2": { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04 } }),});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/human-design/compatibility', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'chart1': { 'date': "1990-05-15", 'time': "14:30:00", 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52 }, 'chart2': { 'date': "1985-11-03", 'time': "08:15:00", 'timezoneOffset': 2, 'latitude': 48.46, 'longitude': 35.04 } },)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('human-design/compatibility', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'chart1' => [ 'date' => '1990-05-15', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.45, 'longitude' => 30.52, ], 'chart2' => [ 'date' => '1985-11-03', 'time' => '08:15:00', 'timezoneOffset' => 2, 'latitude' => 48.46, 'longitude' => 35.04, ], ],]);$result = json_decode($r->getBody(), true);if (!$result['ok']) throw new \RuntimeException($result['error']['message']);print_r($result['data']);Calculate Human Design connection chart (compatibility) between two people: electromagnetic connections, compromise, dominance, and companionship channels.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Pair of natal charts for relationship calculations: synastry, composite, davison.
object
Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC. city is a display label only: nothing here geocodes it, so it never stands in for coordinates.
object
Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC.
Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC. city is a display label only: nothing here geocodes it, so it never stands in for coordinates.
object
Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC.
Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
Example
{ "chart1": { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52 }, "chart2": { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04 }}Responses
Section titled “ Responses ”Successful calculation
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "ok": true, "data": { "chart1": { "input": { "name": "", "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "houseSystem": "P", "city": "", "cosmogram": false }, "type": "Projector", "strategy": "Wait for the Invitation", "notSelfTheme": "Bitterness", "authority": "Emotional (Solar Plexus)", "profile": { "profile": "6/3", "personalityLine": 6, "designLine": 3, "geometry": "Left Angle" }, "definition": "Split", "cross": { "name": "Left Angle Cross of Dedication", "type": "LAC", "gates": [ 23 ] }, "activations": [ { "planet": "Sun", "planetId": 0, "gate": 23, "line": 6, "color": 6, "tone": 2, "base": 2, "longitude": 54.37601980167181, "isPersonality": true } ], "personalityActivations": [ { "planet": "Sun", "planetId": 0, "gate": 23, "line": 6, "color": 6, "tone": 2, "base": 2, "longitude": 54.37601980167181, "isPersonality": true } ], "designActivations": [ { "planet": "Sun", "planetId": 0, "gate": 30, "line": 3, "color": 1, "tone": 1, "base": 1, "longitude": 326.37601741834976, "isPersonality": false } ], "centers": [ { "name": "Head", "defined": true, "open": false, "gates": [ 61 ], "activeGates": [ 61 ] } ], "channels": [ { "gate1": 13, "gate2": 33, "centerA": "G", "centerB": "Throat", "activatedBy": [ "personality" ] } ], "designJd": 2447937.835688273, "personalityJd": 2448026.9791666665 }, "chart2": { "input": { "name": "", "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04, "houseSystem": "P", "city": "", "cosmogram": false }, "type": "Generator", "strategy": "Wait for the Sacral Response", "notSelfTheme": "Frustration", "authority": "Sacral", "profile": { "profile": "4/6", "personalityLine": 4, "designLine": 6, "geometry": "Left Angle" }, "definition": "Single", "cross": { "name": "Juxtaposition Cross of Alertness", "type": "JC", "gates": [ 44 ] }, "activations": [ { "planet": "Sun", "planetId": 0, "gate": 44, "line": 4, "color": 3, "tone": 1, "base": 4, "longitude": 220.77033612885523, "isPersonality": true } ], "personalityActivations": [ { "planet": "Sun", "planetId": 0, "gate": 44, "line": 4, "color": 3, "tone": 1, "base": 4, "longitude": 220.77033612885523, "isPersonality": true } ], "designActivations": [ { "planet": "Sun", "planetId": 0, "gate": 33, "line": 6, "color": 3, "tone": 6, "base": 3, "longitude": 132.77033760638002, "isPersonality": false } ], "centers": [ { "name": "Head", "defined": false, "open": true, "gates": [ 61 ], "activeGates": [] } ], "channels": [ { "gate1": 2, "gate2": 14, "centerA": "G", "centerB": "Sacral", "activatedBy": [ "personality" ] } ], "designJd": 2446282.758661906, "personalityJd": 2446372.7604166665 }, "connections": [ { "type": "dominance", "gate1": 2, "gate2": 14, "centerA": "G", "centerB": "Sacral", "person1Gates": [], "person2Gates": [ 2 ] } ], "electromagnetic": [ { "type": "electromagnetic", "gate1": 7, "gate2": 31, "centerA": "G", "centerB": "Throat", "person1Gates": [ 7 ], "person2Gates": [ 31 ] } ], "compromise": [], "dominance": [ { "type": "dominance", "gate1": 2, "gate2": 14, "centerA": "G", "centerB": "Sacral", "person1Gates": [], "person2Gates": [ 2 ] } ], "companionship": [ { "type": "companionship", "gate1": 39, "gate2": 39, "centerA": "Root", "centerB": "Root", "person1Gates": [ 39 ], "person2Gates": [ 39 ] } ], "combinedDefinedCenters": [ "Head" ], "combinedDefinition": "8/9", "attractionScore": 95 }}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" }}