AstroWay/api v2.296.1 · hi
सभी सिस्टम सामान्य हैं
// astrology api · POST /v1/local-space

Local Space ज्योतिष API

Local Space अलग सवाल पूछता है astrocartography से: पृथ्वी पर ग्रह कहाँ कोणीय था, नहीं, बल्कि जन्मस्थान से वह किस दिशा में था। endpoint हर पिंड के लिए एक azimuth और एक altitude लौटाता है, साथ ही वह great-circle पथ जो वह दिशा ग्लोब पर बनाता है।

Endpoint
POST /v1/local-space
Cost
50 credits
Latency
~216 ms
Tier
Tier 3
// 01 / What it computes

Local Space ज्योतिष API

endpoint natal chart बनाता है, प्रत्येक ग्रह को ecliptic coordinates से जन्मस्थान के horizon फ्रेम में बदलता है, और true north से clockwise डिग्री में उसका azimuth तथा horizon के ऊपर या नीचे उसका altitude लौटाता है। फिर वह प्रत्येक azimuth को जन्मस्थान से बाहर की ओर एक great circle के रूप में प्रोजेक्ट करता है और परिणामस्वरूप पथ को coordinates की श्रृंखला के रूप में लौटाता है, इसलिए विश्व मानचित्र पर खींची गई रेखा एक सच्चा bearing रहती है न कि सपाट प्रोजेक्शन पर सीधी रेखा। कुल मिलाकर तेरह पिंड कवर किए गए हैं, प्रत्येक का स्थिर रंग है जिससे rendered मानचित्र बाकी suite के समान palette रखता है। यहाँ altitude उतना ही महत्वपूर्ण है जितना azimuth: जन्म पर horizon के नीचे वाला ग्रह उसी दिशा में आकाश में ऊँचा ग्रह से अलग पढ़ा जाता है।

// 02 / Live request

POST/v1/local-space

curl -X POST https://api.astroway.info/v1/local-space \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "date": "1990-05-15",
  "time": "14:30:00",
  "timezoneOffset": 3,
  "latitude": 50.45,
  "longitude": 30.52
}'
Response (excerpt)
{
  "ok": true,
  "data": {
    "birthplace": { "latitude": 50.45, "longitude": 30.52 },
    "count": 13,
    "lines": [
      {
        "planetId": 0,
        "planetName": "Sun",
        "azimuth": 219.8018,
        "altitude": 53.1309,
        "color": "#FFB300",
        "points": [{ "lat": 50.45, "lng": 30.52 }, "…"]
      }
    ]
  }
}
// 03 / Parameters

Parameters

nametypeRequired
date string (YYYY-MM-DD) yes Birth date.
time string (HH:MM:SS) yes Local clock time at birth.
timezoneOffset number (hours) yes UTC offset in effect at the birth moment. Decimal allowed for half-hour zones.
latitude number yes Birth-place latitude, decimal degrees (north positive). Local space is anchored here, so this is not optional.
longitude number yes Birth-place longitude, decimal degrees (east positive).
// 04 / When to use it

When to use it

जब प्रोडक्ट दिशा और एक स्थिर घर से दूरी के बारे में हो, न कि ग्लोब पर सटीक स्थिति, तब local space इस्तेमाल करो। दो मुख्य केस हैं। पहला है relocation, चाहे छोटा या बड़ा, जहाँ तुम्हें शहर चुनना है या एक देश के भीतर कैसे चलना है, क्योंकि जन्मस्थान से एक great circle बहुत अधिक उपयोगी क्षेत्र को पार करता है बनिस्बत astrocartography के कुछ meridians के। दूसरा है इंटीरियर और साइट वर्क, जहाँ वही azimuths कमरे के पैमाने पर पढ़े जाते हैं: endpoint bearings लौटाता है, और /local-space/influence-zone साथी उसे एक cone polygon में बदल देता है जिसे तुम ड्रॉ कर सकते हो। अगर तुम पहले से astrocartography रेंडर कर रहे हो, तो local space जोड़ना relocation फीचर की गहराई को दोगुना करने का सबसे सस्ता तरीका है, क्योंकि यह वही birth इनपुट और वही map surface इस्तेमाल करता है।

// 05 / Notes

Notes

पोजीशन Swiss Ephemeris (Astrodienst) से आते हैं। azimuth को true north से clockwise मापा जाता है, magnetic north नहीं, इसलिए कोई declination correction लागू नहीं होता या जरूरी नहीं है। great-circle पथ को sampled coordinates के रूप में लौटाया जाता है न कि फ़ॉर्मूला के रूप में, जिससे client spherical geometry से मुक्त रहता है। यह तकनीक Michael Erlewine द्वारा विकसित की गई थी और उनके Astrophysical Directions में दस्तावेज़ित है।

Try the लोकल स्पेस API

Grab a key and make your first call in under a minute.

99.9% SLA · पेड प्लान · 30 दिन स्थिति →