나탈 차트
엔드포인트 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 Placidus, K Koch, W Whole Sign, E Equal 및 다른 |
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-Peij |
B | Alcabitius | 중세 전통 |
전체 15개 시스템 목록은 API reference에 있습니다.
코스모그램 (출생 장소 없음)
섹션 제목: “코스모그램 (출생 장소 없음)”출생 시간이 알려져 있지만 장소를 모를 경우, "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 reference: 모든 865 엔드포인트