Skip to main content
POST
Thai calendar PDF report

Authorizations

Authorization
string
header
required

Use the raw API key as the Bearer token, or send X-API-Key instead.

Body

application/json
date
string<date>
required
Example:

"2026-05-08"

timezoneOffsetMinutes
integer
required
Required range: -720 <= x <= 840
Example:

420

latitude
number
required
Required range: -90 <= x <= 90
Example:

13.7563

longitude
number
required
Required range: -180 <= x <= 180
Example:

100.5018

birth_year
integer

Optional Gregorian birth year for personal Pee Chong check.

Required range: 1900 <= x <= 2200
birth_day_of_week
enum<string>

Optional. 'rahu' = born late Wednesday (มหาทักษา system).

Available options:
sun,
mon,
tue,
wed,
thu,
fri,
sat,
rahu
locale
enum<string>
default:th
Available options:
th,
en

Response

PDF generated and uploaded; signed URL valid for 24 hours.

pdf_url
string<uri>
required
expires_at
string<date-time>
required