Jyai AI Astrologer: FREE AI Astrology & Horoscope
Jyai AI Astrologer: FREE AI Astrology & Horoscope · GPT 작업
Jyai API
API for retrieving complete Kundli data and other related information using kundli_code provided by user.
POST /rohiniastro/tools/complete-kundli-secureRetrieve complete Kundli details.This endpoint returns detailed astrological data based on kundli_code.
POST /rohiniastro/tools/kp-kundliRetrieve KP Kundli details.Returns specific KP astrological data including cuspal positions and ruling planets.
POST /rohiniastro/tools/chart-svgRetrieve Astrological Chart as SVG image.Generates and returns the astrological chart as a SVG image file.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Jyai API",
"description": "API for retrieving complete Kundli data and other related information using kundli_code provided by user.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://gpt.jyotishai.com",
"description": "Jyai main API server"
}
],
"paths": {
"/rohiniastro/tools/complete-kundli-secure": {
"post": {
"operationId": "getCompleteKundli",
"summary": "Retrieve complete Kundli details.",
"description": "This endpoint returns detailed astrological data based on kundli_code.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/KundliRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successfully retrieved Kundli details or an error message.",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/KundliResponse"
},
{
"$ref": "#/components/schemas/ErrorResponse"
}
]
}
}
}
}
}
}
},
"/rohiniastro/tools/kp-kundli": {
"post": {
"operationId": "getKpKundli",
"summary": "Retrieve KP Kundli details.",
"description": "Returns specific KP astrological data including cuspal positions and ruling planets.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/KundliRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successfully retrieved KP Kundli details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/KpKundliResponse"
}
}
}
},
"400": {
"description": "Error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/rohiniastro/tools/chart-svg": {
"post": {
"operationId": "getChartSvg",
"summary": "Retrieve Astrological Chart as SVG image.",
"description": "Generates and returns the astrological chart as a SVG image file.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/KundliRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successfully generated the chart image.",
"content": {
"image/svg+xml": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
},
"400": {
"description": "Error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"KundliRequest": {
"type": "object",
"required": [
"kundli_code"
],
"properties": {
"kundli_code": {
"type": "string",
"example": "BAKOP"
}
}
},
"KundliResponse": {
"type": "object",
"properties": {
"age": {
"type": "string",
"example": "35 years 7 months"
},
"dasha_running_now": {
"type": "string",
"description": "Text summary of the currently active dasha sequence with time ranges."
},
"today": {
"type": "string",
"format": "date-time"
},
"planet_details": {
"$ref": "#/components/schemas/PlanetDetail"
},
"rashi_chart_svg": {
"type": "string",
"description": "Rashi chart (D1) in north-indian style (diamond chart)"
},
"astro_details": {
"$ref": "#/components/schemas/AstroDetails"
},
"birth_details": {
"$ref": "#/components/schemas/BirthDetails"
},
"major_dasha_details": {
"$ref": "#/components/schemas/MajorDashaDetails"
},
"all_mahadasha": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MahaDasha"
}
},
"navamsa_chart": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NavamsaChart"
}
},
"transit_details_now": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TransitDetail"
}
}
}
},
"KpKundliResponse": {
"type": "object",
"properties": {
"age": {
"type": "string",
"example": "28 years 9 months"
},
"today": {
"type": "string",
"format": "date-time"
},
"dasha_running_now": {
"type": "string",
"description": "Multiline string summarizing current Dasha levels."
},
"cuspal_positions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CuspalPosition"
}
},
"kp_cusps": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KpCuspDetail"
}
},
"kp_planet": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KpPlanetDetail"
}
},
"kp_ruling_planets": {
"$ref": "#/components/schemas/KpRulingPlanets"
}
}
},
"PlanetDetail": {
"type": "object",
"properties": {
"SUN": {
"$ref": "#/components/schemas/EntityDetails"
},
"MOON": {
"$ref": "#/components/schemas/EntityDetails"
},
"MARS": {
"$ref": "#/components/schemas/EntityDetails"
},
"MERCURY": {
"$ref": "#/components/schemas/EntityDetails"
},
"JUPITER": {
"$ref": "#/components/schemas/EntityDetails"
},
"VENUS": {
"$ref": "#/components/schemas/EntityDetails"
},
"SATURN": {
"$ref": "#/components/schemas/EntityDetails"
},
"RAHU": {
"$ref": "#/components/schemas/EntityDetails"
},
"KETU": {
"$ref": "#/components/schemas/EntityDetails"
},
"ASCENDANT": {
"$ref": "#/components/schemas/EntityDetails"
}
}
},
"EntityDetails": {
"type": "object",
"properties": {
"aspects_details": {
"type": "array",
"items": {
"type": "string"
}
},
"awastha": {
"type": "string"
},
"degree": {
"type": "number",
"format": "float"
},
"dignity": {
"type": "string"
},
"house": {
"type": "integer"
},
"nakshatra": {
"type": "string"
},
"nakshatraLord": {
"type": "string"
},
"nakshatra_pad": {
"type": "integer"
},
"sign": {
"type": "string"
},
"signLord": {
"type": "string"
},
"significator": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
}
]
}
}
},
"AstroDetails": {
"type": "object",
"properties": {
"ascendant": {
"type": "number",
"format": "float"
},
"ascendant_lord": {
"type": "string"
},
"Varna": {
"type": "string"
},
"Vashya": {
"type": "string"
},
"Yoni": {
"type": "string"
},
"Gan": {
"type": "string"
},
"Nadi": {
"type": "string"
},
"SignLord": {
"type": "string"
},
"sign": {
"type": "string"
},
"Naksahtra": {
"type": "string"
},
"NaksahtraLord": {
"type": "string"
},
"Charan": {
"type": "integer"
},
"Yog": {
"type": "string"
},
"Karan": {
"type": "string"
},
"Tithi": {
"type": "string"
},
"yunja": {
"type": "string"
},
"tatva": {
"type": "string"
},
"name_alphabet": {
"type": "string"
},
"paya": {
"type": "string"
}
}
},
"BirthDetails": {
"type": "object",
"properties": {
"year": {
"type": "integer"
},
"month": {
"type": "integer"
},
"day": {
"type": "integer"
},
"hour": {
"type": "integer"
},
"minute": {
"type": "integer"
},
"second": {
"type": "integer"
},
"lat": {
"type": "number",
"format": "float"
},
"lon": {
"type": "number",
"format": "float"
},
"tzoffset": {
"type": "number",
"format": "float"
},
"name": {
"type": "string",
"nullable": true
},
"sunrise": {
"type": "string"
},
"sunset": {
"type": "string"
},
"ayanamsha": {
"type": "number",
"format": "float"
}
}
},
"MajorDashaDetails": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
},
"planet": {
"type": "string"
},
"dashas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"planet_sequence": {
"type": "string"
},
"planet": {
"type": "string"
},
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
}
}
}
},
"MahaDasha": {
"type": "object",
"properties": {
"planet": {
"type": "string"
},
"start": {
"type": "string"
},
"end": {
"type": "string"
},
"dashas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"planet_sequence": {
"type": "string"
},
"planet": {
"type": "string"
},
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
}
}
}
},
"NavamsaChart": {
"type": "object",
"properties": {
"degree": {
"type": "number",
"nullable": true
},
"planet": {
"type": "array",
"items": {
"type": "string"
}
},
"planet_retro": {
"type": "array",
"items": {
"type": "integer"
}
},
"planet_small": {
"type": "array",
"items": {
"type": "string"
}
},
"sign": {
"type": "integer"
},
"sign_name": {
"type": "string"
}
}
},
"TransitDetail": {
"type": "object",
"properties": {
"house": {
"type": "integer"
},
"occupants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"is_retro": {
"type": "boolean"
},
"name": {
"type": "string"
}
}
}
},
"sign": {
"type": "string"
}
}
},
"CuspalPosition": {
"type": "object",
"properties": {
"house": {
"type": "integer"
},
"sign": {
"type": "string"
},
"degree": {
"type": "number",
"format": "float"
},
"occupants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"is_retro": {
"type": "boolean"
}
}
}
}
}
},
"KpCuspDetail": {
"type": "object",
"properties": {
"cusp": {
"type": "integer"
},
"degree": {
"type": "number",
"format": "float"
},
"sign": {
"type": "integer"
},
"sign_name": {
"type": "string"
},
"sign_lord_name": {
"type": "string"
},
"star": {
"type": "integer"
},
"star_name": {
"type": "string"
},
"star_lord": {
"type": "integer"
},
"star_lord_name": {
"type": "string"
},
"sub": {
"type": "integer"
},
"sub_lord": {
"type": "integer"
},
"sub_lord_name": {
"type": "string"
},
"planet": {
"type": "array",
"items": {
"type": "string"
}
},
"planet_retro": {
"type": "array",
"items": {
"type": "string"
}
},
"planet_small": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"KpPlanetDetail": {
"type": "object",
"properties": {
"planet": {
"type": "integer"
},
"planet_name": {
"type": "string"
},
"cusp": {
"type": "integer"
},
"sign": {
"type": "integer"
},
"sign_name": {
"type": "string"
},
"sign_lord_name": {
"type": "string"
},
"star": {
"type": "integer"
},
"star_name": {
"type": "string"
},
"star_lord": {
"type": "integer"
},
"star_lord_name": {
"type": "string"
},
"sub": {
"type": "integer"
},
"sub_lord": {
"type": "integer"
},
"sub_lord_name": {
"type": "string"
}
}
},
"KpRulingPlanets": {
"type": "object",
"properties": {
"asc_sign_lord": {
"type": "string"
},
"asc_star_lord": {
"type": "string"
},
"asc_sub_lord": {
"type": "string"
},
"day_lord": {
"type": "string"
},
"moon_sign_lord": {
"type": "string"
},
"moon_star_lord": {
"type": "string"
},
"moon_sub_lord": {
"type": "string"
}
}
},
"ErrorResponse": {
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Invalid date provided."
},
"status": {
"type": "boolean",
"example": false
}
}
}
}
}
}