Horoscope

Get daily horoscope readings for all 12 zodiac signs. Each reading is deterministically generated per sign per day.

Get API Key

Vue d'ensemble

Cas d'utilisation

  • Daily horoscope widgets
  • Astrology apps
  • Entertainment platforms
  • Personalized daily content

Fonctionnalités

All 12 zodiac signs supported
Consistent daily readings (same sign returns same reading throughout the day)
Lucky number and mood included
Case-insensitive sign parameter

Points de terminaison de l'API

Get Daily Horoscope

Returns a daily horoscope reading for the specified zodiac sign.

GET
https://requiems.xyz/v1/entertainment/horoscope/{sign}

Paramètres

Nom Type Requis Description
sign string Requis Zodiac sign (case-insensitive). Supported values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces

Essayez-le

Démo en direct
Requête

Zodiac sign (case-insensitive). Supported values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces

Champs de réponse

Champ Type Description
sign string Normalized zodiac sign (lowercase)
date string Today's date in YYYY-MM-DD format (UTC)
horoscope string Daily horoscope reading
lucky_number integer Lucky number for the day (1-99)
mood string Suggested mood for the day

Exemples de code

curl https://requiems.xyz/v1/entertainment/horoscope/aries \
  -H "requiems-api-key: YOUR_API_KEY"

Batch Daily Horoscopes

Returns up to 12 daily horoscopes in a single request.

POST
https://requiems.xyz/v1/entertainment/horoscope/batch

Paramètres

Nom Type Requis Description
signs array<string> Requis Array of signs to get (min: 1, max: 12). Allowed values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.

Essayez-le

Démo en direct
Requête

Array of signs to get (min: 1, max: 12). Allowed values: aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces.

Champs de réponse

Champ Type Description
results array<object> List of daily horoscopes returned in the same order as the input signs.
results[].sign string Zodiac sign the horoscope corresponds to.
results[].date string Date the horoscope is for, in YYYY-MM-DD format.
results[].horoscope string Daily horoscope reading for the given sign.
results[].lucky_number integer Lucky number for the given sign on that date.
results[].mood string Predicted mood for the given sign on that date.
total integer Total number of horoscopes returned.

Exemples de code

curl -X POST "https://requiems.xyz/v1/entertainment/horoscope/batch" \
  -H "requiems-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "signs": [
      "taurus",
      "cancer",
      "libra"
    ]
  }'

Réponses d'erreur

validation_failed

The signs array is missing, empty, or contains more than 12 items, or includes unsupported sign values.

bad_request

Invalid JSON, malformed request body, or unexpected field types.

Foire aux questions