Developers and researchers
The site's data is available for reuse: the rulers and their kinship, the battles and the battle record, the coin catalogue, the places with coordinates, the manuscripts, the glossary and every article with its citations. There is no account and no key. The data is licensed CC BY 4.0.
What is available
Data API
Static JSON files, one per dataset and one per record, under stable ids. Any origin can fetch them.
API reference
Every endpoint with its fields, types and a real example record, from the OpenAPI file. Try a request from the page.
Bulk exports
Whole datasets as CSV and GeoJSON, with the column list for each file and a citation.
MCP server
Five tools for Claude, Cursor and other MCP clients: records, site search and cited answers from the books.
Scope
The data covers the Second Bulgarian Empire from 1185 to 1396. It is the same data the site's pages are rendered from, so a record and the page it links to always agree. Each record names the page it belongs to and, where a fact comes from a printed book, the book and the page number.
We have not found another site on Bulgarian history that publishes its material as structured, cited data in two languages. If you know of one, tell us and we will link to it.
Uses
- Research. Load the battle record or the coin catalogue into a spreadsheet or pandas, check a date against the cited page, put the places and boundaries on your own map, and cite the dataset.
- Teaching. Take the rulers, the dated events and the glossary into worksheets, quizzes and timelines, in either language, without retyping.
- Software. Build on a documented API with an OpenAPI file, versioned paths and CORS. No scraping is needed.
- AI clients. Connect the MCP server so a model answers from these records and from the cited books, and can give the page it used. There is also an llms.txt at the site root.
Quick start
Start with the index. It lists every dataset with its record count and URL. Each dataset is one JSON file. The larger datasets also have one file per record, named by the id that appears in the site's URL for that record.
curl https://medievalbulgaria.com/data/v1/index.json
curl https://medievalbulgaria.com/data/v1/rulers.json
curl https://medievalbulgaria.com/data/v1/rulers/ivan-asen-ii.jsonThe start of index.json:
{
"version": "1",
"base": "https://medievalbulgaria.com/data/v1",
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"datasets": [
{
"name": "rulers",
"description": "Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography.",
"count": 129,
"url": "https://medievalbulgaria.com/data/v1/rulers.json",
"item": "https://medievalbulgaria.com/data/v1/rulers/{id}.json"
},
"…"
]
}Datasets
Twelve datasets. The counts are read from the built API.
| Dataset | Records | Contents |
|---|---|---|
rulers | 129 | Every person in the family tree: the tsars and their relatives, with reigns, kinship, a cited biography and Wikidata ids. |
dynasties | 5 | The ruling houses and the tsars of each. |
battles | 15 | The battles that have an article: date, place, sides, commanders, outcome, and the article. |
battle-record | 161 | Every dated engagement of the tsardom with its result and the book page it comes from. |
coins | 114 | The coin catalogue by type: ruler, metal, mint, legends, size, weight, rarity, photographs and drawings. |
places | 27 | Towns, fortresses, ports and monasteries with coordinates and links to rulers, battles and manuscripts. |
manuscripts | 26 | Manuscripts and royal charters: dates, repositories, shelfmarks, links to digitised copies. |
events | 24 | The dated events of the timeline. |
glossary | 53 | Offices, titles, institutions and terms, defined in both languages. |
map-periods | 9 | The nine atlas years, the ruler and situation of each realm, and a link to the boundaries as GeoJSON. |
pages | 179 | Every article on the site: metadata and citations in the list, the full Markdown text per record. |
sources | 11 | The books the site is built from. |
Licence
The structured data is licensed under Creative Commons Attribution 4.0. You may copy, modify and redistribute it, including commercially, if you credit "The Second Bulgarian Empire (medievalbulgaria.com)" and link to the site. The article text is the site's own and may be quoted with the same credit. Images carry their own author and licence in the record. The printed books the site cites are in copyright and are not part of the data.
Accuracy and corrections
The data is a secondary source. Articles were drafted from the scanned books with model assistance and then checked by hand. Structured fields were read from the books or entered by hand. Dates in the battle record follow the book cited on each row, and the books disagree in places. Where a record carries a citation, the cited page is the authority. To report an error, use the contact page.
Report an error →