Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Padas API

The Padas API from Jaimini Astrology returns Arudha (Aruda) and other house padas (P2, P3, upapada, etc.) derived from the native’s chart. These padas are used to judge materialization of houses (like wealth, marriage, profession, dharma) in Jaimini astrology.


Step-by-Step Padas API Postman Testing Integration

You can follow the official guide here:

Step by Step Padas API Postman Testing Integration


Supported Language Codes

Source:
https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Pass lan in the request body to get the response in that language. Default is en.


Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas

This endpoint returns Jaimini Astrology padas (Aruda Lagna and other padas) along with a chart SVG.


Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeRequiredDescription
api_keyStringYesYour API key.
full_nameStringYesFull name, e.g. Rahul Kumar.
dayIntegerYesDate of birth, e.g. 24.
monthIntegerYesMonth of birth, e.g. 05.
yearIntegerYesYear of birth, e.g. 2023.
hourIntegerYesHour of birth (24h), e.g. 14.
minIntegerYesMinute, e.g. 40.
secIntegerYesSecond, e.g. 43.
genderStringYesGender, e.g. male.
placeStringYesPlace of birth, e.g. New Delhi.
latFloatYesLatitude, e.g. 28.7041.
lonFloatYesLongitude, e.g. 77.1025.
tzoneFloatYesTimezone, e.g. 5.5. See DivineAPI timezone guide.
lanStringNoLanguage code from the list above. Default is en.

200: OK Jaimini Astrology Padas Fetched Successfully

