{"name":"Cascade QuoteLore API","api_version":"v1","host":"https://api.casw.app","base_url":"https://api.casw.app/quotelore","docs":"https://api.casw.app/docs/quotelore","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":"/quotelore","description":"API catalog, dataset counts, and this endpoint list.","query":[],"example":"/quotelore","url":"https://api.casw.app/quotelore","production_url":"https://api.casw.app/quotelore"},{"method":"GET","path":"/quotelore/quote","description":"One quote by numeric id, with full author details.","query":[{"name":"id","required":true,"description":"Quote id, 1–4048."}],"example":"/quotelore/quote?id=1","url":"https://api.casw.app/quotelore/quote?id=1","production_url":"https://api.casw.app/quotelore/quote?id=1"},{"method":"GET","path":"/quotelore/quotes","description":"Paginated quotes. Filter by tag, author, length, photo, grade, film, kind.","query":[{"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":"/quotelore/quotes?tag=philosophy&page=1&limit=20","url":"https://api.casw.app/quotelore/quotes?tag=philosophy&page=1&limit=20","production_url":"https://api.casw.app/quotelore/quotes?tag=philosophy&page=1&limit=20"},{"method":"GET","path":"/quotelore/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":"/quotelore/search?q=unexamined%20life","url":"https://api.casw.app/quotelore/search?q=unexamined%20life","production_url":"https://api.casw.app/quotelore/search?q=unexamined%20life"},{"method":"GET","path":"/quotelore/random","description":"One random quote, or several with count. Same filters as /quotes.","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":"/quotelore/random?tag=science&photo=1","url":"https://api.casw.app/quotelore/random?tag=science&photo=1","production_url":"https://api.casw.app/quotelore/random?tag=science&photo=1"},{"method":"GET","path":"/quotelore/today","description":"Deterministic quote of the day in Asia/Kolkata. Same quote for everyone until IST midnight.","query":[],"example":"/quotelore/today","url":"https://api.casw.app/quotelore/today","production_url":"https://api.casw.app/quotelore/today"},{"method":"GET","path":"/quotelore/author","description":"Author profile plus every quote by that author.","query":[{"name":"slug","required":true,"description":"Author slug, e.g. socrates."}],"example":"/quotelore/author?slug=socrates","url":"https://api.casw.app/quotelore/author?slug=socrates","production_url":"https://api.casw.app/quotelore/author?slug=socrates"},{"method":"GET","path":"/quotelore/authors","description":"Paginated authors. Filter by kind or portrait photo.","query":[{"name":"page","description":"Page number. Default 1."},{"name":"limit","description":"Page size 1–50. Default 20."},{"name":"kind","description":"person or character."},{"name":"photo","description":"1 to keep authors with a portrait photo."}],"example":"/quotelore/authors?kind=person&photo=1","url":"https://api.casw.app/quotelore/authors?kind=person&photo=1","production_url":"https://api.casw.app/quotelore/authors?kind=person&photo=1"},{"method":"GET","path":"/quotelore/authors/search","description":"Search authors by name, slug, role, or bio.","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":"kind","description":"person or character."},{"name":"photo","description":"1 to keep authors with a portrait photo."}],"example":"/quotelore/authors/search?q=curie","url":"https://api.casw.app/quotelore/authors/search?q=curie","production_url":"https://api.casw.app/quotelore/authors/search?q=curie"},{"method":"GET","path":"/quotelore/tag","description":"One tag plus its paginated quotes.","query":[{"name":"name","required":true,"description":"Tag slug. Alias: tag."},{"name":"page","description":"Page number. Default 1."},{"name":"limit","description":"Page size 1–50. Default 20."}],"example":"/quotelore/tag?name=philosophy","url":"https://api.casw.app/quotelore/tag?name=philosophy","production_url":"https://api.casw.app/quotelore/tag?name=philosophy"},{"method":"GET","path":"/quotelore/tags","description":"All tags with quote counts.","query":[],"example":"/quotelore/tags","url":"https://api.casw.app/quotelore/tags","production_url":"https://api.casw.app/quotelore/tags"}]}