나탈 차트
POST /v1/chart 엔드포인트는 대부분의 요청의 기초입니다. 완전한 출생 점성도를 반환합니다: 행성 위치, 하스 쿠스피드, 행성 간의 측위, 차트 섹터. 비용: 20 크레딧 (Tier 2).
요청 매개변수
섹션 제목: “요청 매개변수”| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
date | string | 예 | 출생 날짜 YYYY-MM-DD |
time | string | 예 | 출생 시간 HH:mm:ss 또는 HH:mm (HH:mm:00으로 읽음) |
timezoneOffset | number | 예 | UTC에서의 시차(시간 단위, 예: 여름 시의 키예프는 2) |
latitude | number | 아니요 (0) | 십진도 위도 |
longitude | number | 아니요 (0) | 십진도 경도 |
houseSystem | string | 아니요 (P) | 하우스 시스템: P 플라시두스, K 코흐, W 휴울 사인, E 이퀄 및 기타 |
name | string | 아니요 | 이름 (응답에 반환됨) |
city | string | 아니요 | 도시 (응답에 반환됨) |
zodiacType | string | 아니요 | tropical (기본값) 또는 sidereal |
cosmogram | boolean | 아니요 | true - 하우스 없음 (위치를 모를 때) |
요청 예시
섹션 제목: “요청 예시”키예프, 1990년 7월 14일, 14:30 출생 점성도:
curl -X POST https://api.astroway.info/v1/chart \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234, "houseSystem": "P" }'const res = await fetch('https://api.astroway.info/v1/chart', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': process.env.ASTROWAY_API_KEY!, }, body: JSON.stringify({ date: '1990-07-14', time: '14:30:00', timezoneOffset: 3, latitude: 50.4501, longitude: 30.5234, houseSystem: 'P', }),});const { data: chart } = await res.json();console.log(chart.planets[0]); // Sun positionimport os, requests
r = requests.post( 'https://api.astroway.info/v1/chart', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'date': '1990-07-14', 'time': '14:30:00', 'timezoneOffset': 3, 'latitude': 50.4501, 'longitude': 30.5234, 'houseSystem': 'P', },)chart = r.json()['data']print(chart['planets'][0]) # Sun position<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('chart', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'date' => '1990-07-14', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.4501, 'longitude' => 30.5234, 'houseSystem' => 'P', ],]);
$chart = json_decode($r->getBody(), true)['data'];print_r($chart['planets'][0]); // Sun position응답 예시
섹션 제목: “응답 예시”{ "input": { "name": "", "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234, "houseSystem": "P", "city": "", "cosmogram": false }, "julianDay": 2448086.979167, "siderealTime": 6.971672, "planets": [ { "id": 0, "name": "Sun", "longitude": 111.77244, "latitude": 0.000162, "distance": 1.016462, "speedLong": 0.953753, "isRetrograde": false, "declination": 21.681363 }, { "id": 1, "name": "Moon", "longitude": 9.061363, "latitude": 4.639701, "distance": 0.002511, "speedLong": 13.770219, "isRetrograde": false, "declination": 7.854711 } ], "houses": { "system": "P", "cusps": [ 212.0953, 239.7536, 274.2018, 312.6334, 346.2069, 12.1755, 32.0953, 59.7536, 94.2018, 132.6334, 166.2069, 192.1755 ], "ascendant": 212.0953, "mc": 132.6334 }, "aspects": [ { "planet1": "Sun", "planet2": "Jupiter", "type": { "name": "Conjunction", "angle": 0, "isMajor": true }, "orb": 0.548, "isApplying": true } ], "chartSect": "diurnal"}언어별 이름
섹션 제목: “언어별 이름”?lang=를 추가하여 변경되지 않는 영어 식별자와 함께 이 언어로 행성, 별자리 및 측위의 이름을 얻으세요. 21개 언어 중 어느 언어든 사용할 수 있으며, 예를 들어 독일어는 다음과 같습니다:
curl -X POST "https://api.astroway.info/v1/chart?lang=de" \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234, "houseSystem": "P" }'{ "localized": { "planets": { "Sun": "Sonne", "Moon": "Mond", "Mercury": "Merkur" }, "signs": { "cancer": "Krebs", "leo": "Löwe", "aries": "Widder" }, "aspects": { "Conjunction": "Konjunktion", "Opposition": "Opposition" } }}?lang=가 없으면 응답에 localized 블록이 없습니다.
하우스 시스템
섹션 제목: “하우스 시스템”| 코드 | 시스템 | 비고 |
|---|---|---|
P | Placidus | 기본값, 가장 인기 있는 시스템 |
K | Koch | 독일에서 인기 있는 시스템 |
W | Whole Sign | 고전 헬레니스틱 시스템 |
E | Equal | ASC에서 균등한 시스템 |
R | Regiomontanus | 호라 점성학 시스템 |
C | Campanus | 공간적 시스템 |
T | Topocentric | Polich-Page 시스템 |
B | Alcabitius | 중세 전통 시스템 |
15개 시스템의 전체 목록은 API 참조에 있습니다.
코스모그램 (출생 위치 없음)
섹션 제목: “코스모그램 (출생 위치 없음)”출생 시간은 알려져 있지만 위치는 알려지지 않은 경우 "cosmogram": true를 전송하세요. 하우스와 ASC/MC는 계산되지 않으며, 크레딧은 동일합니다 (20).
응답 헤더
섹션 제목: “응답 헤더”X-Credits-Used: 20X-Credits-Remaining: 4980X-Credits-Reset: 2026-05-01T00:00:00ZX-Request-Id: 8aec43e9bc749b37e998a489bbad1757다음 단계
섹션 제목: “다음 단계”- 신타스트리: 두 차트의 호환성
- 트랜짓: 트랜짓 오버레이 및 이벤트 캘린더
- Human Design: 전체 HD 차트
- 전체 API 참조: 모든 771 엔드포인트
도움이 되었나요?
피드백 감사합니다.