LifeAstroAPILifeAstroAPI

API Reference / Western Astrology / Western Astrology

GET
free

/v1/western/horoscope/daily

Daily sun-sign horoscope by date. Perpetual via Moon transit when no static entry.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.lifeastroapi.com/v1/western/horoscope/daily?sign=Aries&date=1990-01-15" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
signyesAriesTropical zodiac sign (case-insensitive on input; canonicalised in response).
dateyes1990-01-15Birth date (YYYY-MM-DD).
toneno—Editorial voice variant. Defaults to spiritual.

Response (200 OK)

The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.

200 response
{
  "sign": "Aries",
  "date": "1990-01-15",
  "tone": "spiritual",
  "entry": {
    "sign": "Aries",
    "date": "1990-01-15",
    "tone": "spiritual",
    "headline": "Aries — Moon in Virgo (Waning Gibbous)",
    "body": "Moon in Virgo. The Moon is your emotional nature and what makes you feel safe. In Virgo, a mutable earth sign traditionally ruled by Mercury, it leads you to act through detail and correction. Virgo colours how the Moon shows itself in you, rather than adding or removing stren…",
    "source": "computed_moon_transit",
    "content_version": 1
  }
}

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid API key",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

402 Payment Required

{
  "error": {
    "code": "trial_exhausted",
    "message": "your free trial credits are exhausted — pick a plan to continue",
    "top_up_url": "https://lifeastroapi.com/pricing",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded; retry after 12 seconds",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.