Category List
Fetch one or more Encyclopedia Categories.
Categories are in a tree structure and so each one has zero or more
parents
and children
.
Each Category contains zero or more Topics.
Add the page
to get further pages of results, e.g.:
categories?page=2
Fetch more data about a single Category using its slug, e.g.:
categories/london
GET /api/v1/categories
https://www.pepysdiary.com/api/v1/categories?page=2", "previousPageURL": null, "results": [ { "slug": "abroad", "title": "Rest of the world", "topicCount": 107, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/abroad", "webURL": "https://www.pepysdiary.com/encyclopedia/places/abroad/" }, { "slug": "acts", "title": "Bills, acts, declarations and treaties", "topicCount": 17, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/state" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/acts", "webURL": "https://www.pepysdiary.com/encyclopedia/state/acts/" }, { "slug": "alcdrinks", "title": "Alcoholic drinks", "topicCount": 20, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/drink" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/alcdrinks", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/drink/alcdrinks/" }, { "slug": "areas", "title": "Areas of London", "topicCount": 27, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/areas", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/areas/" }, { "slug": "art", "title": "Art and literature", "topicCount": 4, "depth": 1, "parents": [], "children": [ "https://www.pepysdiary.com/api/v1/categories/literature" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/art", "webURL": "https://www.pepysdiary.com/encyclopedia/art/" }, { "slug": "baked", "title": "Baked goods", "topicCount": 10, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/food" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/baked", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/baked/" }, { "slug": "barking", "title": "Barking - places within", "topicCount": 1, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/barking", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/barking/" }, { "slug": "barnet", "title": "Barnet, Hertfordshire - places within", "topicCount": 1, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/barnet", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/barnet/" }, { "slug": "bath", "title": "Bath - places within", "topicCount": 3, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/bath", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/bath/" }, { "slug": "brampton", "title": "Brampton - places within", "topicCount": 2, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/brampton", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/brampton/" }, { "slug": "bristol", "title": "Bristol - places within", "topicCount": 6, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/bristol", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/bristol/" }, { "slug": "britain", "title": "Rest of Britain", "topicCount": 239, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places" ], "children": [ "https://www.pepysdiary.com/api/v1/categories/barking", "https://www.pepysdiary.com/api/v1/categories/barnet", "https://www.pepysdiary.com/api/v1/categories/bath", "https://www.pepysdiary.com/api/v1/categories/brampton", "https://www.pepysdiary.com/api/v1/categories/bristol", "https://www.pepysdiary.com/api/v1/categories/cambridge", "https://www.pepysdiary.com/api/v1/categories/gravesend", "https://www.pepysdiary.com/api/v1/categories/guildford", "https://www.pepysdiary.com/api/v1/categories/hatfield", "https://www.pepysdiary.com/api/v1/categories/oxford", "https://www.pepysdiary.com/api/v1/categories/portsmouth", "https://www.pepysdiary.com/api/v1/categories/rochester", "https://www.pepysdiary.com/api/v1/categories/wanstead", "https://www.pepysdiary.com/api/v1/categories/waterways", "https://www.pepysdiary.com/api/v1/categories/welwyn", "https://www.pepysdiary.com/api/v1/categories/windsor" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/britain", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/" }, { "slug": "buildings", "title": "Other London buildings", "topicCount": 52, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/buildings", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/buildings/" }, { "slug": "cambridge", "title": "Cambridge - places within", "topicCount": 19, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/cambridge", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/cambridge/" }, { "slug": "churches", "title": "Churches and cathedrals", "topicCount": 46, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/churches", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/churches/" }, { "slug": "coffeehouses", "title": "Coffee houses", "topicCount": 6, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/coffeehouses", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/coffeehouses/" }, { "slug": "coins", "title": "Types of coin", "topicCount": 9, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/money" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/coins", "webURL": "https://www.pepysdiary.com/encyclopedia/money/coins/" }, { "slug": "companies", "title": "Companies", "topicCount": 15, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/money" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/companies", "webURL": "https://www.pepysdiary.com/encyclopedia/money/companies/" }, { "slug": "dairy", "title": "Dairy produce", "topicCount": 8, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/food" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/dairy", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/dairy/" }, { "slug": "dancing", "title": "Dancing", "topicCount": 6, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/entertainment" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/dancing", "webURL": "https://www.pepysdiary.com/encyclopedia/entertainment/dancing/" }, { "slug": "deptford", "title": "Deptford - places within", "topicCount": 6, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/environs" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/deptford", "webURL": "https://www.pepysdiary.com/encyclopedia/places/environs/deptford/" }, { "slug": "drink", "title": "Drink", "topicCount": 0, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink" ], "children": [ "https://www.pepysdiary.com/api/v1/categories/alcdrinks", "https://www.pepysdiary.com/api/v1/categories/nonalcoholic" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/drink", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/drink/" }, { "slug": "education", "title": "Education", "topicCount": 5, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/work" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/education", "webURL": "https://www.pepysdiary.com/encyclopedia/work/education/" }, { "slug": "entertainment", "title": "Entertainment", "topicCount": 2, "depth": 1, "parents": [], "children": [ "https://www.pepysdiary.com/api/v1/categories/dancing", "https://www.pepysdiary.com/api/v1/categories/fairs", "https://www.pepysdiary.com/api/v1/categories/games", "https://www.pepysdiary.com/api/v1/categories/music", "https://www.pepysdiary.com/api/v1/categories/sports", "https://www.pepysdiary.com/api/v1/categories/theatre" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/entertainment", "webURL": "https://www.pepysdiary.com/encyclopedia/entertainment/" }, { "slug": "environs", "title": "London environs", "topicCount": 82, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places" ], "children": [ "https://www.pepysdiary.com/api/v1/categories/deptford", "https://www.pepysdiary.com/api/v1/categories/greenwich", "https://www.pepysdiary.com/api/v1/categories/vauxhall", "https://www.pepysdiary.com/api/v1/categories/woolwich" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/environs", "webURL": "https://www.pepysdiary.com/encyclopedia/places/environs/" }, { "slug": "equipment", "title": "Naval equipment", "topicCount": 14, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/state", "https://www.pepysdiary.com/api/v1/categories/navy" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/equipment", "webURL": "https://www.pepysdiary.com/encyclopedia/state/navy/equipment/" }, { "slug": "fairs", "title": "Fairs", "topicCount": 3, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/entertainment" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/fairs", "webURL": "https://www.pepysdiary.com/encyclopedia/entertainment/fairs/" }, { "slug": "fashion", "title": "Fashion", "topicCount": 31, "depth": 1, "parents": [], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/fashion", "webURL": "https://www.pepysdiary.com/encyclopedia/fashion/" }, { "slug": "food", "title": "Food", "topicCount": 14, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink" ], "children": [ "https://www.pepysdiary.com/api/v1/categories/baked", "https://www.pepysdiary.com/api/v1/categories/dairy", "https://www.pepysdiary.com/api/v1/categories/fruitveg", "https://www.pepysdiary.com/api/v1/categories/herbs", "https://www.pepysdiary.com/api/v1/categories/meat", "https://www.pepysdiary.com/api/v1/categories/seafood" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/food", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/" }, { "slug": "fooddrink", "title": "Food and drink", "topicCount": 0, "depth": 1, "parents": [], "children": [ "https://www.pepysdiary.com/api/v1/categories/drink", "https://www.pepysdiary.com/api/v1/categories/food" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/fooddrink", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/" }, { "slug": "fruitveg", "title": "Fruit and vegetables", "topicCount": 28, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/food" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/fruitveg", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/fruitveg/" }, { "slug": "further", "title": "Further reading", "topicCount": 8, "depth": 1, "parents": [], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/further", "webURL": "https://www.pepysdiary.com/encyclopedia/further/" }, { "slug": "games", "title": "Games", "topicCount": 16, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/entertainment" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/games", "webURL": "https://www.pepysdiary.com/encyclopedia/entertainment/games/" }, { "slug": "glossary", "title": "Glossary", "topicCount": 132, "depth": 1, "parents": [], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/glossary", "webURL": "https://www.pepysdiary.com/encyclopedia/glossary/" }, { "slug": "government", "title": "Government", "topicCount": 36, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/state" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/government", "webURL": "https://www.pepysdiary.com/encyclopedia/state/government/" }, { "slug": "government-buildings", "title": "Government buildings", "topicCount": 22, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/government-buildings", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/government-buildings/" }, { "slug": "gravesend", "title": "Gravesend, Kent - places within", "topicCount": 3, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/gravesend", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/gravesend/" }, { "slug": "greenwich", "title": "Greenwich - places within", "topicCount": 13, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/environs" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/greenwich", "webURL": "https://www.pepysdiary.com/encyclopedia/places/environs/greenwich/" }, { "slug": "guildford", "title": "Guildford, Surrey - places within", "topicCount": 4, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/guildford", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/guildford/" }, { "slug": "hatfield", "title": "Hatfield, Hertfordshire - places within", "topicCount": 3, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/britain" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/hatfield", "webURL": "https://www.pepysdiary.com/encyclopedia/places/britain/hatfield/" }, { "slug": "health", "title": "Health and medicine", "topicCount": 20, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/science" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/health", "webURL": "https://www.pepysdiary.com/encyclopedia/science/health/" }, { "slug": "herbs", "title": "Herbs, spices and condiments", "topicCount": 9, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/food" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/herbs", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/herbs/" }, { "slug": "holidays", "title": "Holidays and events", "topicCount": 44, "depth": 1, "parents": [], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/holidays", "webURL": "https://www.pepysdiary.com/encyclopedia/holidays/" }, { "slug": "household", "title": "Pepys’ household", "topicCount": 39, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/people", "https://www.pepysdiary.com/api/v1/categories/samuel-pepys" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/household", "webURL": "https://www.pepysdiary.com/encyclopedia/people/samuel-pepys/household/" }, { "slug": "instruments", "title": "Instruments", "topicCount": 25, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/entertainment", "https://www.pepysdiary.com/api/v1/categories/music" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/instruments", "webURL": "https://www.pepysdiary.com/encyclopedia/entertainment/music/instruments/" }, { "slug": "jobs", "title": "Jobs and professions", "topicCount": 10, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/work" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/jobs", "webURL": "https://www.pepysdiary.com/encyclopedia/work/jobs/" }, { "slug": "law", "title": "Law", "topicCount": 14, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/state" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/law", "webURL": "https://www.pepysdiary.com/encyclopedia/state/law/" }, { "slug": "literature", "title": "Literature", "topicCount": 192, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/art" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/literature", "webURL": "https://www.pepysdiary.com/encyclopedia/art/literature/" }, { "slug": "livery-halls", "title": "Livery halls", "topicCount": 13, "depth": 3, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places", "https://www.pepysdiary.com/api/v1/categories/london" ], "children": [], "apiURL": "https://www.pepysdiary.com/api/v1/categories/livery-halls", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/livery-halls/" }, { "slug": "london", "title": "London", "topicCount": 0, "depth": 2, "parents": [ "https://www.pepysdiary.com/api/v1/categories/places" ], "children": [ "https://www.pepysdiary.com/api/v1/categories/areas", "https://www.pepysdiary.com/api/v1/categories/churches", "https://www.pepysdiary.com/api/v1/categories/coffeehouses", "https://www.pepysdiary.com/api/v1/categories/government-buildings", "https://www.pepysdiary.com/api/v1/categories/livery-halls", "https://www.pepysdiary.com/api/v1/categories/buildings", "https://www.pepysdiary.com/api/v1/categories/pepys-homes", "https://www.pepysdiary.com/api/v1/categories/royal", "https://www.pepysdiary.com/api/v1/categories/streets", "https://www.pepysdiary.com/api/v1/categories/taverns", "https://www.pepysdiary.com/api/v1/categories/theatres" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/london", "webURL": "https://www.pepysdiary.com/encyclopedia/places/london/" } ] }{ "totalResults": 87, "totalPages": 2, "nextPageURL": "