API reference

Documentation

Base URL https://gateway.vedakjyoti.com. JSON in, JSON out. Machine-readable spec: /openapi.json.

Authentication

Send your key as a bearer token. Keys are issued per account; keep them server-side and never ship them in a browser or mobile app.

Authorization: Bearer vj_live_xxxxxxxx_...

Example

curl -X POST https://gateway.vedakjyoti.com/v1/charts/calculate \
  -H "Authorization: Bearer $VJ_KEY" \
  -H "Content-Type: application/json" \
  -d '{  "birth": {   "date": "1990-02-10",   "local_time": "14:32:00",   "time_certainty": "exact",   "timezone": "Asia/Kolkata",   "utc_offset_hint": "+05:30",   "latitude": 28.6139,   "longitude": 77.209  },  "evaluation_time_utc": "2026-08-20T12:00:00Z" }'

Billing

Errors

StatusCodeMeaning
401unauthorizedMissing, malformed or revoked key.
402insufficient_balanceTop up to continue. Not charged.
403endpoint_not_enabled / account_suspendedAsk us to enable the endpoint or contact us about the account.
404 / 405not_found / method_not_allowedUnknown path, or wrong HTTP method.
409idempotency_conflictThe key was used with a different request.
413request_too_largeBody above 256 KB.
422(validation)The request failed validation. The body names the field. Not charged.
429rate_limit_exceededSlow down; see the Retry-After header. Not charged.
502 / 503upstream_unavailableCalculation service unavailable. Retry with backoff. Not charged.

Errors return {"error": {"code", "message", "request_id"}}. Quote the X-Request-ID if you contact us.

Endpoints

Birth chart

POST /v1/charts/calculate · Core

Sidereal (Lahiri) positions, houses, divisional charts, dignities, Vimshottari Dasha and Manglik status for one birth.

Request fieldTypeRequired
person_refstring
birthBirthInputyes
evaluation_time_utcstring (date-time)yes
rulesetstring

Compatibility

POST /v1/compatibility/calculate · Core

Ashtakoot (36-point) matching and Manglik comparison for two births.

Request fieldTypeRequired
groomChartRequestyes
brideChartRequestyes

Transits

POST /v1/transits/calculate · Core

Planetary transits for a date, with optional Sade Sati and Dhaiya windows.

Request fieldTypeRequired
chartChartRequestyes
start_time_utcstring (date-time)yes
end_time_utcstring (date-time)yes
step_hoursinteger
include_sade_satiboolean

Marriage timing windows

POST /v1/marriage/timing · Insight

Evidence windows for marriage timing from Dasha and transit factors.

Request fieldTypeRequired
primaryChartRequestyes
partnerChartRequest
start_time_utcstring (date-time)yes
end_time_utcstring (date-time)yes
step_daysinteger
rulesetstring

Relationship evidence

POST /v1/relationship/analyze · Insight

Six traceable relationship evidence dimensions drawn from two charts.

Request fieldTypeRequired
primaryChartRequestyes
partnerChartRequestyes
rulesetstring

Career evidence

POST /v1/career/analyze · Insight

Traceable career evidence from D1, D9 and D10.

Request fieldTypeRequired
personChartRequestyes
rulesetstring

Relocation evidence

POST /v1/relocation/analyze · Insight

Evidence for candidate places using D1 and D4 factors.

Request fieldTypeRequired
personChartRequestyes
rulesetstring
placesarray

Family and children evidence

POST /v1/family-children/analyze · Insight

Family-house evidence from D1, D7 and D9. Not a medical or fertility assessment.

Request fieldTypeRequired
personChartRequestyes
rulesetstring

Business evidence

POST /v1/business/analyze · Insight

Business evidence from D1 and D10. Not financial advice.

Request fieldTypeRequired
personChartRequestyes
rulesetstring

Full request and response schemas are in /openapi.json. A person is described by birth (date, local time, certainty, timezone, latitude, longitude) and an evaluation_time_utc.

Questions or a higher rate limit: hello@lightsapien.com.