LifeAstroAPILifeAstroAPI

API Reference / Western Astrology / Western Astrology

GET
free

/v1/western/horoscope/weekly

Weekly sun-sign horoscope. Moon-transit based for perpetual coverage.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/western/horoscope/weekly?sign=Aries&week_start=2026-04-20" \
  -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).
week_startyes2026-04-20Any date in the target ISO week (YYYY-MM-DD); the handler resolves the week label internally.
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",
  "week": "2026-W17",
  "tone": "spiritual",
  "entry": {
    "sign": "Aries",
    "date": "2026-W17",
    "tone": "spiritual",
    "headline": "[PLACEHOLDER — content authoring pending]",
    "body": "[PLACEHOLDER — Phase 4a content authoring pending. Weekly horoscope structural demonstration only. Real body text to be authored by human astrologer per project policy (no AI-generated narrative).]",
    "source": "stub-3a-engineering-structural-only",
    "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.