Hasta Backend
  1. horoscopes
  • lookup
    • Get localised seed data
      GET
    • Get core seed data
      GET
    • Get zodiac signs
      GET
    • Get subscription and pricing plans
      GET
    • Get FAQs
      GET
    • Get notification intervals
      GET
  • audit
    • Get audit logs
      GET
  • auth
    • Register device
      POST
    • Send OTP
      POST
    • Verify OTP and login
      POST
    • Resend OTP
      POST
    • Refresh access token
      POST
    • Logout
      POST
    • Google OAuth login
      POST
  • admin
    • Register admin account
      POST
    • Admin login
      POST
    • Admin logout
      POST
    • Refresh admin access token
      POST
    • Get admin profile
      GET
    • Update admin password
      PUT
    • Edit language
      PUT
    • Add language
      POST
    • Delete language
      DELETE
    • Delete user event logs
      DELETE
    • Clear lookup cache
      DELETE
    • Clear cache
      DELETE
  • blogs
    • Admin - get all blogs
    • Admin - delete a blog
    • Get all blogs
    • Get blog categories
    • Update blog status
    • Admin - send blog notification
    • Get blog details
    • Subscribe to blog notifications
    • Unsubscribe from blog notifications
  • feedback
    • Submit a user feedback
    • Get all queries
    • Update user query status
    • Get all reviews
    • Update review status
    • Get all featured reviews
  • events
    • Track a user event
    • Fetch all tracked events
  • notifications
    • Send broadcast notification
    • Send custom notification to a user
    • Fetch user notifications
    • Get unread notification count
    • Mark notification as read
  • reminders
    • Fetch user reminders
    • Create a reminder
    • Update a reminder
    • Delete a reminder
  • user
    • Create / complete user profile
    • Get my profile
    • Update profile image
    • Update language preference
    • Update push notification preference
    • Get my family members
    • Add a family member
    • Delete a family member
    • Update family member profile image
    • Admin - list users
    • Admin - get user details with family
    • Admin - delete user and all family members
    • Create / complete user profile
    • Admin - update user status
  • palm
    • Get user palm reading
    • Upload user palm image
    • Upload family member palm image
    • Get family member palm reading
  • horoscopes
    • Get user kundali
      GET
    • Get family member kundali
      GET
    • Get horoscope (daily / weekly / monthly)
      GET
  • reports
    • Share a report via email
    • Get shared report PDF link
  • tarot
    • List all tarot cards
    • Get single tarot card by slug
    • Get today's daily tarot card
    • Get a 3-card tarot reading
    • Get tarot reading history
  • marriage
    • Generate marriage compatibility report
    • Get marriage compatibility report
  • child
    • Generate baby names or child timing
    • Like or unlike a suggested baby name
    • Get child naming or timing result
  • dashboard
    • Dashboard overview stats
    • User growth time-series
    • Subscription distribution by plan
    • Top-up & one-time sales distribution
    • Recent activity feed
  • Health
    • Liveness check
  1. horoscopes

Get horoscope (daily / weekly / monthly)

GET
/api/v1/horoscopes
horoscopes
Last modified:2026-06-04 22:55:16
Returns the horoscope for the authenticated user's sun sign for the requested period. One endpoint replaces the old daily/weekly/monthly routes - switch via the period query param.
If the prediction has not been generated yet, generation is kicked off in the background (once per sign/year) and the response is status: processing. The client should poll this endpoint until status: done, at which point the full prediction is returned.
Request: Bearer token
Query params:
period (optional, default daily) - one of daily | weekly | monthly
Body: none
Success: 200
status: "done" - zodiac_sign, title, prediction, love_prediction, health_prediction, career_prediction, finance_prediction, lucky_color, lucky_number, lucky_time (plus prediction_date for daily)
status: "processing" - zodiac_sign only; generation in progress, poll again shortly
status: "failed" - generation errored; zodiac_sign only. Retry by polling again (a fresh generation is kicked off).
Errors: 401 - invalid/expired token | 404 - profile or zodiac sign not set | 422 - invalid period value

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/horoscopes?period=undefined'

Responses

🟢200OK
application/json
Successful Response
Bodyapplication/json

Examples
{
    "success": true,
    "message": "Success",
    "data": {
        "status": "done",
        "zodiac_sign": "Cancer",
        "prediction_date": "2026-06-02",
        "title": "A Day of Renewal",
        "prediction": "The stars align in your favour today.",
        "lucky_color": "Blue",
        "lucky_number": 7,
        "lucky_time": "Morning 7-9 AM"
    }
}
🟠401Unauthorized
🟠404Record Not Found
🟠422Parameter Error
Modified at 2026-06-04 22:55:16
Previous
Get family member kundali
Next
Share a report via email
Built with