{
    "success": 1,
    "data": {
        "padas_table": [
            {
                "code": "AP",
                "pada": "Aruda",
                "sign": "Scorpio",
                "sign_no": 8,
                "house": 3
            },
            {
                "code": "P2",
                "pada": "Dhana",
                "sign": "Aquarius",
                "sign_no": 11,
                "house": 6
            },
            {
                "code": "P3",
                "pada": "Vikrama / Bhratru",
                "sign": "Pisces",
                "sign_no": 12,
                "house": 7
            },
            {
                "code": "P4",
                "pada": "Sukha / Matru",
                "sign": "Leo",
                "sign_no": 5,
                "house": 12
            },
            {
                "code": "P5",
                "pada": "Mantra / Putra",
                "sign": "Pisces",
                "sign_no": 12,
                "house": 7
            },
            {
                "code": "P6",
                "pada": "Roga / Shatru",
                "sign": "Aquarius",
                "sign_no": 11,
                "house": 6
            },
            {
                "code": "P7",
                "pada": "Dara / Stree",
                "sign": "Taurus",
                "sign_no": 2,
                "house": 9
            },
            {
                "code": "P8",
                "pada": "Mrityu / Ayu",
                "sign": "Libra",
                "sign_no": 7,
                "house": 2
            },
            {
                "code": "P9",
                "pada": "Pitru / Bhagya / Dharma Pada",
                "sign": "Cancer",
                "sign_no": 4,
                "house": 11
            },
            {
                "code": "P10",
                "pada": "Karma / Rajya Pada",
                "sign": "Aquarius",
                "sign_no": 11,
                "house": 6
            },
            {
                "code": "P11",
                "pada": "Labha / Aye Pada",
                "sign": "Cancer",
                "sign_no": 4,
                "house": 11
            },
            {
                "code": "UP",
                "pada": "Vyaya / Upa Pada",
                "sign": "Aquarius",
                "sign_no": 11,
                "house": 6
            },
            {
                "code": "KK",
                "pada": "Karakamsha Lagna",
                "sign": "Taurus",
                "sign_no": 2,
                "house": 9
            }
        ],
        "chart": {
            "svg": "<svg height=\"360\" width=\"360\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n    \n    \n    <rect x=\"0\" y=\"0\" width=\"360\" height=\"360\" fill=\"transparent\" stroke=\"#000\" stroke-width=\"4\"></rect>\n\t<line x1=\"0\" y1=\"0\" x2=\"360\" y2=\"360\" stroke=\"#000\" stroke-width=\"2\"></line>\n\t<line x1=\"0\" y1=\"360\" x2=\"360\" y2=\"0\" stroke=\"#000\" stroke-width=\"2\"></line>\n\t<line x1=\"0\" y1=\"180\" x2=\"180\" y2=\"0\" stroke=\"#000\" stroke-width=\"2\"></line>\n\t<line x1=\"180\" y1=\"0\" x2=\"360\" y2=\"180\" stroke=\"#000\" stroke-width=\"2\"></line>\n\t<line x1=\"360\" y1=\"180\" x2=\"180\" y2=\"360\" stroke=\"#000\" stroke-width=\"2\"></line>\n\t<line x1=\"0\" y1=\"180\" x2=\"180\" y2=\"360\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n    <text x=\"177\" y=\"171\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">6</text>\n    <text x=\"87\" y=\"81\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">7</text>\n    <text x=\"72\" y=\"93\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">8</text>\n    <text x=\"162\" y=\"185\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">9</text>\n    <text x=\"72\" y=\"273\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">10</text>\n    <text x=\"87\" y=\"288\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">11</text>\n    <text x=\"175\" y=\"198\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">12</text>\n    <text x=\"266\" y=\"288\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">1</text>\n    <text x=\"282\" y=\"273\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">2</text>\n    <text x=\"195\" y=\"185\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">3</text>\n    <text x=\"279\" y=\"93\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">4</text>\n    <text x=\"264\" y=\"81\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">5</text>\n    \n        \n    \n                <text x=\"80\" y=\"32\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P8</text>\n            \n    \n                <text x=\"20\" y=\"84.5\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">AP</text>\n            \n    \n        \n    \n        \n    \n                <text x=\"60\" y=\"330\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P2</text>\n                    <text x=\"80\" y=\"330\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P6</text>\n                    <text x=\"100\" y=\"330\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P10</text>\n                    <text x=\"80\" y=\"314\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">UP</text>\n            \n    \n                <text x=\"154\" y=\"272\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P3</text>\n                    <text x=\"174\" y=\"272\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P5</text>\n            \n    \n        \n    \n                <text x=\"330\" y=\"260\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P7</text>\n                    <text x=\"330\" y=\"275\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">KK</text>\n            \n    \n        \n    \n                <text x=\"322\" y=\"77\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P9</text>\n                    <text x=\"322\" y=\"92\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P11</text>\n            \n    \n                <text x=\"254\" y=\"36\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">P4</text>\n            \n</svg>\n",
            "base64_image": "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM2MCIgd2lkdGg9IjM2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICAKICAgIAogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjM2MCIgaGVpZ2h0PSIzNjAiIGZpbGw9InRyYW5zcGFyZW50IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNCI+PC9yZWN0PgoJPGxpbmUgeDE9IjAiIHkxPSIwIiB4Mj0iMzYwIiB5Mj0iMzYwIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiI+PC9saW5lPgoJPGxpbmUgeDE9IjAiIHkxPSIzNjAiIHgyPSIzNjAiIHkyPSIwIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiI+PC9saW5lPgoJPGxpbmUgeDE9IjAiIHkxPSIxODAiIHgyPSIxODAiIHkyPSIwIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiI+PC9saW5lPgoJPGxpbmUgeDE9IjE4MCIgeTE9IjAiIHgyPSIzNjAiIHkyPSIxODAiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIj48L2xpbmU+Cgk8bGluZSB4MT0iMzYwIiB5MT0iMTgwIiB4Mj0iMTgwIiB5Mj0iMzYwIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiI+PC9saW5lPgoJPGxpbmUgeDE9IjAiIHkxPSIxODAiIHgyPSIxODAiIHkyPSIzNjAiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIj48L2xpbmU+CgogICAgPHRleHQgeD0iMTc3IiB5PSIxNzEiIHN0eWxlPSJmaW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T0iZmlsbDojMDAwOyBmb250LXNpemU6MTJweDsgc3Ryb2tlOiMwMDA7IiBmb250PSJUYWhvbWEiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIj5QNDwvdGV4dD4KICAgICAgICAgICAgCjwvc3ZnPgo="
        }
    }
}

The API returns both a structured padas_table and an SVG kundli-style chart (plus the same as a base64 image) so you can render it directly in UI.


Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :

cURL

curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Rahul kumar"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi "' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"' \

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'full_name': 'Rahul kumar',
    'day': '24',
    'month': '05',
    'year': '2023',
    'hour': '14',
    'min': '40',
    'sec': '43',
    'gender': 'male',
    'place': 'New Delhi ',
    'lat': '28.7041',
    'lon': '77.1025',
    'tzone': '5.5',
    'lan': 'en',
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("full_name", "Rahul kumar");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi ");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas"

payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi ',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en',}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
Example Code
curl -X POST "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas" \
  -H "Authorization: Bearer {Your Auth Token}" \
  --form 'api_key="{Your API Key}"' \
  --form 'full_name="Rahul kumar"' \
  --form 'day="24"' \
  --form 'month="05"' \
  --form 'year="2023"' \
  --form 'hour="14"' \
  --form 'min="40"' \
  --form 'sec="43"' \
  --form 'gender="male"' \
  --form 'place="New Delhi "' \
  --form 'lat="28.7041"' \
  --form 'lon="77.1025"' \
  --form 'tzone="5.5"' \
  --form 'lan="en"'
const FormData = require('form-data');
const axios = require('axios');

const form = new FormData();
form.append('api_key', '{Your API Key}');
form.append('full_name', 'Rahul kumar');
form.append('day', '24');
form.append('month', '05');
form.append('year', '2023');
form.append('hour', '14');
form.append('min', '40');
form.append('sec', '43');
form.append('gender', 'male');
form.append('place', 'New Delhi ');
form.append('lat', '28.7041');
form.append('lon', '77.1025');
form.append('tzone', '5.5');
form.append('lan', 'en');

const response = await axios.post('https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas', form, {
  headers: {
    ...form.getHeaders(),
    'Authorization': 'Bearer {Your Auth Token}',
  }
});

console.log(response.data);
import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas"
headers = {
    "Authorization": "Bearer {Your Auth Token}",
}
payload = {
    "api_key": "{Your API Key}",
    "full_name": "Rahul kumar",
    "day": "24",
    "month": "05",
    "year": "2023",
    "hour": "14",
    "min": "40",
    "sec": "43",
    "gender": "male",
    "place": "New Delhi ",
    "lat": "28.7041",
    "lon": "77.1025",
    "tzone": "5.5",
    "lan": "en",
}

response = requests.post(url, headers=headers, data=payload)

print(response.json())
const formData = new FormData();
formData.append('api_key', '{Your API Key}');
formData.append('full_name', 'Rahul kumar');
formData.append('day', '24');
formData.append('month', '05');
formData.append('year', '2023');
formData.append('hour', '14');
formData.append('min', '40');
formData.append('sec', '43');
formData.append('gender', 'male');
formData.append('place', 'New Delhi ');
formData.append('lat', '28.7041');
formData.append('lon', '77.1025');
formData.append('tzone', '5.5');
formData.append('lan', 'en');

const response = await fetch('https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas', {
  method: 'POST',
  headers: {
      'Authorization': "Bearer {Your Auth Token}",
    },
  body: formData,
});

const data = await response.json();
console.log(data);
<?php

use GuzzleHttp\Client;

$client = new Client();

$response = $client->request('POST', 'https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas', [
    'headers' => [
        'Authorization' => 'Bearer {Your Auth Token}',
    ],
    'multipart' => [
        ['name' => 'api_key', 'contents' => '{Your API Key}'],
        ['name' => 'full_name', 'contents' => 'Rahul kumar'],
        ['name' => 'day', 'contents' => '24'],
        ['name' => 'month', 'contents' => '05'],
        ['name' => 'year', 'contents' => '2023'],
        ['name' => 'hour', 'contents' => '14'],
        ['name' => 'min', 'contents' => '40'],
        ['name' => 'sec', 'contents' => '43'],
        ['name' => 'gender', 'contents' => 'male'],
        ['name' => 'place', 'contents' => 'New Delhi '],
        ['name' => 'lat', 'contents' => '28.7041'],
        ['name' => 'lon', 'contents' => '77.1025'],
        ['name' => 'tzone', 'contents' => '5.5'],
        ['name' => 'lan', 'contents' => 'en'],
    ],
]);

echo $response->getBody();
package main

import (
    "bytes"
    "fmt"
    "mime/multipart"
    "net/http"
    "io"
)

func main() {
    body := &bytes.Buffer{}
    writer := multipart.NewWriter(body)
    writer.WriteField("api_key", "{Your API Key}")
    writer.WriteField("full_name", "Rahul kumar")
    writer.WriteField("day", "24")
    writer.WriteField("month", "05")
    writer.WriteField("year", "2023")
    writer.WriteField("hour", "14")
    writer.WriteField("min", "40")
    writer.WriteField("sec", "43")
    writer.WriteField("gender", "male")
    writer.WriteField("place", "New Delhi ")
    writer.WriteField("lat", "28.7041")
    writer.WriteField("lon", "77.1025")
    writer.WriteField("tzone", "5.5")
    writer.WriteField("lan", "en")
    writer.Close()

    req, _ := http.NewRequest("POST", "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas", body)
    req.Header.Set("Content-Type", writer.FormDataContentType())
    req.Header.Set("Authorization", "Bearer {Your Auth Token}")

    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()

    body2, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body2))
}
import okhttp3.*;
import java.io.IOException;

