Question charts (prashna)
KP horary number in Vedic astrology
Updated
KP horary number: how the API computes it
POST /v1/prashna/kp takes the number, a topic, a latitude, a longitude and a time zone. No birth details are asked for (PQ-33). It uses the KP ayanamsa and Placidus houses, and it never changes the answers of POST /v1/prashna.
KP cuts the zodiac into 249 slices. They are the same subs that POST /v1/kp numbers in sub_number. The first degree of the picked slice becomes the ascendant, the rising point (PQ-34, PQ-35).
The other 11 cusps, the points where houses begin, come from it and the latitude. Beyond 66 degrees of latitude these houses do not work, so the request gets a 422 error. The moment of asking only places the planets.
The answer comes from the sub lord of the topic's cusp. It works through its star lord, the planet that rules its nakshatra (PQ-37). The houses it links to say yes or no. So the result is promised, mixed, denied or not shown.
Ruling planets come from the moment, never from the number (PQ-38). A date, when there is one, comes from planet periods and is an estimate (PQ-40). KP reads eight topics, such as marriage, work and money.
GET /v1/prashna/topics says which ones (PQ-36). Take the number 123 and a question about marriage, asked in New York at noon on Oct 1, 2026. The rising point is at 26 degrees of Virgo, in the nakshatra Chitra.
The sub lord of house 7 is Jupiter, and it links through Mercury only to houses that say no. So the answer is "The chart does not support it", and no date is given. A KP answer and a main answer on one topic count as one question for the 72-hour rule (PQ-51).
Get it from the API
POST /v1/prashna/kp
curl -X POST "https://apiforastrology.com/api/astrology/v1/prashna/kp" \
-H "Authorization: Bearer $ASTROLOGY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"topic":"marriage","latitude":40.7128,"longitude":-74.006,"timezone":"America/New_York","number":123,"year":2026,"month":10,"day":1,"hour":12,"minute":0}'{
"system": "kp_horary",
"number": 123,
"topic": "marriage",
"title": "Marriage: your KP number reading",
"answer": {
"status": "denied",
"label": {
"id": "prashna:kp:label:denied",
"text": "The chart does not support it"
},
"headline": {
"id": "prashna:kp:headline:denied",
"text": "For your question about marriage, the chart does not support it right now."
},
"why": [
{
"id": "prashna:kp:why:no",
"text": "The sub lord of your seventh house, Jupiter, links through Mercury only to houses that say no: 1 and 10.",
"reason": "no"
}
],
"confirmed": false,
"confirmation": {
"id": "prashna:kp:confirm:nothing_to_confirm",
"text": "There is nothing for the moment to confirm, because the chart does not support this."
},
"timing": {
"id": "prashna:kp:timing:no_date:promise_failed",
"text": "No date is given, because the chart does not support this.",
"status": "no_date",
"no_date_reason": "promise_failed"
},
"note": {
"id": "prashna:kp:note",
"text": "This shows a tendency of the moment, not a promise. Your effort still counts."
},
"titles": {
"why": "Why: the main reasons",
"timing": "When",
"details": "How we read it (all the details)"
}
},
"promise": {
"cusp": 7,
"sub_lord": "Jupiter",
"star_lord": "Mercury",
"star_lord_occupies": 1,
"star_lord_owns": [
1,
10,
12
],
"signifies": [
1,
10,
12
],
"yes_signified": [],
"no_signified": [
1,
10
],
"status": "denied",
"yes_houses": [
2,
7,
11
],
"no_houses": [
1,
6,
10
],
"levels_used": [
"in_star_of_occupants",
"in_star_of_cusp_lord"
],
"rule": "The sub lord of the cusp signifies a house through its star lord: the house the star lord occupies and the houses the star lord owns (PQ-37). promised: at least one yes house, and none of the no houses. mixed: at least one of each, both…",
"other_cusp": null,
"cusps_differ": false,
"reading_id": "prashna:kp:promise:denied"
},
"ruling_planets": {
"lagna_star_lord": "Saturn",
"lagna_sign_lord": "Mars",
"moon_star_lord": "Moon",
"moon_sign_lord": "Venus",
"day_lord": "Jupiter",
"for": "the actual moment, not the number",
"asc_longitude": 224.0253382,
"nodes_added": [
"Rahu"
],
"grahas": [
"Saturn",
"Mars",
"Moon"
],
"discarded": [
{
"graha": "Saturn",
"reason": "retrograde"
},
{
"graha": "Mars",
"reason": "in_star_of_retrograde",
"star_lord": "Saturn"
}
],
"direct_grahas": [
"Moon",
"Venus",
"Jupiter"
],
"evidence_only": {
"lagna_sub_lord": "Rahu",
"moon_sub_lord": "Mercury"
},
"reading_id": "prashna:kp:ruling:list"
},
"confirmation": {
"state": "nothing_to_confirm",
"confirmed": false,
"confirmed_by": [],
"reading_id": "prashna:kp:confirm:nothing_to_confirm"
},
"timing": {
"method": "kp_dasha_and_transit",
"estimate": true,
"rule": "Dasha, bhukti and antara lords are chosen only from the direct ruling planets that signify a yes house, on the dasha of the horary chart's own Moon. The first such period inside the limit that a transit confirms is given. Limit: 10 years…",
"dasha_basis": {
"of": "the horary chart's own Moon",
"moon_longitude": 49.2922281,
"balance_years": 3.031946,
"balance_method": "time",
"running": {
"dasha_lord": "Moon",
"bhukti_lord": "Mercury",
"antara_lord": "Jupiter"
}
},
"allowed_lords": [],
"limit": {
"kind": "ten_years",
"until": "2036-10-01T00:00:00"
},
"status": "no_date",
"no_date_reason": "promise_failed",
"period": null,
"transit": null,
"reading_id": "prashna:kp:timing:no_date:promise_failed"
},
"chart": {
"ayanamsa": {
"name": "Krishnamurti (KP)",
"value": 24.1339191
},
"house_system": "Placidus",
"number_sub": {
"number": 123,
"start": 176.1111111,
"end": 177.8888889,
"sign": "Virgo",
"nakshatra": "Chitra",
"star_lord": "Mars",
"sub_lord": "Jupiter"
},
"cusps": [
{
"cusp": 1,
"longitude": 176.1111111,
"degree_in_sign": 26.1111111,
"degree_dms": "26 : 06 : 40",
"sign": "Virgo",
"sign_number": 6,
"sign_lord": "Mercury",
"nakshatra": "Chitra",
"star_lord": "Mars",
"sub_lord": "Jupiter",
"sub_sub_lord": "Jupiter",
"sub_number": 123
},
{
"cusp": 2,
"longitude": 203.6387429,
"degree_in_sign": 23.6387429,
"degree_dms": "23 : 38 : 19",
"sign": "Libra",
"sign_number": 7,
"sign_lord": "Venus",
"nakshatra": "Vishakha",
"star_lord": "Jupiter",
"sub_lord": "Saturn",
"sub_sub_lord": "Jupiter",
"sub_number": 140
},
{
"cusp": 3,
"longitude": 235.2169665,
"degree_in_sign": 25.2169665,
"degree_dms": "25 : 13 : 01",
"sign": "Scorpio",
"sign_number": 8,
"sign_lord": "Mars",
"nakshatra": "Jyeshtha",
"star_lord": "Mercury",
"sub_lord": "Rahu",
"sub_sub_lord": "Mercury",
"sub_number": 164
}
],
"planets": [
{
"graha": "Sun",
"longitude": 164.357778,
"degree_in_sign": 14.357778,
"degree_dms": "14 : 21 : 28",
"sign": "Virgo",
"sign_number": 6,
"sign_lord": "Mercury",
"nakshatra": "Hast",
"star_lord": "Moon",
"sub_lord": "Jupiter",
"sub_sub_lord": "Saturn",
"sub_number": 115,
"house": 12,
"retrograde": false
},
{
"graha": "Moon",
"longitude": 49.2922281,
"degree_in_sign": 19.2922281,
"degree_dms": "19 : 17 : 32",
"sign": "Taurus",
"sign_number": 2,
"sign_lord": "Venus",
"nakshatra": "Rohini",
"star_lord": "Moon",
"sub_lord": "Mercury",
"sub_sub_lord": "Jupiter",
"sub_number": 34,
"house": 8,
"retrograde": false
},
{
"graha": "Mars",
"longitude": 97.9401995,
"degree_in_sign": 7.9401995,
"degree_dms": "07 : 56 : 25",
"sign": "Cancer",
"sign_number": 4,
"sign_lord": "Moon",
"nakshatra": "Pushya",
"star_lord": "Saturn",
"sub_lord": "Ketu",
"sub_sub_lord": "Saturn",
"sub_number": 68,
"house": 10,
"retrograde": false
}
],
"significators": {
"by_house": {
"1": {
"in_star_of_occupants": [
"Jupiter",
"Saturn"
],
"occupants": [
"Mercury",
"Venus"
],
"in_star_of_cusp_lord": [
"Jupiter",
"Saturn"
],
"cusp_lord": "Mercury"
},
"2": {
"in_star_of_occupants": [],
"occupants": [],
"in_star_of_cusp_lord": [],
"cusp_lord": "Venus"
},
"3": {
"in_star_of_occupants": [],
"occupants": [],
"in_star_of_cusp_lord": [
"Rahu"
],
"cusp_lord": "Mars"
},
"4": {
"in_star_of_occupants": [],
"occupants": [],
"in_star_of_cusp_lord": [],
"cusp_lord": "Jupiter"
},
"5": {
"in_star_of_occupants": [
"Mercury",
"Venus"
],
"occupants": [
"Rahu"
],
"in_star_of_cusp_lord": [
"Mars"
],
"cusp_lord": "Saturn"
},
"6": {
"in_star_of_occupants": [
"Mars"
],
"occupants": [
"Saturn"
],
"in_star_of_cusp_lord": [],
"cusp_lord": "Jupiter"
},
"7": {
"in_star_of_occupants": [],
"occupants": [],
"in_star_of_cusp_lord": [],
"cusp_lord": "Jupiter"
},
"8": {
"in_star_of_occupants": [
"Sun",
"Moon"
],
"occupants": [
"Moon"
],
"in_star_of_cusp_lord": [
"Rahu"
],
"cusp_lord": "Mars"
},
"9": {
"in_star_of_occupants": [],
"occupants": [],
"in_star_of_cusp_lord": [],
"cusp_lord": "Venus"
},
"10": {
"in_star_of_occupants": [
"Rahu"
],
"occupants": [
"Mars",
"Jupiter"
],
"in_star_of_cusp_lord": [
"Jupiter",
"Saturn"
],
"cusp_lord": "Mercury"
},
"11": {
"in_star_of_occupants": [
"Ketu"
],
"occupants": [
"Ketu"
],
"in_star_of_cusp_lord": [],
"cusp_lord": "Sun"
},
"12": {
"in_star_of_occupants": [],
"occupants": [
"Sun"
],
"in_star_of_cusp_lord": [
"Jupiter",
"Saturn"
],
"cusp_lord": "Mercury"
}
},
"by_planet": {
"Sun": {
"in_star_of_occupants": [
8
],
"occupants": [
12
],
"in_star_of_cusp_lord": [],
"cusp_lord": [
11
],
"all": [
8,
11,
12
]
},
"Moon": {
"in_star_of_occupants": [
8
],
"occupants": [
8
],
"in_star_of_cusp_lord": [],
"cusp_lord": [],
"all": [
8
]
},
"Mars": {
"in_star_of_occupants": [
6
],
"occupants": [
10
],
"in_star_of_cusp_lord": [
5
],
"cusp_lord": [
3,
8
],
"all": [
3,
5,
6
]
},
"Mercury": {
"in_star_of_occupants": [
5
],
"occupants": [
1
],
"in_star_of_cusp_lord": [],
"cusp_lord": [
1,
10,
12
],
"all": [
1,
5,
10
]
},
"Jupiter": {
"in_star_of_occupants": [
1
],
"occupants": [
10
],
"in_star_of_cusp_lord": [
1,
10,
12
],
"cusp_lord": [
4,
6,
7
],
"all": [
1,
4,
6
]
},
"Venus": {
"in_star_of_occupants": [
5
],
"occupants": [
1
],
"in_star_of_cusp_lord": [],
"cusp_lord": [
2,
9
],
"all": [
1,
2,
5
]
},
"Saturn": {
"in_star_of_occupants": [
1
],
"occupants": [
6
],
"in_star_of_cusp_lord": [
1,
10,
12
],
"cusp_lord": [
5
],
"all": [
1,
5,
6
]
},
"Rahu": {
"in_star_of_occupants": [
10
],
"occupants": [
5
],
"in_star_of_cusp_lord": [
3,
8
],
"cusp_lord": [],
"all": [
3,
5,
8
]
},
"Ketu": {
"in_star_of_occupants": [
11
],
"occupants": [
11
],
"in_star_of_cusp_lord": [],
"cusp_lord": [],
"all": [
11
]
}
},
"levels": [
"in_star_of_occupants",
"occupants",
"in_star_of_cusp_lord"
]
}
},
"provisional": [
{
"rule": "PQ-51",
"point": "one_question_across_routes",
"reading": "The repeat rule is applied per topic id, whichever route answered. A KP answer and a main-route answer on the same topic id count as one question."
},
{
"rule": "PQ-35",
"point": "subdivision_point",
"reading": "The ascendant is the FIRST degree of the sub the number names, the usual KP practice."
},
{
"rule": "PQ-35",
"point": "latitude",
"reading": "The latitude is the one the caller sends. Whose place that is, the asker's or the astrologer's, is for the app."
}
],
"not_computed": [
"repeat questions: the 72-hour rule is stated in `repeat_rule` and not enforced here. The API stores nothing and takes no user id, so your app keeps track (PQ-50)",
"significator grades: the four levels of KP are lists, never scored",
"node agency: Rahu and Ketu are counted only by their own house and star. Sources differ on which other planets they stand in for"
],
"not_claimed": "a KP horary reading shows the TENDENCIES OF THE MOMENT a question is asked. It is not a yes-or-no answer and not a guarantee of any outcome. \"Confirmed\" means the moment agrees with the reading, not that the result is certain. A date is an…",
"readings": [
{
"id": "prashna:kp:promise:denied",
"part": "kp",
"title": "What your number shows",
"text": [
"Your number makes Jupiter the sub lord of your seventh house. It works through its star lord, Mercury. That links it only to houses that say no: 1 and 10. So the chart does not support this right now."
],
"language": "en",
"detail": "standard"
},
{
"id": "prashna:kp:ruling:list",
"part": "kp",
"title": "The planets of the moment",
"text": [
"The ruling planets for the moment you asked are Saturn, Mars, the Moon, Venus, Jupiter and Rahu."
],
"language": "en",
"detail": "standard"
},
{
"id": "prashna:kp:ruling:nodes",
"part": "kp",
"title": "The planets of the moment",
"text": [
"Also counted: Rahu. Rahu or Ketu counts when it sits in a sign ruled by a ruling planet."
],
"language": "en",
"detail": "standard"
}
],
"gaps": [],
"language": "en",
"detail": "standard",
"asked_at": {
"local": "2026-10-01T12:00:00",
"utc": "2026-10-01T16:00:00Z",
"utc_offset_hours": -4,
"source": "given"
},
"place": {
"latitude": 40.7128,
"longitude": -74.006
},
"repeat_rule": {
"hours": 72,
"applies_to": "same_person_and_topic",
"starts_from": "last_answered_question",
"refusals_count": false,
"enforced_by": "caller",
"text": "The same person should ask about the same topic only once in 72 hours. This is a working rule. The 72 hours start from the last question that got an answer. A refused question does not count, so the person can ask again when the moment…"
},
"meta": {
"ayanamsa": "kp",
"ayanamsa_value": 24.1339191,
"julian_day": 2461315.167466,
"ephemeris": "JPL DE440s",
"node": "true",
"timezone": {
"source": "zone",
"offset_hours": -4,
"zone": "America/New_York",
"abbreviation": "EDT",
"dst": true,
"dst_hours": 1,
"ambiguous_resolved_by_fold": null,
"note": "read from the IANA tz database at this instant, so daylight saving and historical offset changes are included"
}
}
}Where the API returns it
| POST | /v1/prashna/kp | KP horary: a question read from a number between 1 and 249 |
| POST | /v1/prashna | Question chart (prashna): one question, read for the moment it is asked |
What the API reference says
Each line is quoted from the reference page of the endpoint named above it.
- POST /v1/prashna/kp · KP horary: a question read from a number between 1 and 249A person picks a number from 1 to 249 and a topic.
- POST /v1/prashna · Question chart (prashna): one question, read for the moment it is askedMethods not used are named in
refused: KP horary numbers (1 to 249), ashtamangala and a Moon void of course, and a directional arudha. - POST /v1/prashna/kp · KP horary: a question read from a number between 1 and 249The number picks one of the 249 pieces of the zodiac, and that piece's first degree is the ascendant.
Feature page: Prashna (horary). Who uses it: Astrologer consultation platforms. The classical rules the API follows are in the rulebook.
How we check the numbers
Every value here starts from planet positions worked out from NASA JPL planet data (DE440). We test them against NASA JPL Horizons, NASA's planet position service. On 25,571 positions from 1850 to 2149, the Sun and planets agree within 0.001 arc seconds. The Moon agrees within 0.011. On 2,000 random birth charts, the rising sign agrees with Swiss Ephemeris within 0.004 arc seconds. An arc second is 1/3,600 of a degree. A practicing astrologer reviews the rules behind these answers. See how we test.
Related terms
Astrology API
Get these values from the API
Create a free test key and call any endpoint on this page. Or try a request in the API reference first.
Your first answer
John Doe, New York
- RisingVirgoHast
- SunCancerAshlesha
- MoonTaurusMrigashira
- MarsAriesKrittika
Real API output. A free test key gets the same answer.
01
Test key: 1,000 test calls a month to build with
02
Free plan: 2,000 live calls a month, no card needed
03
Open rules: every rule is published, so you can check any answer