Star Sign Compatibility Report PDF API

POSThttps://pdf.astrologyapi.com/v1/star_sign_compatibility_report
Copy

The Star Sign Compatibility Report API generates a PDF report that explores compatibility factors between star signs.

It is referenced in the Western Astrology PDF Postman collection, dashboard analytics, and PDF credit configuration. The report supports white-label branding details and returns a PDF URL for download or delivery.

POST/star_sign_compatibility_report
Copy
1curl --location 'https://pdf.astrologyapi.com/v1/star_sign_compatibility_report' \
2  --header 'Content-Type: application/json' \
3  --header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
4  --data '{
5    "name": "Linda Ray",
6    "day": 6,
7    "month": 10,
8    "year": 2001,
9    "hour": 7,
10    "minute": 45,
11    "latitude": 19.2,
12    "longitude": 25.2,
13    "timezone": 5.5,
14    "place": "Mumbai, Maharashtra, India",
15    "language": "en",
16    "footer_link": "astrologyapi.com",
17    "logo_url": "",
18    "company_name": "astrologyapi",
19    "company_info": "this is astrologyapi",
20    "domain_url": "astrologyapi.com",
21    "company_email": "mail@astrologyapi.com",
22    "company_landline": "+91- 221232 22",
23    "company_mobile": "+91 1212 1212 12"
24}'
25
200Response
Copy
1{
2  "status": true,
3  "pdf_url": "https://s3.amazonaws.com/astrologyapi-pdfs/star_sign_compatibility_report_sample.pdf"
4}

Request Headers

x-astrologyapi-key

string

required

API Access Token to authenticate requests. Send your access token in this custom header.

Accept-Language

string

Preferred language for the response content

Properties

English - en

Request Body (JSON)

name

string

required

Name of the user.

day

number

required

Birth day (1-31).

month

number

required

Birth month (1-12).

year

number

required

Birth year.

hour

number

required

Birth hour (0-23).

minute

number

required

Birth minute (0-59).

latitude

number

required

Latitude of birth location.

longitude

number

required

Longitude of birth location.

timezone

number

required

Timezone offset from UTC in hours.

place

string

required

Birth place.

language

string

required

PDF language.

Properties

en
footer_link

string

required

Footer/domain link.

logo_url

string

required

Company logo URL.

company_name

string

required

Company name.

company_info

string

required

Company information. Should be less than 500 characters.

domain_url

string

required

Full company domain URL.

company_email

string

required

Company email.

company_landline

string

required

Company landline number.

company_mobile

string

required

Company mobile number.

Request Description

Submit Western birth details, English language selection, timezone, and white-label branding details to generate a Star Sign Compatibility PDF report.

Star Sign Compatibility PDF Samples

Following are the PDF report samples you can download. These generated PDFs are using AstrologyAPI branding and everything can be customised to suit your company branding and style.

English PDF Sample Sample
View Sample

English PDF Sample

Errors

400
Bad Request

Something is wrong with your request format or parameters.

401
Unauthorized

Your API key is missing or invalid.

403
Forbidden

You don't have permission to access this specific resource.

404
Not Found

The API endpoint you're trying to reach doesn't exist.

500
Internal Server Error

Our server is having a temporary glitch.