public class Main {
    public static void main(String[] args) throws IOException {
        OkHttpClient client = new OkHttpClient();

        RequestBody body = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("api_key", "{Your API Key}")
            .addFormDataPart("full_name", "Rahul kumar")
            .addFormDataPart("day", "24")
            .addFormDataPart("month", "05")
            .addFormDataPart("year", "2023")
            .addFormDataPart("hour", "14")
            .addFormDataPart("min", "40")
            .addFormDataPart("sec", "43")
            .addFormDataPart("gender", "male")
            .addFormDataPart("place", "New Delhi ")
            .addFormDataPart("lat", "28.7041")
            .addFormDataPart("lon", "77.1025")
            .addFormDataPart("tzone", "5.5")
            .addFormDataPart("lan", "en")
            .build();

        Request request = new Request.Builder()
            .url("https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas")
            .post(body)
            .addHeader("Authorization", "Bearer {Your Auth Token}")
            .build();

        Response response = client.newCall(request).execute();
        System.out.println(response.body().string());
    }
}
import Foundation

let url = URL(string: "https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas")!
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue("Bearer {Your Auth Token}", forHTTPHeaderField: "Authorization")

let boundary = "Boundary-\(UUID().uuidString)"
request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")

var bodyData = Data()
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"api_key\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("{Your API Key}\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"full_name\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("Rahul kumar\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"day\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("24\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"month\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("05\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"year\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("2023\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"hour\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("14\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"min\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("40\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"sec\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("43\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"gender\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("male\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"place\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("New Delhi \r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"lat\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("28.7041\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"lon\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("77.1025\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"tzone\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("5.5\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"lan\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("en\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)--\r\n".data(using: .utf8)!)
request.httpBody = bodyData

let task = URLSession.shared.dataTask(with: request) { data, response, error in
    if let data = data {
        print(String(data: data, encoding: .utf8) ?? "")
    }
}
task.resume()
import okhttp3.*

fun main() {
    val client = OkHttpClient()

    val body = MultipartBody.Builder()
        .setType(MultipartBody.FORM)
        .addFormDataPart("api_key", "{Your API Key}")
        .addFormDataPart("full_name", "Rahul kumar")
        .addFormDataPart("day", "24")
        .addFormDataPart("month", "05")
        .addFormDataPart("year", "2023")
        .addFormDataPart("hour", "14")
        .addFormDataPart("min", "40")
        .addFormDataPart("sec", "43")
        .addFormDataPart("gender", "male")
        .addFormDataPart("place", "New Delhi ")
        .addFormDataPart("lat", "28.7041")
        .addFormDataPart("lon", "77.1025")
        .addFormDataPart("tzone", "5.5")
        .addFormDataPart("lan", "en")
        .build()

    val request = Request.Builder()
        .url("https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas")
        .post(body!!)
        .addHeader("Authorization", "Bearer {Your Auth Token}")
        .build()

    client.newCall(request).execute().use { response ->
        println(response.body?.string())
    }
}
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program {
    static async Task Main() {
        using var client = new HttpClient();
        client.DefaultRequestHeaders.Add("Authorization", "Bearer {Your Auth Token}");

        var content = new MultipartFormDataContent();
        content.Add(new StringContent("{Your API Key}"), "api_key");
        content.Add(new StringContent("Rahul kumar"), "full_name");
        content.Add(new StringContent("24"), "day");
        content.Add(new StringContent("05"), "month");
        content.Add(new StringContent("2023"), "year");
        content.Add(new StringContent("14"), "hour");
        content.Add(new StringContent("40"), "min");
        content.Add(new StringContent("43"), "sec");
        content.Add(new StringContent("male"), "gender");
        content.Add(new StringContent("New Delhi "), "place");
        content.Add(new StringContent("28.7041"), "lat");
        content.Add(new StringContent("77.1025"), "lon");
        content.Add(new StringContent("5.5"), "tzone");
        content.Add(new StringContent("en"), "lan");

        var response = await client.PostAsync("https://astroapi-3.divineapi.com/indian-api/v1/jaimini-astrology/padas", content);
        var result = await response.Content.ReadAsStringAsync();
        Console.WriteLine(result);
    }
}