# KP Ruling Planets API

The KP ruling planets for a moment and a place: the day lord, the Moon's sign, star and sub lord, and the Lagna's sign, star and sub lord, with how often each planet appears. KP convention: Krishnamurti ayanamsha, Placidus Lagna, the Vedic day lord (from sunrise), raw lords without the Rahu/Ketu agent rule.

- Endpoint: `POST https://api.96astroapi.com/v1/kp/kp-ruling-planets`
- Family: [Krishnamurti Paddhati (KP)](https://96astroapi.com/apis/kp.md)
- Input: Birth details
- Cost: 1 credit per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en, hi, mr, bn, gu, ta, te, ml, kn, pa, ur, ne, or, as, si, fr, es, pt, de, it, nl, pl, tr, ru, ko, ja
- Web page: https://96astroapi.com/apis/kp/kp-ruling-planets

## Example request

```bash
curl https://api.96astroapi.com/v1/kp/kp-ruling-planets \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"datetime":"2026-11-20T10:00:00","timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209}'
```

## Response

Every response is `{ "data": …, "meta": { "request_id", "credits_used", "warnings", "language" } }`.
The full request and response schema, with a captured example, is in the OpenAPI document: https://api.96astroapi.com/v1/openapi.json (path `/v1/kp/kp-ruling-planets`).
