
Prokerala Astrology API offers comprehensive astrology reports designed for accuracy and ease of use. It includes premium transit reports, a detailed Year Guide, and support for both Vedic and Western personal horoscopes. You also get Western synastry and Vedic compatibility reports featuring both Guna Milan and Porutham systems, widely used across North and South India. All reports are available in multiple languages, with the required credits clearly specified for each.
In addition to the comprehensive reports listed below, we also offer module-wise reports that can be combined to create customized reports based on your specific requirements. To view more details about these reports, please click here.
Sample PDF Reports
Provided below are the sample astrology PDF reports along with their available languages and the required credits for each. Click on your preferred language to view the reports in that language.
Single Page Horoscope
Report comprises:
- Birth Panchang Details
- Planet Position with Degrees and Nakshatra details
- Lagna and Navamsa Chart
- Ongoing Maha Dasha details
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "Ann",
"middle_name": "Mary",
"last_name": "Alex",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Basic Horoscope",
"caption": "Generated by Prokerala",
"la": "en"
},
"template": {
"footer": "prokerala",
"style": "vedic-astro-green"
},
"modules": [
{
"name": "single-page-horoscope",
"options": {
"chart_style": "south-indian"
}
}
]
}
}' --output sample.pdf
$url = 'https://api.prokerala.com/v2/report/personal-reading/instant';
$token = 'YOUR_ACCESS_TOKEN'; // Replace this with your actual token
$data = [
"input" => [
"first_name" => "Ann",
"middle_name" => "Mary",
"last_name" => "Alex",
"gender" => "female",
"datetime" => "2004-02-12T04:26:21-05:00",
"coordinates" => "40.7143,-74.006",
"place" => "New York City, USA"
],
"options" => [
"report" => [
"brand_name" => "Prokerala",
"name" => "Basic Horoscope",
"caption" => "Generated by Prokerala",
"la" => "en"
],
"template" => [
"footer" => "prokerala",
"style" => "vedic-astro-green"
],
"modules" => [
[
"name" => "single-page-horoscope",
"options" => [
"chart_style" => "south-indian"
]
]
]
]
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer $token",
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Output will be a PDF
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode === 200) {
file_put_contents("sample.pdf", $response);
echo "PDF saved as sample.pdf\n";
} else {
echo "Request failed:\n$response\n";
}
import requests
url = "https://api.prokerala.com/v2/report/personal-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_name": "Ann",
"middle_name": "Mary",
"last_name": "Alex",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Basic Horoscope",
"caption": "Generated by Prokerala",
"la": "en"
},
"template": {
"footer": "prokerala",
"style": "vedic-astro-green"
},
"modules": [
{
"name": "single-page-horoscope",
"options": {
"chart_style": "south-indian"
}
}
]
}
}
response = requests.post(url, json=data, headers=headers)
with open("sample.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
headers = {
"Authorization" => "Bearer YOUR_ACCESS_TOKEN",
"Content-Type" => "application/json"
}
data = {
input: {
first_name: "Ann",
middle_name: "Mary",
last_name: "Alex",
gender: "female",
datetime: "2004-02-12T04:26:21-05:00",
coordinates: "40.7143,-74.006",
place: "New York City, USA"
},
options: {
report: {
brand_name: "Prokerala",
name: "Basic Horoscope",
caption: "Generated by Prokerala",
la: "en"
},
template: {
footer: "prokerala",
style: "vedic-astro-green"
},
modules: [
{
name: "single-page-horoscope",
options: {
chart_style: "south-indian"
}
}
]
}
}
request = Net::HTTP::Post.new(uri.path, headers)
request.body = data.to_json
response = http.request(request)
File.open("sample.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""Ann"",
""middle_name"": ""Mary"",
""last_name"": ""Alex"",
""gender"": ""female"",
""datetime"": ""2004-02-12T04:26:21-05:00"",
""coordinates"": ""40.7143,-74.006"",
""place"": ""New York City, USA""
},
""options"": {
""report"": {
""brand_name"": ""Prokerala"",
""name"": ""Basic Horoscope"",
""caption"": ""Generated by Prokerala"",
""la"": ""en""
},
""template"": {
""footer"": ""prokerala"",
""style"": ""vedic-astro-green""
},
""modules"": [
{
""name"": ""single-page-horoscope"",
""options"": {
""chart_style"": ""south-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var pdfBytes = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("sample.pdf", pdfBytes);
Console.WriteLine("PDF saved as sample.pdf");
}
}
Guna Milan Report
Report comprises:
- Planetary Position in Degrees
- Lagna, Navamsa, and Rashi Charts
- Nakshatra Information
- Mangal Dosha Analysis
- Ashtakoot Score
- Gun Milan Interpretation
Available Languages:
curl -X POST "https://api.prokerala.com/v2/report/compatibility-reading/instant" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_person": {
"first_name": "Mini Mariam",
"place": "London, England, UK",
"gender": "female",
"coordinates": "51.5085,-0.12574",
"datetime": "2002-02-12T09:26:21+00:00"
},
"second_person": {
"first_name": "Jose Paniker",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime": "2001-02-12T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Kundali Matching",
"caption": "guna milan report",
"brand_name": "Prokerala"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "guna-milan-report",
"options": {
"chart_style": "north-indian"
}
}
]
}
}' --output kundali-matching-report.pdf
$url = 'https://api.prokerala.com/v2/report/compatibility-reading/instant';
$data = [
'input' => [
'first_person' => [
'first_name' => 'mini',
'place' => 'London, England, UK',
'gender' => 'female',
'coordinates' => '51.5085,-0.12574',
'datetime' => '2002-02-12T09:26:21+00:00',
],
'second_person' => [
'first_name' => 'jose',
'place' => 'New York City, USA',
'gender' => 'male',
'coordinates' => '40.7143,-74.006',
'datetime' => '2001-02-12T04:26:21-05:00',
]
],
'options' => [
'report' => [
'name' => 'Kundali Matching',
'caption' => 'guna milan report',
'brand_name' => 'Brand'
],
'template' => [
'style' => 'vedic-astro-green',
'footer' => 'prokerala'
],
'modules' => [
[
'name' => 'guna-milan-report',
'options' => [
'chart_style' => 'north-indian'
]
]
]
]
];
$options = [
'http' => [
'header' => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
],
'method' => 'POST',
'content' => json_encode($data),
]
];
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
file_put_contents('kundali-matching-report.pdf', $response);
import requests
import json
url = "https://api.prokerala.com/v2/report/compatibility-reading/instant"
# Replace 'YOUR_ACCESS_TOKEN' with the actual Bearer token
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_person": {
"first_name": "Mini Mariam",
"place": "London, England, UK",
"gender": "female",
"coordinates": "51.5085,-0.12574",
"datetime": "2002-02-12T09:26:21+00:00"
},
"second_person": {
"first_name": "Jose Paniker",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime": "2001-02-12T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Kundali Matching",
"caption": "guna milan report",
"brand_name": "Prokerala"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "guna-milan-report",
"options": {
"chart_style": "north-indian"
}
}
]
}
}
# Send POST request
response = requests.post(url, headers=headers, data=json.dumps(data))
# Save the response as a PDF
with open("kundali-matching-report.pdf", "wb") as f:
f.write(response.content)
print("Report saved as 'kundali-matching-report.pdf'")
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/compatibility-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_person: {
first_name: "Mini Mariam",
place: "London, England, UK",
gender: "female",
coordinates: "51.5085,-0.12574",
datetime: "2004-02-12T09:26:21%2b00:00"
},
second_person: {
first_name: "Jose Paniker",
place: "New York City, USA",
gender: "male",
coordinates: "51.5085,-0.12574",
datetime: "2001-02-12T04:26:21-05:00"
}
},
options: {
report: {
name: "Kundali Matching",
caption: "Generated by 'Prokerala'",
brand_name: "Prokerala"
},
template: {
style: "basic",
footer: "prokerala"
},
modules: [
{
name: "guna-milan-report",
options: {
chart_style: "north-indian"
}
}
]
}
}.to_json
response = http.request(request)
File.open("kundali-matching-report.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_person"": {
""first_name"": ""Mini Mariam"",
""place"": ""London, England, UK"",
""gender"": ""female"",
""coordinates"": ""51.5085,-0.12574"",
""datetime"": ""2004-02-12T09:26:21%2b00:00""
},
""second_person"": {
""first_name"": ""Jose Paniker"",
""place"": ""New York City, USA"",
""gender"": ""male"",
""coordinates"": ""40.7143,-74.006"",
""datetime"": ""2001-02-12T04:26:21-05:00""
}
},
""options"": {
""report"": {
""name"": ""Kundali Matching"",
""caption"": ""guna milan report"",
""brand_name"": ""Prokerala""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""guna-milan-report"",
""options"": {
""chart_style"": ""north-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/compatibility-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("kundali-matching-report.pdf", data);
Console.WriteLine("Report saved successfully as 'kundali-matching-report.pdf'.");
}
}
Porutham Report
Report comprises:
- Planetary Position in Degrees
- Lagna, Navamsa, and Rashi Charts
- Nakshatra Information
- Mangal Dosha Analysis
- Dashakoot Compatibility
- 10 Porutham Interpretation
- Papasamyam
- Dasha Sandhi
Available Languages:
Kerala System:
Tamil System:
curl -X GET "https://api.prokerala.com/v2/report/compatibility-reading/instant" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_person": {
"first_name": "Mini Mariam",
"place": "London, England, UK",
"gender": "female",
"coordinates": "51.5085,-0.12574",
"datetime": "2002-02-12T09:26:21+00:00"
},
"second_person": {
"first_name": "Jose Paniker",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime": "2001-02-12T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Tamil Jathaga Porutham",
"caption": "Generated by 'Prokerala'",
"brand_name": "Prokerala"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "porutham-report",
"options": {
"chart_style": "north-indian",
"compatibility_system": "tamil"
}
}
]
}
}' --output tamil-jathaga-porutham-report.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/compatibility-reading/instant";
$data = [
"input" => [
"first_person" => [
"first_name" => "Mini Mariam",
"place" => "London, England, UK",
"gender" => "female",
"coordinates" => "51.5085,-0.12574",
"datetime" => "2002-02-12T09:26:21+00:00"
],
"second_person" => [
"first_name" => "Jose Paniker",
"place" => "New York City, USA",
"gender" => "male",
"coordinates" => "40.7143,-74.006",
"datetime" => "2004-02-12T04:26:21-05:00"
]
],
"options" => [
"report" => [
"name" => "Tamil Jathaga Porutham",
"caption" => "Generated by 'Prokerala'",
"brand_name" => "Prokerala"
],
"template" => [
"style" => "vedic-astro-green",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "porutham-report",
"options" => [
"chart_style" => "north-indian",
"compatibility_system" => "tamil"
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("tamil-jathaga-porutham-report.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/compatibility-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_person": {
"first_name": "Mini Mariam",
"place": "London, England, UK",
"gender": "female",
"coordinates": "51.5085,-0.12574",
"datetime": "2002-02-12T09:26:21+00:00"
},
"second_person": {
"first_name": "Jose Paniker",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime": "2001-02-12T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Tamil Jathaga Porutham",
"caption": "Generated by 'Prokerala'",
"brand_name": "Prokerala"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "porutham-report",
"options": {
"chart_style": "north-indian",
"compatibility_system": "tamil"
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("tamil-jathaga-porutham-report.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/compatibility-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_person: {
first_name: "Mini Mariam",
place: "London, England, UK",
gender: "female",
coordinates: "51.5085,-0.12574",
datetime: "2002-02-12T09:26:21+00:00"
},
second_person: {
first_name: "Jose Paniker",
place: "New York City, USA",
gender: "male",
coordinates: "40.7143,-74.006",
datetime: "2001-02-12T04:26:21-05:00"
}
},
options: {
report: {
name: "Tamil Jathaga Porutham",
caption: "Generated by 'Prokerala'",
brand_name: "Prokerala"
},
template: {
style: "vedic-astro-green",
footer: "prokerala"
},
modules: [
{
name: "porutham-report",
options: {
chart_style: "north-indian",
compatibility_system: "tamil"
}
}
]
}
}.to_json
response = http.request(request)
File.open("tamil-jathaga-porutham-report.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_person"": {
""first_name"": ""Mini Mariam"",
""place"": ""London, England, UK"",
""gender"": ""female"",
""coordinates"": ""51.5085,-0.12574"",
""datetime"": ""2002-02-12T09:26:21+00:00""
},
""second_person"": {
""first_name"": ""Jose Paniker"",
""place"": ""New York City, USA"",
""gender"": ""male"",
""coordinates"": ""40.7143,-74.006"",
""datetime"": ""2001-02-12T04:26:21-05:00""
}
},
""options"": {
""report"": {
""name"": ""Tamil Jathaga Porutham"",
""caption"": ""Generated by 'Prokerala'"",
""brand_name"": ""Prokerala""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""porutham-report"",
""options"": {
""chart_style"": ""north-indian"",
""compatibility_system"": ""tamil""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/compatibility-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("tamil-jathaga-porutham-report.pdf", data);
}
}
Premium Report
Rahu Ketu Transit Report
Report comprises:
- Rahu and Ketu Analysis in Birth Chart
- Transit Predictions by House and Sign
- Transit Predictions by Nakshatra
- Remedies for Rahu and Ketu
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Rahu Ketu Transit Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "rahu-ketu-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}' --output rahu-ketu-transit.pdf
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.prokerala.com/v2/report/personal-reading/instant');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_ACCESS_TOKEN',
'Content-Type: application/json',
]);
$data = [
"input" => [
"first_name" => "KAREN",
"middle_name" => "",
"last_name" => "LAURET",
"gender" => "female",
"datetime" => "2004-02-12T04:26:21-05:00",
"coordinates" => "40.7143,-74.006",
"place" => "New York City, USA"
],
"options" => [
"report" => [
"brand_name" => "Prokerala",
"name" => "Rahu Ketu Transit Report",
"caption" => "Generated by 'Prokerala'",
"la" => "en"
],
"template" => [
"style" => "vedic-astro-green",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "rahu-ketu-transit",
"options" => [
"chart_style" => "north-indian"
]
]
]
]
];
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
curl_close($ch);
// Save response to file
file_put_contents('rahu-ketu-transit.pdf', $response);
import requests
url = 'https://api.prokerala.com/v2/report/personal-reading/instant'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
}
payload = {
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "sample brand name",
"name": "Rahu Ketu Transit Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "rahu-ketu-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}
response = requests.post(url, headers=headers, json=payload)
with open('rahu-ketu-transit.pdf', 'wb') as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_name: "KAREN",
middle_name: "",
last_name: "LAURET",
gender: "female",
datetime: "2004-02-12T04:26:21-05:00",
coordinates: "40.7143,-74.006",
place: "New York City, USA"
},
options: {
report: {
brand_name: "Prokerala",
name: "Rahu Ketu Transit Report",
caption: "Generated by 'Prokerala'",
la: "en"
},
template: {
style: "vedic-astro-green",
footer: "prokerala"
},
modules: [
{
name: "rahu-ketu-transit",
options: {
chart_style: "north-indian"
}
}
]
}
}.to_json
response = http.request(request)
File.open("rahu-ketu-transit.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""KAREN"",
""middle_name"": """",
""last_name"": ""LAURET"",
""gender"": ""female"",
""datetime"": ""2004-02-12T04:26:21-05:00"",
""coordinates"": ""40.7143,-74.006"",
""place"": ""New York City, USA""
},
""options"": {
""report"": {
""brand_name"": ""Prokerala"",
""name"": ""Rahu Ketu Transit Report"",
""caption"": ""Generated by 'Prokerala'"",
""la"": ""en""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""rahu-ketu-transit"",
""options"": {
""chart_style"": ""north-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("rahu-ketu-transit.pdf", data);
}
}
Premium Report
Saturn Transit Report
Report comprises:
- Saturn's Role in the Birth Chart
- Sign Saturn Occupies
- House Placement of Saturn
- Transit House Relative to Birth Moon
- Saturnβs Current Transit Sign
- Saturnβs Special Aspects
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "Ann",
"middle_name": "Mary",
"last_name": "Alex",
"gender": "male",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Saturn Transit",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "saturn-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}' --output saturn-transit.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/personal-reading/instant";
$data = [
"input" => [
"first_name" => "Ann",
"middle_name" => "Mary",
"last_name" => "Alex",
"gender" => "male",
"datetime" => "2004-02-12T04:26:21-05:00",
"coordinates" => "40.7143,-74.006",
"place" => "New York City, USA"
],
"options" => [
"report" => [
"brand_name" => "Prokerala",
"name" => "Saturn Transit",
"caption" => "Generated by 'Prokerala'",
"la" => "en"
],
"template" => [
"style" => "vedic-astro-green",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "saturn-transit",
"options" => [
"chart_style" => "north-indian"
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("saturn-transit.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/personal-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_name": "Ann",
"middle_name": "Mary",
"last_name": "Alex",
"gender": "male",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Saturn Transit",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "saturn-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("saturn-transit.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_name: "Ann",
middle_name: "Mary",
last_name: "Alex",
gender: "male",
datetime: "2004-02-12T04:26:21-05:00",
coordinates: "40.7143,-74.006",
place: "New York City, USA"
},
options: {
report: {
brand_name: "Prokerala",
name: "Basic Horoscope",
caption: "Generated by 'Prokerala'",
la: "en"
},
template: {
style: "vedic-astro-green",
footer: "prokerala"
},
modules: [
{
name: "saturn-transit",
options: {
chart_style: "north-indian"
}
}
]
}
}.to_json
response = http.request(request)
File.open("saturn-transit.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""Ann"",
""middle_name"": ""Mary"",
""last_name"": ""Alex"",
""gender"": ""male"",
""datetime"": ""2004-02-12T04:26:21-05:00"",
""coordinates"": ""40.7143,-74.006"",
""place"": ""New York City, USA""
},
""options"": {
""report"": {
""brand_name"": ""Prokerala"",
""name"": ""Basic Horoscope"",
""caption"": ""Generated by 'Prokerala'"",
""la"": ""en""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""saturn-transit"",
""options"": {
""chart_style"": ""north-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("saturn-transit.pdf", data);
}
}
Premium Report
Jupiter Transit Report
Report comprises:
- Jupiter's Role in the Birth Chart
- Sign Jupiter Occupies
- House Placement of Jupiter
- Transit House Relative to Birth Moon
- Jupiterβs Current Transit Sign
- Jupiterβs Special Aspects
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "male",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Jupiter Transit Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "jupiter-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}' --output jupiter-transit.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/personal-reading/instant";
$data = [
"input" => [
"first_name" => "KAREN",
"middle_name" => "",
"last_name" => "LAURET",
"gender" => "male",
"datetime" => "2004-02-12T04:26:21-05:00",
"coordinates" => "40.7143,-74.006",
"place" => "New York City, USA"
],
"options" => [
"report" => [
"brand_name" => "Prokerala",
"name" => "Jupiter Transit Report",
"caption" => "Generated by 'Prokerala'",
"la" => "en"
],
"template" => [
"style" => "vedic-astro-green",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "jupiter-transit",
"options" => [
"chart_style" => "north-indian"
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("jupiter-transit.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/personal-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "male",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Jupiter Transit Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "jupiter-transit",
"options": {
"chart_style": "north-indian"
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("jupiter-transit.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_name: "KAREN",
middle_name: "",
last_name: "LAURET",
gender: "male",
datetime: "2004-02-12T04:26:21-05:00",
coordinates: "40.7143,-74.006",
place: "New York City, USA"
},
options: {
report: {
brand_name: "Prokerala",
name: "Jupiter Transit Report",
caption: "Generated by 'Prokerala'",
la: "en"
},
template: {
style: "vedic-astro-green",
footer: "prokerala"
},
modules: [
{
name: "jupiter-transit",
options: {
chart_style: "north-indian"
}
}
]
}
}.to_json
response = http.request(request)
File.open("jupiter-transit.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""KAREN"",
""middle_name"": """",
""last_name"": ""LAURET"",
""gender"": ""male"",
""datetime"": ""2004-02-12T04:26:21-05:00"",
""coordinates"": ""40.7143,-74.006"",
""place"": ""New York City, USA""
},
""options"": {
""report"": {
""brand_name"": ""Prokerala"",
""name"": ""Jupiter Transit Report"",
""caption"": ""Generated by 'Prokerala'"",
""la"": ""en""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""jupiter-transit"",
""options"": {
""chart_style"": ""north-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("jupiter-transit.pdf", data);
}
}
Premium Report
Year Guide Report
Report comprises:
- Customized Annual Forecast
- Varshaphal Chart (Solar Return) Insights
- Effect of Muntha (Progressed Ascendant)
- Annual Planetary Positions in Houses
- Dasha Timelines for the Year
- Impact of Yearly Dasha Periods
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "prokerala",
"name": "Year Guide 2025",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "year-guide",
"options": {
"chart_style": "north-indian",
"year": 2025
}
}
]
}
}' --output year-guide-2025.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/personal-reading/instant";
$data = [
"input" => [
"first_name" => "KAREN",
"middle_name" => "",
"last_name" => "LAURET",
"gender" => "female",
"datetime" => "2004-02-12T04:26:21-05:00",
"coordinates" => "40.7143,-74.006",
"place" => "New York City, USA"
],
"options" => [
"report" => [
"brand_name" => "Prokerala",
"name" => "Year Guide 2025",
"caption" => "Generated by 'Prokerala'",
"la" => "en"
],
"template" => [
"style" => "vedic-astro-green",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "year-guide",
"options" => [
"chart_style" => "north-indian",
"year" => 2025
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("year-guide-2025.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/personal-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "2004-02-12T04:26:21-05:00",
"coordinates": "40.7143,-74.006",
"place": "New York City, USA"
},
"options": {
"report": {
"brand_name": "Prokerala",
"name": "Year Guide 2025",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "vedic-astro-green",
"footer": "prokerala"
},
"modules": [
{
"name": "year-guide",
"options": {
"chart_style": "north-indian",
"year": 2025
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("year-guide-2025.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_name: "KAREN",
middle_name: "",
last_name: "LAURET",
gender: "female",
datetime: "2004-02-12T04:26:21-05:00",
coordinates: "9.58692, 76.5213",
place: "Kottayam"
},
options: {
report: {
brand_name: "prokerala",
name: "Year Guide 2025",
caption: "Generated by 'Prokerala'",
la: "en"
},
template: {
style: "vedic-astro-green",
footer: "prokerala"
},
modules: [
{
name: "year-guide",
options: {
chart_style: "north-indian",
year: 2025
}
}
]
}
}.to_json
response = http.request(request)
File.open("year-guide-2025.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""KAREN"",
""middle_name"": """",
""last_name"": ""LAURET"",
""gender"": ""female"",
""datetime"": ""2004-02-12T04:26:21-05:00"",
""coordinates"": ""40.7143,-74.006"",
""place"": ""New York City, USA""
},
""options"": {
""report"": {
""brand_name"": ""prokerala"",
""name"": ""Year Guide 2025"",
""caption"": ""Generated by 'Prokerala'"",
""la"": ""en""
},
""template"": {
""style"": ""vedic-astro-green"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""year-guide"",
""options"": {
""chart_style"": ""north-indian"",
""year"": 2025
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("year-guide-2025.pdf", data);
}
}
Basic Natal Report
Report comprises:
- Natal Chart diagram
- Planet positions with Cusps and Modalities
- Predictions for Planets and the Signs they occupy
- Predictions for Houses and their ruling Signs
- House Cusp degrees, Planet aspects with Orbs
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/personal-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "1970-11-29T15:10:00+00:00",
"coordinates": "51.5085,-0.12574",
"place": "London, England, UK"
},
"options": {
"report": {
"brand_name": "prokerala",
"name": "Basic Natal Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "basic",
"footer": "prokerala"
},
"modules": [
{
"name": "basic-natal-report",
"options": {
"chart_style": "north-indian"
}
}
]
}
}' --output basic-natal-report.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/personal-reading/instant";
$data = [
"input" => [
"first_name" => "KAREN",
"middle_name" => "",
"last_name" => "LAURET",
"gender" => "female",
"datetime" => "1970-11-29T15:10:00+00:00",
"coordinates" => "51.5085,-0.12574",
"place" => "London, England, UK"
],
"options" => [
"report" => [
"brand_name" => "prokerala",
"name" => "Basic Natal Report",
"caption" => "Generated by 'Prokerala'",
"la" => "en"
],
"template" => [
"style" => "basic",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "basic-natal-report",
"options" => [
"chart_style" => "north-indian"
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("basic-natal-report.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/personal-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_name": "KAREN",
"middle_name": "",
"last_name": "LAURET",
"gender": "female",
"datetime": "1970-11-29T15:10:00+00:00",
"coordinates": "51.5085,-0.12574",
"place": "London, England, UK"
},
"options": {
"report": {
"brand_name": "prokerala",
"name": "Basic Natal Report",
"caption": "Generated by 'Prokerala'",
"la": "en"
},
"template": {
"style": "basic",
"footer": "prokerala"
},
"modules": [
{
"name": "basic-natal-report",
"options": {
"chart_style": "north-indian"
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("basic-natal-report.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/personal-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_name: "KAREN",
middle_name: "",
last_name: "LAURET",
gender: "female",
datetime: "1970-11-29T15:10:00+00:00",
coordinates: "51.5085,-0.12574",
place: "London, England, UK"
},
options: {
report: {
brand_name: "prokerala",
name: "Basic Natal Report",
caption: "Generated by 'Prokerala'",
la: "en"
},
template: {
style: "basic",
footer: "prokerala"
},
modules: [
{
name: "basic-natal-report",
options: {
chart_style: "north-indian"
}
}
]
}
}.to_json
response = http.request(request)
File.open("basic-natal-report.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_name"": ""KAREN"",
""middle_name"": """",
""last_name"": ""LAURET"",
""gender"": ""female"",
""datetime"": ""1970-11-29T15:10:00+00:00"",
""coordinates"": ""51.5085,-0.12574"",
""place"": ""London, England, UK""
},
""options"": {
""report"": {
""brand_name"": ""prokerala"",
""name"": ""Basic Natal Report"",
""caption"": ""Generated by 'Prokerala'"",
""la"": ""en""
},
""template"": {
""style"": ""basic"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""basic-natal-report"",
""options"": {
""chart_style"": ""north-indian""
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/personal-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("basic-natal-report.pdf", data);
}
}
Premium Report
Synastry Report
Report comprises:
- Synastry Chart with inner and outer wheel
- Synastry aspects table with Orb and Aspect type
- Harmonious aspects and their predictions
- Conflicting aspects and their predictions
- Contrasting aspects and their predictions
- Intense aspects and their predictions
Available Languages:
curl -X POST https://api.prokerala.com/v2/report/compatibility-reading/instant \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {
"first_person": {
"first_name": "Ann",
"place": "New York City, USA",
"gender": "female",
"coordinates": "40.7143,-74.006",
"datetime": "1970-01-15T04:26:21-05:00"
},
"second_person": {
"first_name": "gk",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime": "1968-03-13T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Synastry Report",
"caption": "Generated by 'Prokerala'",
"brand_name": "Prokerala"
},
"template": {
"style": "basic",
"footer": "prokerala"
},
"modules": [
{
"name": "synastry-report",
"options": {
"chart_style": "north-indian",
"chart_type": "zodiac",
"house_system": 0
}
}
]
}
}' --output synastry-report.pdf
$ch = curl_init();
$url = "https://api.prokerala.com/v2/report/compatibility-reading/instant";
$data = [
"input" => [
"first_person" => [
"first_name" => "Ann",
"place" => "New York City, USA",
"gender" => "female",
"coordinates" => "40.7143,-74.006",
"datetime" => "1970-01-15T04:26:21-05:00"
],
"second_person" => [
"first_name" => "gk",
"place" => "New York City, USA",
"gender" => "male",
"coordinates" => "40.7143,-74.006",
"datetime" => "1968-03-13T04:26:21-05:00"
]
],
"options" => [
"report" => [
"name" => "Synastry Report",
"caption" => "Generated by 'Prokerala'",
"brand_name" => "Prokerala",
"brand_logo" => "https://cdnorigin.prokerala.com/assets/img/logo/logo-black.svg",
"brand_contact" => "www.prokerala.com +91 481 2970053 support@prokerala.com"
],
"template" => [
"style" => "basic",
"footer" => "prokerala"
],
"modules" => [
[
"name" => "synastry-report",
"options" => [
"chart_style" => "north-indian",
"chart_type" => "zodiac",
"house_system" => 0
]
]
]
]
];
$options = [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]
];
curl_setopt_array($ch, $options);
$response = curl_exec($ch);
file_put_contents("synastry-report.pdf", $response);
curl_close($ch);
import requests
import json
url = "https://api.prokerala.com/v2/report/compatibility-reading/instant"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
data = {
"input": {
"first_person": {
"first_name": "Ann",
"place": "New York City, USA",
"gender": "female",
"coordinates": "40.7143,-74.006",
"datetime" => "1970-01-15T04:26:21-05:00"
},
"second_person": {
"first_name": "gk",
"place": "New York City, USA",
"gender": "male",
"coordinates": "40.7143,-74.006",
"datetime" => "1968-03-13T04:26:21-05:00"
}
},
"options": {
"report": {
"name": "Synastry Report",
"caption": "Generated by 'Prokerala'",
"brand_name": "Prokerala"
},
"template": {
"style": "basic",
"footer": "prokerala"
},
"modules": [
{
"name": "synastry-report",
"options": {
"chart_style": "north-indian",
"chart_type": "zodiac",
"house_system": 0
}
}
]
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
with open("synastry-report.pdf", "wb") as f:
f.write(response.content)
require 'net/http'
require 'uri'
require 'json'
uri = URI.parse("https://api.prokerala.com/v2/report/compatibility-reading/instant")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.path, {
'Authorization' => 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type' => 'application/json'
})
request.body = {
input: {
first_person: {
first_name: "Ann",
place: "New York City, USA",
gender: "female",
coordinates: "40.7143,-74.006",
"datetime" => "1970-01-15T04:26:21-05:00"
},
second_person: {
first_name: "gk",
place: "New York City, USA",
gender: "male",
coordinates: "40.7143,-74.006",
"datetime" => "1968-03-13T04:26:21-05:00"
}
},
options: {
report: {
name: "Synastry Report",
caption: "Generated by 'Prokerala'",
brand_name: "Prokerala",
brand_logo: "https://cdnorigin.prokerala.com/assets/img/logo/logo-black.svg",
brand_contact: "www.prokerala.com +91 481 2970053 support@prokerala.com"
},
template: {
style: "basic",
footer: "prokerala"
},
modules: [
{
name: "synastry-report",
options: {
chart_style: "north-indian",
chart_type: "zodiac",
house_system: 0
}
}
]
}
}.to_json
response = http.request(request)
File.open("synastry-report.pdf", "wb") do |file|
file.write(response.body)
end
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
static async Task Main(string[] args)
{
var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_ACCESS_TOKEN");
var json = @"
{
""input"": {
""first_person"": {
""first_name"": ""Ann"",
""place"": ""New York City, USA"",
""gender"": ""female"",
coordinates: "40.7143,-74.006",
"datetime" => "1970-01-15T04:26:21-05:00"
},
""second_person"": {
""first_name"": ""gk"",
""place"": ""New York City, USA"",
""gender"": ""male"",
coordinates: "40.7143,-74.006",
"datetime" => "1968-03-13T04:26:21-05:00"
}
},
""options"": {
""report"": {
""name"": ""Synastry Report"",
""caption"": ""Generated by 'Prokerala'"",
""brand_name"": ""Prokerala"",
""brand_logo"": ""https://cdnorigin.prokerala.com/assets/img/logo/logo-black.svg"",
""brand_contact"": ""www.prokerala.com +91 481 2970053 support@prokerala.com""
},
""template"": {
""style"": ""basic"",
""footer"": ""prokerala""
},
""modules"": [
{
""name"": ""synastry-report"",
""options"": {
""chart_style"": ""north-indian"",
""chart_type"": ""zodiac"",
""house_system"": 0
}
}
]
}
}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.prokerala.com/v2/report/compatibility-reading/instant", content);
var data = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("synastry-report.pdf", data);
}
}