Shakespeare API Docs

Base URL:


Returns a generated insult


Returns a real insult (a quote from one of Shakespeare's plays) and the play, act and scene where it is found


Pass ?daily for the daily sonnet, ?number=<sonnetNumber> for a particular sonnet, and leave the query string empty for a random sonnet

Returns JSON:
  "number": sonnetNumber (int)
  "roman": sonnetNumberRomanNumerals (str)
  "lines": [line1,line2, ... line13, line14]