{"openapi":"3.1.0","info":{"title":"Lexicurio API","version":"1.0.0","description":"A free, keyless read API for rare & beautiful words — definitions, etymologies, the Lexicurio strength score, and the \"why this word is great\" essay. Data is CC BY 4.0: use it freely with attribution to Lexicurio (lexicurio.com).","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"Lexicurio","url":"https://lexicurio.com"}},"servers":[{"url":"https://lexicurio.com","description":"Lexicurio"}],"paths":{"/api/v1/word/{word}":{"get":{"summary":"Look up a word","operationId":"getWord","parameters":[{"name":"word","in":"path","required":true,"schema":{"type":"string"},"example":"petrichor"}],"responses":{"200":{"description":"The word","content":{"application/json":{"schema":{"type":"object","properties":{"word":{"type":"string","example":"petrichor"},"partOfSpeech":{"type":"string","nullable":true,"example":"noun"},"definition":{"type":"string","nullable":true},"etymology":{"type":"string","nullable":true},"pronunciation":{"type":"string","nullable":true},"score":{"type":"integer","nullable":true,"description":"Lexicurio strength score, 0–100","example":90},"descriptor":{"type":"string","nullable":true,"example":"Sui generis"},"essay":{"type":"string","nullable":true,"description":"The \"why this word is great\" essay, if written"},"url":{"type":"string","format":"uri"},"attribution":{"type":"string"}}}}}},"404":{"description":"Unknown word"}}}},"/api/v1/random":{"get":{"summary":"A random beautiful word","operationId":"getRandom","responses":{"200":{"description":"A random word","content":{"application/json":{"schema":{"type":"object","properties":{"word":{"type":"string","example":"petrichor"},"partOfSpeech":{"type":"string","nullable":true,"example":"noun"},"definition":{"type":"string","nullable":true},"etymology":{"type":"string","nullable":true},"pronunciation":{"type":"string","nullable":true},"score":{"type":"integer","nullable":true,"description":"Lexicurio strength score, 0–100","example":90},"descriptor":{"type":"string","nullable":true,"example":"Sui generis"},"essay":{"type":"string","nullable":true,"description":"The \"why this word is great\" essay, if written"},"url":{"type":"string","format":"uri"},"attribution":{"type":"string"}}}}}}}}},"/api/v1/word-of-the-day":{"get":{"summary":"Today's Word of the Day","operationId":"getWordOfTheDay","responses":{"200":{"description":"Today's word","content":{"application/json":{"schema":{"type":"object","properties":{"word":{"type":"string","example":"petrichor"},"partOfSpeech":{"type":"string","nullable":true,"example":"noun"},"definition":{"type":"string","nullable":true},"etymology":{"type":"string","nullable":true},"pronunciation":{"type":"string","nullable":true},"score":{"type":"integer","nullable":true,"description":"Lexicurio strength score, 0–100","example":90},"descriptor":{"type":"string","nullable":true,"example":"Sui generis"},"essay":{"type":"string","nullable":true,"description":"The \"why this word is great\" essay, if written"},"url":{"type":"string","format":"uri"},"attribution":{"type":"string"}}}}}}}}}}}