Chart briefs for an astrologer marketplace

The customer's chart is ready before the call connects.

A consultation marketplace sells an astrologer's time by the minute, so every minute spent casting a chart on the call is a minute the customer pays for and resents. The platform's job is to collect birth details at booking, compute a brief the astrologer reads before connecting, and sell the written follow-up afterwards - all from one key the platform owns, not one per astrologer.

9 endpoints across 4 stages. Updated .

Plan: the pre-call brief is Hobby (birth details and the chart itself are Free). Paid reports and GET /v1/reports/:id need Starter; KP horary (prashna) consultations need Pro - a Hobby key gets 403 PLAN_REQUIRED with required_tier: "pro".

Worth knowing first

A report belongs to the key that started it

Paid take-home reports run as jobs: POST returns 202 with a rep_… id and you poll GET /v1/reports/:id. That id is readable only by the API key that created it - a second key on the same account gets 404 NOT_FOUND, indistinguishable from a wrong id. A marketplace that starts jobs from its payments worker and reads them from the astrologer dashboard on another key will see every report "vanish". Use one key for both, or store the result when it is ready. And send an Idempotency-Key derived from the booking id: a retried payment webhook then gets the same report id back with idempotent-replayed: true instead of queuing a second job.

Stage 1

At booking: confirm the details

Customers mistype birth times and swap day and month. Show a short card they can recognise - Moon sign, nakshatra, rising sign - before they pay. time is required on every calculation endpoint (400 VALIDATION_ERROR without it), so a "don't know my time" path has to be designed, not defaulted.

Stage 2

Before the call: the astrologer's brief

Stage 3

Consultation types that need their own calls

Stage 4

After the call: the paid follow-up

A multi-year annual forecast is the natural upsell. Start it from the backend with an idempotency key, poll politely (each poll is a billable call), and attach the result to the consultation record.

Quick answers

Which endpoints does a astrologer marketplaces build use?
9 endpoints across 4 stages: Birth Details (Rashi, Nakshatra, Lagna) (POST /v1/birth-details); Birth Chart (Kundli) (POST /v1/charts/birth); Current Dasha Lookup (POST /v1/dasha/lookup); Transit Events (Gochar) (POST /v1/transits/events); Yoga Detection (POST /v1/yogas); Kundli Matching (Ashtakoot Gun Milan) (POST /v1/compatibility); KP Horary (Prashna 1-249) (POST /v1/kp/horary); Multi-year Varshphal Report (Async) (POST /v1/reports/varshphal-multi-year); Report Status and Download (GET /v1/reports/:id).
Which plan does it need?
Plan: the pre-call brief is Hobby (birth details and the chart itself are Free). Paid reports and GET /v1/reports/:id need Starter; KP horary (prashna) consultations need Pro - a Hobby key gets 403 PLAN_REQUIRED with required_tier: "pro".
What goes wrong first?
A report belongs to the key that started it. Paid take-home reports run as jobs: POST returns 202 with a rep_… id and you poll GET /v1/reports/:id. That id is readable only by the API key that created it - a second key on the same account gets 404 NOT_FOUND, indistinguishable from a wrong id. A marketplace that starts jobs from its payments worker and reads them from the astrologer dashboard on another key will see every report "vanish". Use one key for both, or store the result when it is ready. And send an Idempotency-Key derived from the booking id: a retried payment webhook then gets the same report id back with idempotent-replayed: true instead of queuing a second job.

Start

One key covers all of it

Every endpoint above takes the same bearer token and returns the same envelope. Free tier covers 1,000 requests / month. Pick your language in the quickstarts, or run any of these without a key in the playground.