astrom8 Get API key

Western to Thai. One precise API.

Western, Vedic, BaZi, Saju, Tarot and a deep Thai calendar — computed, not guessed. JSON back from a single request.

Choose a tradition

Sample response, trimmed

POST /v1/natal-chart · 1 credit

{
  "ascendant": "Cancer",
  "midheaven": "Aries",
  "planets": [
    { "name": "Sun", "sign": "Taurus", "degree": 28.81 },
    { "name": "Moon", "sign": "Pisces", "degree": 27.33 }
  ]
}
{
  "ascendant": "Cancer",
  "midheaven": "Aries",
  "planets": [
    {
      "name": "Sun",
      "sign": "Taurus",
      "degree": 28.81
    },
    {
      "name": "Moon",
      "sign": "Pisces",
      "degree": 27.33
    }
  ]
}

POST /api/v3/vedic/panchang · 1 credit

{
  "tithi": {
    "name": "Saptami",
    "name_th": "สัปตมี",
    "paksha": "shukla"
  },
  "nakshatra": { "name": "Purva Ashadha", "lord": "Venus" },
  "sunrise": "06:09"
}
{
  "tithi": {
    "name": "Saptami",
    "name_th": "สัปตมี",
    "paksha": "shukla"
  },
  "nakshatra": {
    "name": "Purva Ashadha",
    "lord": "Venus"
  },
  "sunrise": "06:09"
}

POST /api/v3/chinese/bazi · 1 credit

{
  "pillars": {
    "year": { "heavenlyStem": "庚", "earthlyBranch": "午" },
    "day": { "heavenlyStem": "乙", "earthlyBranch": "酉" }
  },
  "dayMaster": "乙木"
}
{
  "pillars": {
    "year": {
      "heavenlyStem": "庚",
      "earthlyBranch": "午"
    },
    "day": {
      "heavenlyStem": "乙",
      "earthlyBranch": "酉"
    }
  },
  "dayMaster": "乙木"
}

POST /api/v3/korean/saju · 2 credits

{
  "system": "korean_saju",
  "day_master": {
    "stem": "乙",
    "element": "Wood",
    "korean": "일간",
    "strength": "weak"
  }
}
{
  "system": "korean_saju",
  "day_master": {
    "stem": "乙",
    "element": "Wood",
    "korean": "일간",
    "strength": "weak"
  }
}

POST /api/v3/thai/calendar/day · 2 credits

{
  "buddhist_year": 2569,
  "reuk": {
    "reuk_bon": {
      "class_th": "มหัทธโนฤกษ์",
      "class_en": "Mahatthano",
      "score": 5
    }
  }
}
{
  "buddhist_year": 2569,
  "reuk": {
    "reuk_bon": {
      "class_th": "มหัทธโนฤกษ์",
      "class_en": "Mahatthano",
      "score": 5
    }
  }
}

POST /api/v3/tarot/cards/daily · 1 credit

{
  "card": {
    "name": "The Sun",
    "name_th": "ดวงอาทิตย์",
    "arcana": "major"
  },
  "orientation": "upright",
  "keywords": ["joy", "vitality"]
}
{
  "card": {
    "name": "The Sun",
    "name_th": "ดวงอาทิตย์",
    "arcana": "major"
  },
  "orientation": "upright",
  "keywords": ["joy", "vitality"]
}

Six traditions, one key

Every system answers through the same API key, the same credit balance and the same error format. Each endpoint has its own request body, all described in one OpenAPI spec.

System Endpoint Returns Credits
Western POST /v1/natal-chart Natal Chart 1
GET /v1/planets Planet Positions 1
POST /api/v3/horoscope/sign/daily/text Daily Horoscope (v3) 1
Vedic POST /api/v3/vedic/panchang Vedic Panchang 1
POST /api/v3/vedic/vimshottari-dasha Vimshottari Dasha 2
POST /api/v3/vedic/kundli-matching Kundli Matching 3
BaZi POST /api/v3/chinese/bazi BaZi 4 Pillars 1
Saju POST /api/v3/korean/saju Korean Saju 2
Thai POST /api/v3/thai/calendar/day Thai Calendar Day 2
POST /api/v3/thai/muhurta Thai Muhurta 3
POST /api/v3/thai/wheel/image Maha Thaksa Wheel Image 5
Tarot POST /api/v3/tarot/cards/daily Daily Tarot Card 1
POST /api/v3/tarot/reports/three-card Three-Card Spread 2
All endpoints and costs

Your first call takes one request

Bearer key, JSON body, typed response. Thai calendar, panchang and tarot fields ship with both Thai and English labels, so you can drop them straight into your UI. The Thai calendar call shown here works on the Free plan, like every other compute endpoint.

Read the docs

Request

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"
  }),
})
const day = await res.json()

Response · 200 OK

{
  "buddhist_year": 2569,
  "reuk": {
    "reuk_bon": {
      "class_th": "มหัทธโนฤกษ์",
      "class_en": "Mahatthano",
      "score": 5
    }
  }
}
A printed Maha Thaksa diagram with eight planetary sectors

Thai depth, computed

astrom8 also implements the Thai auspicious calendar, with five reuk systems per day: three on every call, and Thaksa plus Maha Thaksa when you send the birth weekday.

  1. Thaksa Today's role for your birth weekday, from Borivara to Kalakini
  2. Reuk Bon The day's nakshatra mapped to one of nine reuk classes
  3. Dithi Lunar-day quality, waxing and waning
  4. Maha Thaksa The eight-planet wheel for your birth weekday and today's place on it, also rendered as an image
  5. Atthaloka Day scores for work, money, love, health, travel and more

Plus the Buddhist calendar, Wan Phra holy days and Pee Chong clash years.

Built like infrastructure

The parts you would otherwise write yourself are already in the contract.

Idempotency-Key
Retry any write without double-charging credits.
Rate-limit headers
Remaining daily and per-minute requests on every metered call, before you hit a 429.
OpenAPI 3.1
One spec for client generation, with try-it in the docs.
Signed image URLs
Wheel and chart images delivered with a 24-hour TTL.

What teams build on it

  • Horoscope and birth-chart apps

    Natal charts, daily horoscopes and transits from one client.

  • Compatibility features

    Kundli matching and compatibility reports for dating and social products.

  • AI fortune-teller bots

    Ground an LLM in computed charts instead of letting it guess.

  • Auspicious-date tools

    Muhurta and Thai calendar days for weddings, launches and moves.

Start free. Upgrade when it ships.

One credit balance covers every system, and every plan calls every compute endpoint. Paid credits never expire while you are subscribed; Free refills to 1,000 each month. Annual billing gets 2 months free.

  • Free

    $0

    1,000 credits / month

    Every compute endpoint, Thai calendar and natal chart included

  • Starter

    $29 /mo

    25,000 credits / month

    + LLM narratives and chart images

  • Growth

    $99 /mo

    100,000 credits / month

    + PDF reports, batch and HR screening

  • Pro

    $299 /mo

    400,000 credits / month

    + 4× Growth credits and higher rate limits

Enterprise From $1,500/mo on an annual contract — committed credits, custom limits, SLA. Talk to sales

Full pricing

Set the wheel. Ship the feature.

Create a key in the dashboard and make your first call in minutes.