Skip to content

API Features

Every calculation, one API

Each category below is a real, key-scoped capability of the platform API — not the legacy local calculation routes this codebase is retiring. Scope a key to only what an integration needs.

How responses work

Predictable JSON, every time

Every endpoint accepts a request, validates it, and returns structured JSON — or a clear error you can handle in code.

curl -X POST https://api.astrologyservice.in/v1/chart \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"birth":{"year":1990,"month":6,"day":15,"hour":10,"minute":30,"latitude":23.02,"longitude":72.57,"timezone":"Asia/Kolkata"}}'

See the full reference

Request/response schemas for every endpoint are documented on the platform itself.