Daily Jinx

API Documentation

Integrate our daily jinxes into your own projects.

Get Today's Curse
GET
/api/curses/today

Returns the curse for the current day of the year.

Example Response:

{
  "id": 150,
  "text": "May you always feel a single hair on your face but never be able to find it."
}
Get a Specific Curse
GET
/api/curses/{id}

Returns a specific curse by its day number (1-365).

Example Request:

https://your-site.com/api/curses/42

Example Response:

{
  "id": 42,
  "text": "May your headphones get snagged on every doorknob."
}
Get All Curses
GET
/api/curses/all

Returns a list of all 365 curses.

Example Response (truncated):

[
  {
    "id": 1,
    "text": "May your socks always slide down inside your shoes."
  },
  {
    "id": 2,
    "text": "May you always feel like you're about to sneeze, but never actually do."
  },
  ...
]