{"name":"Cascade Edge API","api_version":"v1","host":"https://api.casw.app","base_url":"https://api.casw.app/edge","docs":"https://api.casw.app/docs/edge","counts":{"quotes":4048,"authors":1039,"tags":7},"attribution":{"quotes":"Quote text and citations from Wikiquote contributors, CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).","authors":"Author facts from Wikidata (CC0).","images":"Portraits from Wikimedia Commons, licensed per file (see author.license / credit / source_url)."},"endpoints":[{"method":"GET","path":"/edge","description":"Edge catalog and the original five QuoteLore dynamic routes.","query":[],"example":"/edge","url":"https://api.casw.app/edge","production_url":"https://api.casw.app/edge"},{"method":"GET","path":"/edge/quote","description":"One quote by numeric id.","query":[{"name":"id","required":true,"description":"Quote id, 1–4048."}],"example":"/edge/quote?id=1","url":"https://api.casw.app/edge/quote?id=1","production_url":"https://api.casw.app/edge/quote?id=1"},{"method":"GET","path":"/edge/search","description":"Full-text search over quote text, author name, and source.","query":[{"name":"q","required":true,"description":"Search string, at least 2 characters."},{"name":"page","description":"Page number. Default 1."},{"name":"limit","description":"Page size 1–50. Default 20."},{"name":"tag","description":"Tag slug, e.g. philosophy."},{"name":"author","description":"Author slug, e.g. socrates."},{"name":"minlen","description":"Minimum quote length."},{"name":"maxlen","description":"Maximum quote length."},{"name":"photo","description":"1 to keep authors with a portrait photo."},{"name":"grade","description":"A or B."},{"name":"film","description":"1 for film dialogue only, 0 to exclude it."},{"name":"kind","description":"person or character."}],"example":"/edge/search?q=unexamined%20life","url":"https://api.casw.app/edge/search?q=unexamined%20life","production_url":"https://api.casw.app/edge/search?q=unexamined%20life"},{"method":"GET","path":"/edge/random","description":"One random quote, or several with count.","query":[{"name":"count","description":"How many quotes to return, 1–20. Default 1."},{"name":"tag","description":"Tag slug, e.g. philosophy."},{"name":"author","description":"Author slug, e.g. socrates."},{"name":"minlen","description":"Minimum quote length."},{"name":"maxlen","description":"Maximum quote length."},{"name":"photo","description":"1 to keep authors with a portrait photo."},{"name":"grade","description":"A or B."},{"name":"film","description":"1 for film dialogue only, 0 to exclude it."},{"name":"kind","description":"person or character."}],"example":"/edge/random?tag=science&photo=1","url":"https://api.casw.app/edge/random?tag=science&photo=1","production_url":"https://api.casw.app/edge/random?tag=science&photo=1"},{"method":"GET","path":"/edge/today","description":"Deterministic quote of the day in Asia/Kolkata.","query":[],"example":"/edge/today","url":"https://api.casw.app/edge/today","production_url":"https://api.casw.app/edge/today"},{"method":"GET","path":"/edge/author","description":"Author profile plus every quote by that author.","query":[{"name":"slug","required":true,"description":"Author slug, e.g. socrates."}],"example":"/edge/author?slug=socrates","url":"https://api.casw.app/edge/author?slug=socrates","production_url":"https://api.casw.app/edge/author?slug=socrates"}]}