Astrology API Skill
When to Use
Use this skill when the user asks about:
- Birth charts, natal charts, horoscopes
- Zodiac compatibility, synastry, relationship analysis
- Planetary positions, transits, aspects
- Moon phases, lunar metrics, void of course
- Solar/lunar returns, progressions, directions
- Tarot card readings, spreads, interpretations
- Numerology (core numbers, compatibility, comprehensive)
- Vedic astrology (kundli, doshas, dashas, panchang)
- Chinese astrology (bazi, ming gua, feng shui)
- Human design (bodygraph, type, channels, gates)
- Kabbalah (tree of life, birth angels, gematria)
- Astrocartography (relocation, power zones, lines)
- Fixed stars (positions, conjunctions)
- Eclipses (upcoming, natal impact)
- Palmistry (palm analysis, reading)
- Daily/weekly/monthly/yearly horoscopes
- Career, health, spiritual, psychological analysis
- Chart rendering (SVG, PNG images)
Prerequisites
Before making any API call, verify:
$ASTROLOGY_API_KEY environment variable is set
curl is available on PATH
If the API key is missing, ask the user to set it:
export ASTROLOGY_API_KEY="your_token_here"
How It Works
Gather data from the user depending on the request type:
- For natal/personal: name, birth date (year, month, day), birth time (hour, minute), birth city + country code (2-letter ISO)
- For synastry/compatibility: birth data for TWO people
- For transits: natal data + transit date/time
- For horoscopes by sign: just the zodiac sign name
- For tarot: question or spread type
- For numerology: full name + birth date
Call the API using {baseDir}/scripts/astro-api.sh:
bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{ ... }'
Present results in a human-friendly format, highlighting key findings.
API Call Patterns
Natal Chart (most common)
bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"options": {
"house_system": "P",
"zodiac_type": "Tropic",
"language": "EN"
}
}'
Synastry (compatibility)
bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/synastry '{
"subject": {
"name": "Person A",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"partner": {
"name": "Person B",
"year": 1992, "month": 7, "day": 20,
"hour": 9, "minute": 0, "second": 0,
"city": "London", "country_code": "GB"
},
"options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'
Transit Snapshot
bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/transit '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"transit": {
"year": 2026, "month": 2, "day": 12,
"hour": 12, "minute": 0, "second": 0,
"city": "New York", "country_code": "US"
},
"options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'
Current Sky Data (no parameters needed)
bash {baseDir}/scripts/astro-api.sh GET /api/v3/data/now
Planetary Positions
bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/positions '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"options": {"house_system": "P", "zodiac_type": "Tropic"}
}'
Lunar Metrics
bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/lunar-metrics '{
"subject": {
"name": "now",
"year": 2026, "month": 2, "day": 12,
"hour": 12, "minute": 0, "second": 0,
"city": "New York", "country_code": "US"
}
}'
Daily Horoscope by Sign
bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/sign/daily '{
"sign": "aries",
"language": "EN"
}'
Personal Daily Horoscope
bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/personal/daily '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"language": "EN"
}'
Natal Analysis Report (AI-generated interpretation)
bash {baseDir}/scripts/astro-api.sh POST /api/v3/analysis/natal-report '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
}'
Render Chart as SVG
bash {baseDir}/scripts/astro-api.sh POST /api/v3/svg/natal '{
"subject": {
"name": "John",
"year": 1990, "month": 3, "day": 15,
"hour": 14, "minute": 30, "second": 0,
"city": "New York", "country_code": "US"
},
"options": {"house_system": "P", "zodiac_type": "Tropic"}
}'
Tarot Card Draw
bash {baseDir}/scripts/astro-api.sh POST /api/v3/tarot/cards/draw '{
"count": 3
}'
Numerology Core Numbers
bash {baseDir}/scripts/astro-api.sh POST /api/v3/numerology/core-numbers '{
"full_name": "John Smith",
"birth_date": "1990-03-15"
}'
Full endpoint reference: Read {baseDir}/references/api-endpoints.md for all 190+ endpoints with detailed parameters.
Default Options
When the user doesn't specify preferences, use these defaults:
- House system:
P (Placidus) — most common in Western astrology
- Zodiac type:
Tropic (Tropical) — Western standard
- Language:
EN (English) — override based on user's language
- Tradition:
universal — broadest coverage
Output Format
When presenting results to the user:
- Start with the highlights: Sun sign, Moon sign, Ascendant (Rising)
- Use plain language — translate astrological jargon
- Format positions as tables when showing multiple planets
- Highlight notable aspects (conjunctions, oppositions, squares, trines)
- For compatibility: lead with the overall score/summary
- For horoscopes: present the text naturally, don't dump raw JSON
- For chart images (SVG/render): save to a file and inform the user
Edge Cases
- Birth time unknown: Use noon (12:00) and note that house positions and Moon degree may be less accurate
- City not found: Ask for latitude/longitude instead. Use
latitude and longitude fields instead of city/country_code
- API errors (400/422): Parse the error message and explain to the user what's wrong (e.g., invalid date, missing field)
- Large responses: For analysis reports, summarize the key points rather than showing everything
- Language support: The API supports EN, RU, FR, DE, ES, IT, PT, and more — match the user's language when possible
1---
2name: astroapi-skill
3description: >-
4 Astrology API: generate natal charts, synastry, composite, transits, solar/lunar
5 returns, progressions, directions, planetary positions, house cusps, aspects, lunar
6 metrics, horoscopes, analysis reports, SVG/render charts, tarot, numerology, Vedic,
7 Chinese astrology, human design, kabbalah, astrocartography, eclipses, palmistry,
8 and fixed stars. Use when user asks about birth charts, horoscopes, zodiac signs,
9 compatibility, planetary positions, moon phases, transits, astrological calculations,
10 tarot readings, numerology, or any esoteric/astrological topic.
11license: MIT
12compatibility: Requires curl
13allowed-tools: Bash(curl:*) Read
14version: 1.0.2
15metadata:
16 source: https://skillmd.com/skills/modbender/astroapi-skill
17 openclaw:
18 emoji: ⭐
19 homepage: https://github.com/astro-api/astroapi-skill
20 requires:
21 bins: ['curl']
22 env: ['ASTROLOGY_API_KEY']
23 primaryEnv: ASTROLOGY_API_KEY
24---
25
26# Astrology API Skill
27
28## When to Use
29
30Use this skill when the user asks about:
31
32- Birth charts, natal charts, horoscopes
33- Zodiac compatibility, synastry, relationship analysis
34- Planetary positions, transits, aspects
35- Moon phases, lunar metrics, void of course
36- Solar/lunar returns, progressions, directions
37- Tarot card readings, spreads, interpretations
38- Numerology (core numbers, compatibility, comprehensive)
39- Vedic astrology (kundli, doshas, dashas, panchang)
40- Chinese astrology (bazi, ming gua, feng shui)
41- Human design (bodygraph, type, channels, gates)
42- Kabbalah (tree of life, birth angels, gematria)
43- Astrocartography (relocation, power zones, lines)
44- Fixed stars (positions, conjunctions)
45- Eclipses (upcoming, natal impact)
46- Palmistry (palm analysis, reading)
47- Daily/weekly/monthly/yearly horoscopes
48- Career, health, spiritual, psychological analysis
49- Chart rendering (SVG, PNG images)
50
51## Prerequisites
52
53Before making any API call, verify:
54
551. `$ASTROLOGY_API_KEY` environment variable is set
562. `curl` is available on PATH
57
58If the API key is missing, ask the user to set it:
59
60```
61export ASTROLOGY_API_KEY="your_token_here"
62```
63
64## How It Works
65
661. **Gather data** from the user depending on the request type:
67 - For natal/personal: name, birth date (year, month, day), birth time (hour, minute), birth city + country code (2-letter ISO)
68 - For synastry/compatibility: birth data for TWO people
69 - For transits: natal data + transit date/time
70 - For horoscopes by sign: just the zodiac sign name
71 - For tarot: question or spread type
72 - For numerology: full name + birth date
73
742. **Call the API** using `{baseDir}/scripts/astro-api.sh`:
75
76 ```
77 bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{ ... }'
78 ```
79
803. **Present results** in a human-friendly format, highlighting key findings.
81
82## API Call Patterns
83
84### Natal Chart (most common)
85
86```bash
87bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/natal '{
88 "subject": {
89 "name": "John",
90 "year": 1990, "month": 3, "day": 15,
91 "hour": 14, "minute": 30, "second": 0,
92 "city": "New York", "country_code": "US"
93 },
94 "options": {
95 "house_system": "P",
96 "zodiac_type": "Tropic",
97 "language": "EN"
98 }
99}'
100```
101
102### Synastry (compatibility)
103
104```bash
105bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/synastry '{
106 "subject": {
107 "name": "Person A",
108 "year": 1990, "month": 3, "day": 15,
109 "hour": 14, "minute": 30, "second": 0,
110 "city": "New York", "country_code": "US"
111 },
112 "partner": {
113 "name": "Person B",
114 "year": 1992, "month": 7, "day": 20,
115 "hour": 9, "minute": 0, "second": 0,
116 "city": "London", "country_code": "GB"
117 },
118 "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
119}'
120```
121
122### Transit Snapshot
123
124```bash
125bash {baseDir}/scripts/astro-api.sh POST /api/v3/charts/transit '{
126 "subject": {
127 "name": "John",
128 "year": 1990, "month": 3, "day": 15,
129 "hour": 14, "minute": 30, "second": 0,
130 "city": "New York", "country_code": "US"
131 },
132 "transit": {
133 "year": 2026, "month": 2, "day": 12,
134 "hour": 12, "minute": 0, "second": 0,
135 "city": "New York", "country_code": "US"
136 },
137 "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
138}'
139```
140
141### Current Sky Data (no parameters needed)
142
143```bash
144bash {baseDir}/scripts/astro-api.sh GET /api/v3/data/now
145```
146
147### Planetary Positions
148
149```bash
150bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/positions '{
151 "subject": {
152 "name": "John",
153 "year": 1990, "month": 3, "day": 15,
154 "hour": 14, "minute": 30, "second": 0,
155 "city": "New York", "country_code": "US"
156 },
157 "options": {"house_system": "P", "zodiac_type": "Tropic"}
158}'
159```
160
161### Lunar Metrics
162
163```bash
164bash {baseDir}/scripts/astro-api.sh POST /api/v3/data/lunar-metrics '{
165 "subject": {
166 "name": "now",
167 "year": 2026, "month": 2, "day": 12,
168 "hour": 12, "minute": 0, "second": 0,
169 "city": "New York", "country_code": "US"
170 }
171}'
172```
173
174### Daily Horoscope by Sign
175
176```bash
177bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/sign/daily '{
178 "sign": "aries",
179 "language": "EN"
180}'
181```
182
183### Personal Daily Horoscope
184
185```bash
186bash {baseDir}/scripts/astro-api.sh POST /api/v3/horoscope/personal/daily '{
187 "subject": {
188 "name": "John",
189 "year": 1990, "month": 3, "day": 15,
190 "hour": 14, "minute": 30, "second": 0,
191 "city": "New York", "country_code": "US"
192 },
193 "language": "EN"
194}'
195```
196
197### Natal Analysis Report (AI-generated interpretation)
198
199```bash
200bash {baseDir}/scripts/astro-api.sh POST /api/v3/analysis/natal-report '{
201 "subject": {
202 "name": "John",
203 "year": 1990, "month": 3, "day": 15,
204 "hour": 14, "minute": 30, "second": 0,
205 "city": "New York", "country_code": "US"
206 },
207 "options": {"house_system": "P", "zodiac_type": "Tropic", "language": "EN"}
208}'
209```
210
211### Render Chart as SVG
212
213```bash
214bash {baseDir}/scripts/astro-api.sh POST /api/v3/svg/natal '{
215 "subject": {
216 "name": "John",
217 "year": 1990, "month": 3, "day": 15,
218 "hour": 14, "minute": 30, "second": 0,
219 "city": "New York", "country_code": "US"
220 },
221 "options": {"house_system": "P", "zodiac_type": "Tropic"}
222}'
223```
224
225### Tarot Card Draw
226
227```bash
228bash {baseDir}/scripts/astro-api.sh POST /api/v3/tarot/cards/draw '{
229 "count": 3
230}'
231```
232
233### Numerology Core Numbers
234
235```bash
236bash {baseDir}/scripts/astro-api.sh POST /api/v3/numerology/core-numbers '{
237 "full_name": "John Smith",
238 "birth_date": "1990-03-15"
239}'
240```
241
242> **Full endpoint reference:** Read `{baseDir}/references/api-endpoints.md` for all 190+ endpoints with detailed parameters.
243
244## Default Options
245
246When the user doesn't specify preferences, use these defaults:
247
248- **House system:** `P` (Placidus) — most common in Western astrology
249- **Zodiac type:** `Tropic` (Tropical) — Western standard
250- **Language:** `EN` (English) — override based on user's language
251- **Tradition:** `universal` — broadest coverage
252
253## Output Format
254
255When presenting results to the user:
256
2571. **Start with the highlights**: Sun sign, Moon sign, Ascendant (Rising)
2582. **Use plain language** — translate astrological jargon
2593. **Format positions as tables** when showing multiple planets
2604. **Highlight notable aspects** (conjunctions, oppositions, squares, trines)
2615. **For compatibility**: lead with the overall score/summary
2626. **For horoscopes**: present the text naturally, don't dump raw JSON
2637. **For chart images (SVG/render)**: save to a file and inform the user
264
265## Edge Cases
266
267- **Birth time unknown**: Use noon (12:00) and note that house positions and Moon degree may be less accurate
268- **City not found**: Ask for latitude/longitude instead. Use `latitude` and `longitude` fields instead of `city`/`country_code`
269- **API errors (400/422)**: Parse the error message and explain to the user what's wrong (e.g., invalid date, missing field)
270- **Large responses**: For analysis reports, summarize the key points rather than showing everything
271- **Language support**: The API supports EN, RU, FR, DE, ES, IT, PT, and more — match the user's language when possible