सिनास्ट्री
एंडपॉइंट POST /v1/synastry दोन जन्म कुंडलींची तुलना करतो: दोन्ही व्यक्तींच्या ग्रहांमधील क्रॉस-अस्पेक्टची गणना करतो आणि सुसंगततेचा स्कोर परत करतो. किंमत: 50 क्रेडिट्स (टियर 3).
विनंतीचे पॅरामीटर्स
Section titled “विनंतीचे पॅरामीटर्स”दोन नेस्टेड ऑब्जेक्ट्स chart1 आणि chart2, ज्यामध्ये /v1/chart प्रमाणेच पॅरामीटर्स आहेत:
| पॅरामीटर | प्रकार | अनिवार्य | वर्णन |
|---|---|---|---|
chart1 | object | होय | पहिल्या व्यक्तीची माहिती |
chart2 | object | होय | दुसऱ्या व्यक्तीची माहिती |
प्रत्येक ऑब्जेक्ट: date, time, timezoneOffset, latitude, longitude, houseSystem, name, city.
विनंतीचा उदाहरण
Section titled “विनंतीचा उदाहरण”curl -X POST https://api.astroway.info/v1/synastry \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "chart1": { "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234, "name": "Person A" }, "chart2": { "date": "1992-03-22", "time": "09:15:00", "timezoneOffset": 2, "latitude": 48.8566, "longitude": 2.3522, "name": "Person B" } }'const body = { chart1: { date: '1990-07-14', time: '14:30:00', timezoneOffset: 3, latitude: 50.4501, longitude: 30.5234, name: 'Person A' }, chart2: { date: '1992-03-22', time: '09:15:00', timezoneOffset: 2, latitude: 48.8566, longitude: 2.3522, name: 'Person B' },};const res = await fetch('https://api.astroway.info/v1/synastry', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': process.env.ASTROWAY_API_KEY!, }, body: JSON.stringify(body),});const result = await res.json();console.log(result.compatibility);console.log(result.crossAspects.length);import os, requests
body = { 'chart1': {'date': '1990-07-14', 'time': '14:30:00', 'timezoneOffset': 3, 'latitude': 50.4501, 'longitude': 30.5234, 'name': 'Person A'}, 'chart2': {'date': '1992-03-22', 'time': '09:15:00', 'timezoneOffset': 2, 'latitude': 48.8566, 'longitude': 2.3522, 'name': 'Person B'},}r = requests.post( 'https://api.astroway.info/v1/synastry', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json=body,)result = r.json()print(result['compatibility'])<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('synastry', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'chart1' => [ 'date' => '1990-07-14', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.4501, 'longitude' => 30.5234, 'name' => 'Person A', ], 'chart2' => [ 'date' => '1992-03-22', 'time' => '09:15:00', 'timezoneOffset' => 2, 'latitude' => 48.8566, 'longitude' => 2.3522, 'name' => 'Person B', ], ],]);
$result = json_decode($r->getBody(), true);print_r($result['compatibility']);प्रतिसादाचे उदाहरण
Section titled “प्रतिसादाचे उदाहरण”{ "chart1": { "input": { "date": "1990-07-14", "name": "Person A" }, "planets": [ ... ], "houses": { ... }, "aspects": [ ... ] }, "chart2": { "input": { "date": "1992-03-22", "name": "Person B" }, "planets": [ ... ], "houses": { ... }, "aspects": [ ... ] }, "crossAspects": [ { "planet1": "Sun", "planet2": "Venus", "chart1Planet": "Sun", "chart2Planet": "Venus", "type": "trine", "orb": 2.14, "applying": false }, { "planet1": "Moon", "planet2": "Mars", "chart1Planet": "Moon", "chart2Planet": "Mars", "type": "square", "orb": 0.87, "applying": true } ], "compatibility": { "score": 72, "label": "harmonious", "harmony": 18.5, "tension": 7.2 }}compatibility फील्ड
Section titled “compatibility फील्ड”| फील्ड | प्रकार | वर्णन |
|---|---|---|
score | number | एकूण स्कोर 0–100 |
label | string | harmonious, balanced, mixed, challenging |
harmony | number | संतुलित स्थितींचा (trine, sextile) भारित योग |
tension | number | तणावपूर्ण स्थितींचा (square, opposition) भारित योग |
संबंधित एंडपॉइंट्स
Section titled “संबंधित एंडपॉइंट्स”| एंडपॉइंट | क्रेडिट्स | जोडते |
|---|---|---|
/v1/composite | 50 | कंपोझिट कुंडली (मध्य बिंदू) |
/v1/davison | 50 | डेव्हिसन कुंडली (मध्य तारीख) |
/v1/coalescent | 50 | कोअलसेंट कुंडली |
/v1/group-synastry | 100 | 2–10 व्यक्तींची सुसंगतता मॅट्रिक्स |
/v1/human-design/compatibility | 100 | HD-सुसंगतता |
- जन्म कुंडली — मूलभूत विनंती
- ट्रांझिट्स — ट्रांझिट ओव्हरलेअर
- Human Design — पूर्ण HD कुंडली
- API reference — सर्व 723 एंडपॉइंट्स
उपयोगी रहा?
फीडबैक के लिए धन्यवाद।