Get started
Quickstart
From zero to first request — pick the language your team uses
1. Sign up and create a key
Create a free account, open Dashboard > API keys, then press Create under "Create a live API key". Copy the key when it appears; it is shown only once.
Sign up free →2. Make your first call
Use our flagship endpoint — Thai Calendar Day — bundling all 5 reuk systems in one request. It works on the Free plan.
// Bun / Node 18+ — uses the native fetch
const res = await fetch('https://api.astrom8.com/api/v3/thai/calendar/day', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.ASTROM8_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
date: '2026-10-17',
timezoneOffsetMinutes: 420,
latitude: 13.7563,
longitude: 100.5018,
birth_year: 1990,
birth_day_of_week: 'mon',
}),
})
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`)
const data = await res.json()
console.log(data.reuk.reuk_bon.class_th)3. Inspect the response
The main labels come in Thai and English (label_th/label_en, class_th/class_en, position_th/position_en), so you can render them without a mapping table. Scores and dates are plain values.
{
"gregorian_date": "2026-10-17",
"buddhist_year": 2569,
"wan_phra": {
"is_holy_day": false,
"type": null,
"moon_phase": null
},
"pee_chong": {
"year_animal_th": "มะเมีย",
"year_animal_en": "Horse",
"personal_clash": false
},
"reuk": {
"thaksa": {
"label_th": "อุตสาหะ",
"label_en": "Utsaha",
"score": 3
},
"reuk_bon": {
"class_th": "มหัทธโนฤกษ์",
"class_en": "Mahatthano",
"score": 5,
"auspicious_for": [
"business",
"trade",
"wealth"
]
},
"dithi": {
"class_th": "ภัทรา",
"class_en": "Bhadra",
"score": 4
},
"maha_thaksa": {
"today_position": {
"position_th": "ศรี",
"position_en": "Sri",
"score": 5
}
}
}
}4. Next steps
Read Authentication and Rate Limits, then explore the endpoint category that matches your use case.