Horoscope API demo
One real call to GET /v1/horoscope/{sign} (1 credit): a sign in the path, and period, date and lang in the query. The example asks for Leo's weekly reading in Hindi. Change the sign to any of the twelve, the period to daily, weekly, monthly or yearly, and press Send.
Try it
What comes back
- reading: the text for the sign and period, in the language you asked for.
- scores: love, career, health and money from 0 to 100, with a short note for each.
- lucky: colour, number, day, gem and time.
- transits: the planets behind the reading, with the sign and the house from the sign they fall in.
A sign's reading for a period is the same for every reader, so you can cache one response per sign, period and language and serve it to all of them.
The same call in code
curl 'https://api.astrologics.in/v1/horoscope/leo?period=weekly&date=2026-10-02&lang=hi' \
-H 'Authorization: Bearer al_test_YOUR_KEY'import json
import urllib.error
import urllib.request
req = urllib.request.Request(
"https://api.astrologics.in/v1/horoscope/leo?period=weekly&date=2026-10-02&lang=hi",
method="GET",
headers={"Authorization": "Bearer al_test_YOUR_KEY"},
)
try:
with urllib.request.urlopen(req) as res:
print(json.dumps(json.load(res), indent=2, ensure_ascii=False))
except urllib.error.HTTPError as err:
print(err.code, err.read().decode())<?php
$ch = curl_init('https://api.astrologics.in/v1/horoscope/leo?period=weekly&date=2026-10-02&lang=hi');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer al_test_YOUR_KEY'],
CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch), PHP_EOL;Questions
Can I get all twelve signs in one call?
Yes: GET /v1/horoscope (5 credits) returns every sign for a period, which suits a publisher's daily page or a WhatsApp broadcast.
Is there a personal horoscope from a birth chart?
Yes: POST /v1/horoscope/personal (2 credits) works from the person's own Moon sign, from their birth details.
Which languages are there?
English and Hindi. See languages.
Want to read your own horoscope rather than an API? It is on astrologics.in.