ナタルチャート
エンドポイント POST /v1/chart はほとんどのリクエストの基本です。完全な出生図を返します:惑星の位置、ハウスのカスピッド、惑星間のアスペクト、チャートのセクション。料金は 20 クレジット(Tier 2)です。
リクエストパラメータ
Section titled “リクエストパラメータ”| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
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 - ハウスなし(場所が不明な場合) |
リクエスト例
Section titled “リクエスト例”キエフ、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レスポンス例
Section titled “レスポンス例”{ "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"}あなたの言語で名前
Section titled “あなたの言語で名前”?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 ブロックはありません。
ハウスシステム
Section titled “ハウスシステム”| コード | システム | 備考 |
|---|---|---|
P | Placidus | デフォルト、最も人気がある |
K | Koch | ドイツで人気 |
W | Whole Sign | 古典的なエリニスティック |
E | Equal | ASC から等分 |
R | Regiomontanus | ホラル占星術 |
C | Campanus | 空間的システム |
T | Topocentric | ポリチ-ページ |
B | Alcabitius | 中世の伝統 |
全15システムの完全リストは API reference にあります。
コスモグラム(出生場所不明)
Section titled “コスモグラム(出生場所不明)”出生時間は分かっているが場所が不明な場合、"cosmogram": true を送ってください。ハウスと ASC/MC は計算されず、クレジットは同じ(20)です。
レスポンスヘッダー
Section titled “レスポンスヘッダー”X-Credits-Used: 20X-Credits-Remaining: 4980X-Credits-Reset: 2026-05-01T00:00:00ZX-Request-Id: 8aec43e9bc749b37e998a489bbad1757- シナストリー: 2つのチャートの相性
- トランジット: トランジットオーバーレイとイベントカレンダー
- Human Design: 完全なHDマップ
- 完全な API reference: すべての 771 エンドポイント
参考になりましたか?
フィードバックありがとうございます。