API Documentation

/api/horoscope/[sign]

Returns the horoscope for a given zodiac sign.

NameDescriptionRequired
signThe zodiac sign.Yes

Example response:

{
  "zodiac": {
    "sign": "Leo",
    "slug": "leo",
    "initialDay": 23,
    "initialMonth": "July",
    "finalDay": 22,
    "finalMonth": "August"
  },
  "horoscope": "Yes, you will have a lot of bugs. You will also break the production environment. The tests will pass, but you will need to be careful. Deploying on a Sunday is not a good idea."
}

This app use ChatGPT API to generate horoscopes.

Made with ❤️ by Diego Rodrigo