API reference
The data API described endpoint by endpoint: the fields of each dataset with their types, which are required, a real example record, and a panel to send a request and see the response. It is generated from the same OpenAPI file a client can load.
The OpenAPI file
https://medievalbulgaria.com/data/v1/openapi.jsonOpenAPI 3.1. Load it into a code generator, Postman, Bruno or an agent framework to get a typed client. The schemas are inferred from the records themselves at build time, so they describe the fields that actually exist.
Index
Start here.
GET/index.jsonWhat is available
Lists every dataset with its record count and URL, the bulk exports, the GeoJSON boundaries and the MCP endpoint.
Responses
200The indexapplication/json
Example response
{
"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)"
},
"documentation": "https://medievalbulgaria.com/developers",
"openapi": "https://medievalbulgaria.com/data/v1/openapi.json",
"mcp": "https://medievalbulgaria.com/api/mcp",
"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"
},
{
"name": "dynasties",
"description": "The ruling houses and which tsars belong to each.",
"count": 5,
"url": "https://medievalbulgaria.com/data/v1/dynasties.json",
"item": null
},
{
"name": "battles",
"description": "The battles with their own article: date, place, sides, commanders and outcome.",
"count": 15,
"url": "https://medievalbulgaria.com/data/v1/battles.json",
"item": "https://medievalbulgaria.com/data/v1/battles/{id}.json"
},
{
"name": "battle-record",
"description": "The win–loss register: every dated engagement of the tsardom, with the book page it rests on.",
"count": 161,
"url": "https://medievalbulgaria.com/data/v1/battle-record.json",
"item": null
},
{
"name": "coins",
"description": "The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings.",
"count": 114,
"url": "https://medievalbulgaria.com/data/v1/coins.json",
"item": "https://medievalbulgaria.com/data/v1/coins/{id}.json"
},
{
"name": "places",
"description": "Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts.",
"count": 27,
"url": "https://medievalbulgaria.com/data/v1/places.json",
"item": "https://medievalbulgaria.com/data/v1/places/{id}.json"
},
{
"name": "manuscripts",
"description": "Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies.",
"count": 26,
"url": "https://medievalbulgaria.com/data/v1/manuscripts.json",
"item": "https://medievalbulgaria.com/data/v1/manuscripts/{id}.json"
},
{
"name": "events",
"description": "The dated events of the timeline.",
"count": 24,
"url": "https://medievalbulgaria.com/data/v1/events.json",
"item": null
},
{
"name": "glossary",
"description": "Offices, titles, institutions and terms, defined in both languages.",
"count": 53,
"url": "https://medievalbulgaria.com/data/v1/glossary.json",
"item": null
},
{
"name": "map-periods",
"description": "The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON.",
"count": 9,
"url": "https://medievalbulgaria.com/data/v1/map-periods.json",
"item": null
},
{
"name": "pages",
"description": "Every article on the site: metadata and citations in the list, full Markdown body per record.",
"count": 179,
"url": "https://medievalbulgaria.com/data/v1/pages.json",
"item": "https://medievalbulgaria.com/data/v1/pages/{id}.json"
},
{
"name": "sources",
"description": "The bibliography the site is built from.",
"count": 11,
"url": "https://medievalbulgaria.com/data/v1/sources.json",
"item": null
}
],
"territories": [
{
"year": 1186,
"url": "https://medievalbulgaria.com/data/v1/territories/1186.geojson"
},
{
"year": 1205,
"url": "https://medievalbulgaria.com/data/v1/territories/1205.geojson"
},
{
"year": 1230,
"url": "https://medievalbulgaria.com/data/v1/territories/1230.geojson"
},
{
"year": 1261,
"url": "https://medievalbulgaria.com/data/v1/territories/1261.geojson"
},
{
"year": 1300,
"url": "https://medievalbulgaria.com/data/v1/territories/1300.geojson"
},
{
"year": 1331,
"url": "https://medievalbulgaria.com/data/v1/territories/1331.geojson"
},
{
"year": 1355,
"url": "https://medievalbulgaria.com/data/v1/territories/1355.geojson"
},
{
"year": 1371,
"url": "https://medievalbulgaria.com/data/v1/territories/1371.geojson"
},
{
"year": 1396,
"url": "https://medievalbulgaria.com/data/v1/territories/1396.geojson"
}
],
"exports": [
{
"name": "rulers.csv",
"format": "csv",
"rows": 129,
"bytes": 20049,
"columns": [
"id",
"name_bg",
"name_en",
"epithet_en",
"title",
"dynasty",
"reigned",
"reign_from",
"reign_to",
"born",
"died",
"wikidata",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/rulers.csv"
},
{
"name": "battles.csv",
"format": "csv",
"rows": 15,
"bytes": 3925,
"columns": [
"id",
"year",
"name_bg",
"name_en",
"location_en",
"lat",
"lng",
"outcome",
"result_en",
"commanders",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/battles.csv"
},
{
"name": "battle-record.csv",
"format": "csv",
"rows": 161,
"bytes": 43115,
"columns": [
"id",
"year",
"kind",
"side",
"ruler",
"opponent",
"result",
"name_bg",
"name_en",
"note_en",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/battle-record.csv"
},
{
"name": "coins.csv",
"format": "csv",
"rows": 114,
"bytes": 105289,
"columns": [
"id",
"catalogue_number",
"ruler",
"ruler_en",
"reign",
"metal",
"imitative",
"title_en",
"mint_en",
"obverse_en",
"reverse_en",
"diameter_mm",
"weight_g",
"rarity",
"specimens",
"drawings",
"image",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/coins.csv"
},
{
"name": "places.csv",
"format": "csv",
"rows": 27,
"bytes": 4418,
"columns": [
"id",
"kind",
"name_bg",
"name_en",
"modern_en",
"lat",
"lng",
"rulers",
"battles",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/places.csv"
},
{
"name": "events.csv",
"format": "csv",
"rows": 24,
"bytes": 7686,
"columns": [
"id",
"year",
"month",
"day",
"title_bg",
"title_en",
"description_en"
],
"url": "https://medievalbulgaria.com/data/v1/export/events.csv"
},
{
"name": "glossary.csv",
"format": "csv",
"rows": 53,
"bytes": 16591,
"columns": [
"id",
"category",
"term_bg",
"term_en",
"definition_bg",
"definition_en"
],
"url": "https://medievalbulgaria.com/data/v1/export/glossary.csv"
},
{
"name": "pages.csv",
"format": "csv",
"rows": 179,
"bytes": 95022,
"columns": [
"id",
"type",
"title_bg",
"title_en",
"summary_en",
"citations",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/pages.csv"
},
{
"name": "statistics-armies.csv",
"format": "csv",
"rows": 54,
"bytes": 12333,
"columns": [
"id",
"year",
"record",
"event_en",
"kind",
"side",
"force_bg",
"force_en",
"count",
"count_to",
"witness_en",
"verdict",
"second_estimate_of",
"part_of_army",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-armies.csv"
},
{
"name": "statistics-reigns.csv",
"format": "csv",
"rows": 21,
"bytes": 2590,
"columns": [
"ruler",
"name_en",
"year",
"fate",
"note_en",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-reigns.csv"
},
{
"name": "statistics-marriages.csv",
"format": "csv",
"rows": 25,
"bytes": 3063,
"columns": [
"person",
"spouse",
"spouse_en",
"direction",
"court",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-marriages.csv"
},
{
"name": "statistics-sums.csv",
"format": "csv",
"rows": 14,
"bytes": 1902,
"columns": [
"id",
"year",
"kind",
"what_en",
"amount",
"unit",
"perpers",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-sums.csv"
},
{
"name": "statistics-population.csv",
"format": "csv",
"rows": 8,
"bytes": 837,
"columns": [
"id",
"scope",
"place_en",
"when",
"count",
"count_to",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-population.csv"
},
{
"name": "statistics-fortresses.csv",
"format": "csv",
"rows": 15,
"bytes": 2357,
"columns": [
"id",
"name_bg",
"name_en",
"area_dka",
"area_to_dka",
"note_en",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-fortresses.csv"
},
{
"name": "statistics-disputes.csv",
"format": "csv",
"rows": 29,
"bytes": 5475,
"columns": [
"id",
"year",
"question_en",
"status",
"reading",
"reading_en",
"outcome_en",
"sources"
],
"url": "https://medievalbulgaria.com/data/v1/export/statistics-disputes.csv"
},
{
"name": "places.geojson",
"format": "geojson",
"rows": 27,
"bytes": 6359,
"columns": [
"id",
"kind",
"name_bg",
"name_en",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/places.geojson"
},
{
"name": "battles.geojson",
"format": "geojson",
"rows": 15,
"bytes": 3765,
"columns": [
"id",
"year",
"name_en",
"outcome",
"url"
],
"url": "https://medievalbulgaria.com/data/v1/export/battles.geojson"
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/index.json
Rulers
Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography.
GET/rulers.jsonAll rulers
Every person in the family tree: the tsars and their relatives, with reigns, kinship and a cited biography.
Responses
200The rulers datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "rulers" |
| count | integer |
| licence | Licence |
| items | RulersSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| name | Bilingual |
| epithet | Bilingual |
| title | string |
| dynasty | string | null |
| reigned | boolean |
| reign | object |
| reign.from | integer | null |
| reign.to | integer | null |
| born | integer | null |
| died | integer | null |
| female | boolean |
| wikidata | string | null |
| portrait | string | null |
| url | Bilingual |
Example response
{
"dataset": "rulers",
"count": 129,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "petar-iv",
"name": {
"bg": "Петър IV (Теодор-Петър)",
"en": "Peter IV (Theodore-Peter)"
},
"epithet": {
"bg": null,
"en": null
},
"title": "цар",
"dynasty": "asen",
"reigned": true,
"reign": {
"from": 1185,
"to": 1197
},
"born": null,
"died": 1197,
"female": false,
"wikidata": "Q905368",
"portrait": "https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg",
"url": {
"en": "https://medievalbulgaria.com/people/petar-iv",
"bg": "https://medievalbulgaria.com/bg/people/petar-iv"
}
},
{
"id": "ivan-asen-i",
"name": {
"bg": "Иван Асен I",
"en": "Ivan Asen I"
},
"epithet": {
"bg": null,
"en": null
},
"title": "цар",
"dynasty": "asen",
"reigned": true,
"reign": {
"from": 1190,
"to": 1196
},
"born": null,
"died": 1196,
"female": false,
"wikidata": "Q748091",
"portrait": "https://medievalbulgaria.com/rulers/ivan-asen-i/lithograph.jpg",
"url": {
"en": "https://medievalbulgaria.com/people/ivan-asen-i",
"bg": "https://medievalbulgaria.com/bg/people/ivan-asen-i"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/rulers.json
GET/rulers/{id}.jsonOne of rulers
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| name | Bilingual |
| epithet | Bilingual |
| title | string |
| dynasty | string | null |
| reigned | boolean |
| reign | object |
| reign.from | integer | null |
| reign.to | integer | null |
| born | integer | null |
| died | integer | null |
| female | boolean |
| wikidata | string | null |
| portrait | string | null |
| url | Bilingual |
| variants | object |
| variants.bg | string[] |
| variants.en | string[] |
| dateNote | Bilingual |
| floruit | object |
| floruit.from | integer | null |
| floruit.to | integer | null |
| family | object |
| family.father | string | null |
| family.mother | string | null |
| family.spouses | string[] |
| family.children | string[] |
| family.siblings | string[] |
| family.predecessor | string | null |
| family.successor | string | null |
| notes | Bilingual |
| biography | object |
| biography.bg | string[] |
| biography.en | string[] |
| evidence | object[] |
| evidence[].source | string |
| evidence[].page | integer |
| evidence[].url | string |
| wikipedia | string | null |
| images | object[] |
| images[].url | string |
| images[].kind | string |
| images[].caption | Bilingual |
| images[].width | integer |
| images[].height | integer |
Example response
{
"id": "petar-iv",
"name": {
"bg": "Петър IV (Теодор-Петър)",
"en": "Peter IV (Theodore-Peter)"
},
"epithet": {
"bg": null,
"en": null
},
"title": "цар",
"dynasty": "asen",
"reigned": true,
"reign": {
"from": 1185,
"to": 1197
},
"born": null,
"died": 1197,
"female": false,
"wikidata": "Q905368",
"portrait": "https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg",
"url": {
"en": "https://medievalbulgaria.com/people/petar-iv",
"bg": "https://medievalbulgaria.com/bg/people/petar-iv"
},
"variants": {
"bg": [],
"en": []
},
"dateNote": {
"bg": null,
"en": null
},
"floruit": {
"from": null,
"to": null
},
"family": {
"father": null,
"mother": null,
"spouses": [],
"children": [],
"siblings": [
"ivan-asen-i",
"kaloyan",
"na-asenina-i"
],
"predecessor": null,
"successor": "kaloyan"
},
"notes": {
"bg": "Заедно с брат си Асен I вдига въстанието от 1185 г. срещу Византия, което поставя началото на Второто българско царство. Коронясан като цар под името Петър.",
"en": "Together with his brother Asen I he led the 1185 uprising against Byzantium that founded the Second Bulgarian Kingdom. Crowned tsar under the name Peter."
},
"biography": {
"bg": [
"Петър IV, чието кръстно име било Теодор, е най-възрастният от тримата братя Асеневци — преди Иван Асен I и Калоян. Изворите не съобщават кога е роден, какво об…",
"Непосредственият повод за въстанието през 1185 г. бил извънредният данък, наложен от император Исаак II Ангел във връзка с неговата сватба. Според Никита Хониа…",
"Политическата подготовка на въстанието била свързана с превземането и разграбването на Солун от сицилианските нормани на 24 август 1185 г. Катастрофата на втор…"
],
"en": [
"Peter IV, born Theodore and known in Byzantine sources as Petros and in Latin accounts as Kalopetrus, was the eldest of the three Asen brothers who restored Bu…",
"The immediate crisis arose in the first year of Emperor Isaac II Angelos. An extraordinary levy connected with the emperor's marriage intensified resentment ag…",
"The brothers transformed discontent into a movement for restored statehood by giving it a powerful religious interpretation. On 24 August 1185 the Sicilian Nor…"
]
},
"evidence": [
{
"source": "bozhilov-asen-family",
"page": 14,
"url": "https://medievalbulgaria.com/sources/bozhilov-asen-family"
}
],
"wikipedia": "Peter II of Bulgaria",
"images": [
{
"url": "https://medievalbulgaria.com/rulers/petar-iv/portrait.jpg",
"kind": "portrait",
"caption": {
"bg": "Съвременна илюстрация на цар Петър IV (Теодор-Петър)",
"en": "Modern illustration of Tsar Peter IV (Theodore-Peter)"
},
"width": 156,
"height": 189
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/rulers/petar-iv.json
Dynasties
The ruling houses and which tsars belong to each.
GET/dynasties.jsonAll dynasties
The ruling houses and which tsars belong to each.
Responses
200The dynasties datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "dynasties" |
| count | integer |
| licence | Licence |
| items | DynastiesSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| name | Bilingual |
| from | integer |
| to | integer |
| rulers | string[] |
Example response
{
"dataset": "dynasties",
"count": 5,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "asen",
"name": {
"bg": "Асеневци",
"en": "Asen dynasty"
},
"from": 1185,
"to": 1280,
"rulers": [
"petar-iv",
"ivan-asen-i",
"kaloyan"
]
},
{
"id": "terter",
"name": {
"bg": "Тертеровци",
"en": "Terter dynasty"
},
"from": 1280,
"to": 1323,
"rulers": [
"georgi-terter-i",
"todor-svetoslav",
"georgi-terter-ii"
]
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/dynasties.json
Battles
The battles with their own article: date, place, sides, commanders and outcome.
GET/battles.jsonAll battles
The battles with their own article: date, place, sides, commanders and outcome.
Responses
200The battles datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "battles" |
| count | integer |
| licence | Licence |
| items | BattlesSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| year | integer |
| date | Bilingual |
| name | Bilingual |
| location | Bilingual |
| coordinates | object |
| coordinates.lat | number |
| coordinates.lng | number |
| outcome | string |
| result | Bilingual |
| belligerents | Bilingual[] |
| commanders | object[] |
| commanders[].person | string | null |
| commanders[].name | Bilingual |
| mapYear | integer |
| url | Bilingual |
Example response
{
"dataset": "battles",
"count": 15,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "battle-tryavna-1190",
"year": 1190,
"date": {
"bg": "1190 г.",
"en": "1190"
},
"name": {
"bg": "Битката в Тревненския проход",
"en": "Battle of Tryavna"
},
"location": {
"bg": "Тревненския проход, Стара планина",
"en": "the Tryavna pass, Balkan range"
},
"coordinates": {
"lat": 42.85,
"lng": 25.55
},
"outcome": "bulgaria",
"result": {
"bg": "Решителна българска победа",
"en": "Decisive Bulgarian victory"
},
"belligerents": [
{
"bg": "Второ българско царство",
"en": "Second Bulgarian Empire"
},
{
"bg": "Византийска империя",
"en": "Byzantine Empire"
}
],
"commanders": [
{
"person": "ivan-asen-i",
"name": {
"bg": "Асен I",
"en": "Asen I"
}
},
{
"person": null,
"name": {
"bg": "Исак II Ангел",
"en": "Isaac II Angelos"
}
}
],
"mapYear": 1186,
"url": {
"en": "https://medievalbulgaria.com/battles/battle-tryavna-1190",
"bg": "https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"
}
},
{
"id": "battle-adrianople-1205",
"year": 1205,
"date": {
"bg": "14 април 1205 г.",
"en": "14 April 1205"
},
"name": {
"bg": "Битката при Одрин (1205)",
"en": "Battle of Adrianople (1205)"
},
"location": {
"bg": "при Одрин (дн. Едирне)",
"en": "near Adrianople (modern Edirne)"
},
"coordinates": {
"lat": 41.68,
"lng": 26.56
},
"outcome": "bulgaria",
"result": {
"bg": "Решителна българска победа",
"en": "Decisive Bulgarian victory"
},
"belligerents": [
{
"bg": "Второ българско царство",
"en": "Second Bulgarian Empire"
},
{
"bg": "Латинска империя",
"en": "Latin Empire"
}
],
"commanders": [
{
"person": "kaloyan",
"name": {
"bg": "Калоян",
"en": "Kaloyan"
}
},
{
"person": null,
"name": {
"bg": "Балдуин I",
"en": "Baldwin I"
}
}
],
"mapYear": 1205,
"url": {
"en": "https://medievalbulgaria.com/battles/battle-adrianople-1205",
"bg": "https://medievalbulgaria.com/bg/battles/battle-adrianople-1205"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/battles.json
GET/battles/{id}.jsonOne of battles
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| year | integer |
| date | Bilingual |
| name | Bilingual |
| location | Bilingual |
| coordinates | object |
| coordinates.lat | number |
| coordinates.lng | number |
| outcome | string |
| result | Bilingual |
| belligerents | Bilingual[] |
| commanders | object[] |
| commanders[].person | string | null |
| commanders[].name | Bilingual |
| mapYear | integer |
| url | Bilingual |
| page | object |
| page.id | string |
| page.type | string |
| page.title | Bilingual |
| page.summary | Bilingual |
| page.readingLevels | string[] |
| page.citations | object[] |
| page.citations[].source | string |
| page.citations[].page | integer |
| page.citations[].url | string |
| page.url | Bilingual |
| page.aliases | object |
| page.aliases.bg | any[] |
| page.aliases.en | any[] |
| page.keyEvents | object |
| page.keyEvents.bg | any[] |
| page.keyEvents.en | any[] |
| page.keyPeople | object |
| page.keyPeople.bg | string[] |
| page.keyPeople.en | string[] |
| page.body | object |
| page.body.scholar | Bilingual |
| page.body.reader | null |
| page.body.simple | null |
Example response
{
"id": "battle-tryavna-1190",
"year": 1190,
"date": {
"bg": "1190 г.",
"en": "1190"
},
"name": {
"bg": "Битката в Тревненския проход",
"en": "Battle of Tryavna"
},
"location": {
"bg": "Тревненския проход, Стара планина",
"en": "the Tryavna pass, Balkan range"
},
"coordinates": {
"lat": 42.85,
"lng": 25.55
},
"outcome": "bulgaria",
"result": {
"bg": "Решителна българска победа",
"en": "Decisive Bulgarian victory"
},
"belligerents": [
{
"bg": "Второ българско царство",
"en": "Second Bulgarian Empire"
},
{
"bg": "Византийска империя",
"en": "Byzantine Empire"
}
],
"commanders": [
{
"person": "ivan-asen-i",
"name": {
"bg": "Асен I",
"en": "Asen I"
}
},
{
"person": null,
"name": {
"bg": "Исак II Ангел",
"en": "Isaac II Angelos"
}
}
],
"mapYear": 1186,
"url": {
"en": "https://medievalbulgaria.com/battles/battle-tryavna-1190",
"bg": "https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"
},
"page": {
"id": "battle-tryavna-1190",
"type": "battle",
"title": {
"bg": "Битката в Тревненския проход",
"en": "Battle of Tryavna"
},
"summary": {
"bg": "Исак II Ангел се оттеглил от Търново и тръгнал обратно през Стара планина. Войската на Асен пресрещнала колоната в прохода и я засипала с камъни от билата; имп…",
"en": "Isaac II Angelos turned back from Tarnovo and withdrew over the Balkan range. Asen’s men caught the column in a pass and rolled stones down on it from the ridg…"
},
"readingLevels": [
"scholar"
],
"citations": [
{
"source": "angelov-cholpanov-military-history",
"page": 98,
"url": "https://medievalbulgaria.com/sources/angelov-cholpanov-military-history"
}
],
"url": {
"en": "https://medievalbulgaria.com/battles/battle-tryavna-1190",
"bg": "https://medievalbulgaria.com/bg/battles/battle-tryavna-1190"
},
"aliases": {
"bg": [],
"en": []
},
"keyEvents": {
"bg": [],
"en": []
},
"keyPeople": {
"bg": [
"Асен I",
"Исак II Ангел",
"Никита Хониат"
],
"en": []
},
"body": {
"scholar": {
"bg": "## Преминаването на Третия кръстоносен поход през балканските земи през 1189 г.\n\nСлед възстановяването на българската държава под управлението на Асеневци, стр…",
"en": "## The Passage of the Third Crusade through the Balkan Lands in 1189\n\nAfter the restoration of the Bulgarian state under the rule of the Asen dynasty, the coun…"
},
"reader": null,
"simple": null
}
}
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/battles/battle-tryavna-1190.json
Battle record
The win–loss register: every dated engagement of the tsardom, with the book page it rests on.
GET/battle-record.jsonAll battle-record
The win–loss register: every dated engagement of the tsardom, with the book page it rests on.
Responses
200The battle-record datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "battle-record" |
| count | integer |
| licence | Licence |
| items | BattleRecordSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| year | integer |
| kind | string |
| side | string | null |
| ruler | string | null |
| opponent | string | null |
| result | string |
| name | Bilingual |
| note | Bilingual |
| sources | object[] |
| sources[].source | string |
| sources[].page | integer |
| sources[].url | string |
Example response
{
"dataset": "battle-record",
"count": 161,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "1185-preslav",
"year": 1185,
"kind": "siege",
"side": "tsardom",
"ruler": "petar-iv",
"opponent": "byzantium",
"result": "loss",
"name": {
"bg": "Опит за превземане на Преслав",
"en": "Attempt on Preslav"
},
"note": {
"bg": "Петър напада старата столица, но стените издържат.",
"en": "Peter attacks the old capital, but its walls hold."
},
"sources": [
{
"source": "fine-late-medieval-balkans",
"page": 31,
"url": "https://medievalbulgaria.com/sources/fine-late-medieval-balkans"
}
]
},
{
"id": "1186-kantakouzenos",
"year": 1186,
"kind": "battle",
"side": "tsardom",
"ruler": "ivan-asen-i",
"opponent": "byzantium",
"result": "win",
"name": {
"bg": "Нощното сражение с Йоан Кантакузин",
"en": "Night battle against John Kantakouzenos"
},
"note": {
"bg": "Ослепеният пълководец пренебрегва Асен и е разбит в нощно нападение в планината.",
"en": "The blinded commander underrates Asen and is routed in a night attack in the mountains."
},
"sources": [
{
"source": "bozhilov-gyuzelev-medieval-bulgaria",
"page": 626,
"url": "https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"
},
{
"source": "fine-late-medieval-balkans",
"page": 32,
"url": "https://medievalbulgaria.com/sources/fine-late-medieval-balkans"
}
]
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/battle-record.json
Coins
The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings.
GET/coins.jsonAll coins
The coin catalogue: every type by ruler, metal, mint, legends, size and rarity, with its photographed specimens and drawings.
Responses
200The coins datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "coins" |
| count | integer |
| licence | Licence |
| items | CoinsSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| catalogueNumber | string |
| catalogueNumberConfident | boolean |
| ruler | string | null |
| rulerName | Bilingual |
| reign | string | null |
| metal | string |
| imitative | boolean |
| title | Bilingual |
| mint | Bilingual |
| obverse | Bilingual |
| reverse | Bilingual |
| diameterMm | string | null |
| weightG | string | null |
| rarity | string | null |
| cataloguePage | integer |
| specimens | object[] |
| specimens[].image | string |
| specimens[].width | integer |
| specimens[].height | integer |
| specimens[].cataloguePage | integer |
| drawings | object[] |
| drawings[].image | string |
| drawings[].width | integer |
| drawings[].height | integer |
| drawings[].cataloguePage | integer |
| url | Bilingual |
Example response
{
"dataset": "coins",
"count": 114,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "imitative-coinage-copper-1-1-1",
"catalogueNumber": "1.1.1",
"catalogueNumberConfident": true,
"ruler": null,
"rulerName": {
"bg": "Имитативно монетосечене",
"en": "Imitative coinage"
},
"reign": "1185-1218",
"metal": "copper",
"imitative": true,
"title": {
"bg": "Медна корубеста монета, нелокализирана монетарница",
"en": "Copper scyphate coin, unlocalised mint"
},
"mint": {
"bg": null,
"en": null
},
"obverse": {
"bg": "Иисус Христос, прав, с брада, с нимб около главата, стъпил върху правоъгълен субпендион. Облечен е с хитон и синдон. В лявата Си ръка държи Евангелие, а с дясн…",
"en": "Jesus Christ, standing, bearded, with a nimbus around His head, standing on a rectangular subpedion. He is dressed in a chiton and sindon. In His left hand He …"
},
"reverse": {
"bg": "Владетелят, прав, в цял ръст, с брада и мустаци, с корона с пропендули, стъпил върху субпендион. Облечен е в сакос и маниакион. През ръцете му е преметнат лоро…",
"en": "The ruler, standing, full-length, with beard and mustache, wearing a crown with pendilia, standing on a subpedion. He is dressed in a sakkos and maniakion. The…"
},
"diameterMm": "28",
"weightG": "3,3",
"rarity": "R9",
"cataloguePage": 51,
"specimens": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-1.webp",
"width": 351,
"height": 360,
"cataloguePage": 51
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-2.webp",
"width": 352,
"height": 360,
"cataloguePage": 51
}
],
"drawings": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-1.webp",
"width": 360,
"height": 358,
"cataloguePage": 51
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-2.webp",
"width": 355,
"height": 360,
"cataloguePage": 51
}
],
"url": {
"en": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1",
"bg": "https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-1"
}
},
{
"id": "imitative-coinage-copper-1-1-2",
"catalogueNumber": "1.1.2",
"catalogueNumberConfident": true,
"ruler": null,
"rulerName": {
"bg": "Имитативно монетосечене",
"en": "Imitative coinage"
},
"reign": "1185-1218",
"metal": "copper",
"imitative": true,
"title": {
"bg": "Медна корубеста монета, нелокализирана монетарница",
"en": "Copper scyphate coin, unlocalised mint"
},
"mint": {
"bg": null,
"en": null
},
"obverse": {
"bg": "Иисус Христос, седнал на трон без облегало, с нимб около главата, в който е вписан кръст. Всяко от раменете на кръста е украсено с по един бисер. Христос е обл…",
"en": "Jesus Christ, seated on a throne without a backrest, with a nimbus around His head, in which a cross is inscribed. Each arm of the cross is decorated with a pe…"
},
"reverse": {
"bg": "Императорът, прав, отляво, коронясван от Богородица. В дясната си ръка държи лабарум, а в лявата - кълбо с кръст. Най-често фигурите са в три четвърти ръст. Кр…",
"en": "The Emperor, standing, facing left, crowned by the Theotokos. In His right hand He holds a labarum, and in His left a globus cruciger. The figures are most oft…"
},
"diameterMm": "28",
"weightG": "3,1",
"rarity": "R1",
"cataloguePage": 52,
"specimens": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-1.webp",
"width": 360,
"height": 336,
"cataloguePage": 52
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-2.webp",
"width": 360,
"height": 313,
"cataloguePage": 52
}
],
"drawings": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-drawing-1.webp",
"width": 360,
"height": 358,
"cataloguePage": 52
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2-drawing-2.webp",
"width": 359,
"height": 360,
"cataloguePage": 52
}
],
"url": {
"en": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-2",
"bg": "https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-2"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/coins.json
GET/coins/{id}.jsonOne of coins
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| catalogueNumber | string |
| catalogueNumberConfident | boolean |
| ruler | string | null |
| rulerName | Bilingual |
| reign | string | null |
| metal | string |
| imitative | boolean |
| title | Bilingual |
| mint | Bilingual |
| obverse | Bilingual |
| reverse | Bilingual |
| diameterMm | string | null |
| weightG | string | null |
| rarity | string | null |
| cataloguePage | integer |
| specimens | object[] |
| specimens[].image | string |
| specimens[].width | integer |
| specimens[].height | integer |
| specimens[].cataloguePage | integer |
| drawings | object[] |
| drawings[].image | string |
| drawings[].width | integer |
| drawings[].height | integer |
| drawings[].cataloguePage | integer |
| url | Bilingual |
Example response
{
"id": "imitative-coinage-copper-1-1-1",
"catalogueNumber": "1.1.1",
"catalogueNumberConfident": true,
"ruler": null,
"rulerName": {
"bg": "Имитативно монетосечене",
"en": "Imitative coinage"
},
"reign": "1185-1218",
"metal": "copper",
"imitative": true,
"title": {
"bg": "Медна корубеста монета, нелокализирана монетарница",
"en": "Copper scyphate coin, unlocalised mint"
},
"mint": {
"bg": null,
"en": null
},
"obverse": {
"bg": "Иисус Христос, прав, с брада, с нимб около главата, стъпил върху правоъгълен субпендион. Облечен е с хитон и синдон. В лявата Си ръка държи Евангелие, а с дясн…",
"en": "Jesus Christ, standing, bearded, with a nimbus around His head, standing on a rectangular subpedion. He is dressed in a chiton and sindon. In His left hand He …"
},
"reverse": {
"bg": "Владетелят, прав, в цял ръст, с брада и мустаци, с корона с пропендули, стъпил върху субпендион. Облечен е в сакос и маниакион. През ръцете му е преметнат лоро…",
"en": "The ruler, standing, full-length, with beard and mustache, wearing a crown with pendilia, standing on a subpedion. He is dressed in a sakkos and maniakion. The…"
},
"diameterMm": "28",
"weightG": "3,3",
"rarity": "R9",
"cataloguePage": 51,
"specimens": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-1.webp",
"width": 351,
"height": 360,
"cataloguePage": 51
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-2.webp",
"width": 352,
"height": 360,
"cataloguePage": 51
}
],
"drawings": [
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-1.webp",
"width": 360,
"height": 358,
"cataloguePage": 51
},
{
"image": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1-drawing-2.webp",
"width": 355,
"height": 360,
"cataloguePage": 51
}
],
"url": {
"en": "https://medievalbulgaria.com/coins/imitative-coinage-copper-1-1-1",
"bg": "https://medievalbulgaria.com/bg/coins/imitative-coinage-copper-1-1-1"
}
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/coins/imitative-coinage-copper-1-1-1.json
Places
Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts.
GET/places.jsonAll places
Towns, fortresses, ports and monasteries with coordinates and their links to rulers, battles and manuscripts.
Responses
200The places datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "places" |
| count | integer |
| licence | Licence |
| items | PlacesSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| kind | string |
| name | Bilingual |
| altNames | Bilingual[] |
| modern | Bilingual |
| lat | number |
| lng | number |
| role | Bilingual |
| rulers | string[] |
| battles | string[] |
| manuscripts | string[] |
| pages | string[] |
| image | object |
| image.url | string |
| image.caption | Bilingual |
| image.author | string |
| image.licence | string |
| image.source | string |
| url | Bilingual |
Example response
{
"dataset": "places",
"count": 27,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "tarnovo",
"kind": "capital",
"name": {
"bg": "Търново",
"en": "Tarnovo"
},
"altNames": [
{
"bg": "Царевград Търнов",
"en": "Tsarevgrad Tarnov"
},
{
"bg": "Търновград",
"en": "Trnovo"
},
{
"bg": "Велико Търново",
"en": "Veliko Tarnovo"
}
],
"modern": {
"bg": "Велико Търново, България",
"en": "Veliko Tarnovo, Bulgaria"
},
"lat": 43.083,
"lng": 25.65,
"role": {
"bg": "Столица на Второто българско царство от 1185 г. до превземането ѝ от османците през 1393 г.",
"en": "Capital of the Second Bulgarian Empire from 1185 until it fell to the Ottomans in 1393."
},
"rulers": [
"ivan-asen-i",
"petar-iv",
"kaloyan"
],
"battles": [
"battle-tarnovo-1393"
],
"manuscripts": [
"turnovo-inscription-ivan-asen"
],
"pages": [
"art-tarnovgrad",
"art-tsarski-dvorets"
],
"image": {
"url": "https://medievalbulgaria.com/images/places/tarnovo.webp",
"caption": {
"bg": "Пътят към Царевец, цитаделата на Търново, с патриаршеската църква на върха",
"en": "The approach to Tsarevets, Tarnovo's citadel, with the patriarchal church on the summit"
},
"author": "MrPanyGoff",
"licence": "CC BY-SA 3.0",
"source": "https://commons.wikimedia.org/wiki/File:Tsarevets_-_Veliko_Tarnovo_-_2.jpg"
},
"url": {
"en": "https://medievalbulgaria.com/places/tarnovo",
"bg": "https://medievalbulgaria.com/bg/places/tarnovo"
}
},
{
"id": "vidin",
"kind": "capital",
"name": {
"bg": "Видин",
"en": "Vidin"
},
"altNames": [
{
"bg": "Бдин",
"en": "Bdin"
},
{
"bg": "Бонония",
"en": "Bononia"
}
],
"modern": {
"bg": "Видин, България",
"en": "Vidin, Bulgaria"
},
"lat": 43.993,
"lng": 22.88,
"role": {
"bg": "Дунавска крепост, седалище на Видинското царство на Иван Срацимир до 1396 г.",
"en": "Danube stronghold, seat of Ivan Sratsimir's Vidin tsardom until 1396."
},
"rulers": [
"mihail-iii-shishman",
"ivan-sratsimir",
"konstantin-sratsimirov"
],
"battles": [],
"manuscripts": [
"bdin-miscellany"
],
"pages": [],
"image": {
"url": "https://medievalbulgaria.com/images/places/vidin.webp",
"caption": {
"bg": "Баба Вида — средновековната крепост на Видин на брега на Дунав",
"en": "Baba Vida, the medieval fortress of Vidin on the Danube"
},
"author": "Klearchos Kapoutsis from Paleo Faliro, Athens, Greece.",
"licence": "CC BY 2.0",
"source": "https://commons.wikimedia.org/wiki/File:Baba_Vida_Klearchos_1.jpg"
},
"url": {
"en": "https://medievalbulgaria.com/places/vidin",
"bg": "https://medievalbulgaria.com/bg/places/vidin"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/places.json
GET/places/{id}.jsonOne of places
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| kind | string |
| name | Bilingual |
| altNames | Bilingual[] |
| modern | Bilingual |
| lat | number |
| lng | number |
| role | Bilingual |
| rulers | string[] |
| battles | string[] |
| manuscripts | string[] |
| pages | string[] |
| image | object |
| image.url | string |
| image.caption | Bilingual |
| image.author | string |
| image.licence | string |
| image.source | string |
| url | Bilingual |
Example response
{
"id": "tarnovo",
"kind": "capital",
"name": {
"bg": "Търново",
"en": "Tarnovo"
},
"altNames": [
{
"bg": "Царевград Търнов",
"en": "Tsarevgrad Tarnov"
},
{
"bg": "Търновград",
"en": "Trnovo"
},
{
"bg": "Велико Търново",
"en": "Veliko Tarnovo"
}
],
"modern": {
"bg": "Велико Търново, България",
"en": "Veliko Tarnovo, Bulgaria"
},
"lat": 43.083,
"lng": 25.65,
"role": {
"bg": "Столица на Второто българско царство от 1185 г. до превземането ѝ от османците през 1393 г.",
"en": "Capital of the Second Bulgarian Empire from 1185 until it fell to the Ottomans in 1393."
},
"rulers": [
"ivan-asen-i",
"petar-iv",
"kaloyan"
],
"battles": [
"battle-tarnovo-1393"
],
"manuscripts": [
"turnovo-inscription-ivan-asen"
],
"pages": [
"art-tarnovgrad",
"art-tsarski-dvorets"
],
"image": {
"url": "https://medievalbulgaria.com/images/places/tarnovo.webp",
"caption": {
"bg": "Пътят към Царевец, цитаделата на Търново, с патриаршеската църква на върха",
"en": "The approach to Tsarevets, Tarnovo's citadel, with the patriarchal church on the summit"
},
"author": "MrPanyGoff",
"licence": "CC BY-SA 3.0",
"source": "https://commons.wikimedia.org/wiki/File:Tsarevets_-_Veliko_Tarnovo_-_2.jpg"
},
"url": {
"en": "https://medievalbulgaria.com/places/tarnovo",
"bg": "https://medievalbulgaria.com/bg/places/tarnovo"
}
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/places/tarnovo.json
Manuscripts
Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies.
GET/manuscripts.jsonAll manuscripts
Manuscripts and royal charters: dates, repositories, shelfmarks and links to digitised copies.
Responses
200The manuscripts datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "manuscripts" |
| count | integer |
| licence | Licence |
| items | ManuscriptsSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| kind | string |
| title | Bilingual |
| altTitles | Bilingual[] |
| date | Bilingual |
| yearFrom | integer |
| yearTo | integer |
| summary | Bilingual |
| language | any |
| material | any |
| extent | any |
| script | any |
| repository | any |
| shelfmark | string | null |
| city | any |
| digitalUrl | string | null |
| commonsUrl | string | null |
| rulers | string[] |
| places | object[] |
| places[].name | Bilingual |
| places[].modern | any |
| places[].note | any |
| url | Bilingual |
Example response
{
"dataset": "manuscripts",
"count": 26,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "london-gospel",
"kind": "gospel",
"title": {
"en": "Tetraevangelia of Tsar Ivan Alexander",
"bg": "Четвероевангелие на цар Иван Александър"
},
"altTitles": [
{
"en": "London Gospel",
"bg": "Лондонско евангелие"
}
],
"date": {
"en": "1355–1356",
"bg": "1355–1356 г."
},
"yearFrom": 1355,
"yearTo": 1356,
"summary": {
"en": "The most lavishly illuminated surviving Bulgarian manuscript, copied for Ivan Alexander and carrying portraits of the tsar and his family.",
"bg": "Най-богато украсеният запазен български ръкопис, преписан за Иван Александър, с портрети на царя и неговото семейство."
},
"language": {
"en": "Middle Bulgarian",
"bg": "среднобългарски"
},
"material": {
"en": "Parchment",
"bg": "пергамент"
},
"extent": {
"en": "286 folios, 366 miniatures",
"bg": "286 листа, 366 миниатюри"
},
"script": {
"en": "Uncial",
"bg": "устав"
},
"repository": {
"en": "British Library",
"bg": "Британска библиотека"
},
"shelfmark": "Add MS 39627",
"city": {
"en": "London",
"bg": "Лондон"
},
"digitalUrl": "https://www.bl.uk/manuscripts/Viewer.aspx?ref=add_ms_39627",
"commonsUrl": "https://commons.wikimedia.org/wiki/Category:Tetraevangelia_of_Ivan_Alexander",
"rulers": [
"ivan-aleksandar",
"sara-teodora",
"ivan-shishman"
],
"places": [],
"url": {
"en": "https://medievalbulgaria.com/manuscripts/london-gospel",
"bg": "https://medievalbulgaria.com/bg/manuscripts/london-gospel"
}
},
{
"id": "sofia-psalter",
"kind": "psalter",
"title": {
"en": "Sofia Psalter of Ivan Alexander",
"bg": "Софийски песнивец"
},
"altTitles": [
{
"en": "Song-book of Ivan Alexander",
"bg": "Псалтир на цар Иван Александър"
}
],
"date": {
"en": "1337",
"bg": "1337 г."
},
"yearFrom": 1337,
"yearTo": 1337,
"summary": {
"en": "A psalter copied for Ivan Alexander in 1337, with a eulogy of the tsar and his first family.",
"bg": "Псалтир, преписан за Иван Александър през 1337 г., с похвално слово за царя и първото му семейство."
},
"language": {
"en": "Middle Bulgarian",
"bg": "среднобългарски"
},
"material": {
"en": "Parchment",
"bg": "пергамент"
},
"extent": null,
"script": {
"en": "Uncial",
"bg": "устав"
},
"repository": {
"en": "SS Cyril and Methodius National Library",
"bg": "Национална библиотека „Св. св. Кирил и Методий“"
},
"shelfmark": "НБКМ 2",
"city": {
"en": "Sofia",
"bg": "София"
},
"digitalUrl": null,
"commonsUrl": "https://commons.wikimedia.org/wiki/Category:Sofia_Psalter",
"rulers": [
"ivan-aleksandar"
],
"places": [],
"url": {
"en": "https://medievalbulgaria.com/manuscripts/sofia-psalter",
"bg": "https://medievalbulgaria.com/bg/manuscripts/sofia-psalter"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/manuscripts.json
GET/manuscripts/{id}.jsonOne of manuscripts
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| kind | string |
| title | Bilingual |
| altTitles | Bilingual[] |
| date | Bilingual |
| yearFrom | integer |
| yearTo | integer |
| summary | Bilingual |
| language | any |
| material | any |
| extent | any |
| script | any |
| repository | any |
| shelfmark | string | null |
| city | any |
| digitalUrl | string | null |
| commonsUrl | string | null |
| rulers | string[] |
| places | object[] |
| places[].name | Bilingual |
| places[].modern | any |
| places[].note | any |
| url | Bilingual |
Example response
{
"id": "london-gospel",
"kind": "gospel",
"title": {
"en": "Tetraevangelia of Tsar Ivan Alexander",
"bg": "Четвероевангелие на цар Иван Александър"
},
"altTitles": [
{
"en": "London Gospel",
"bg": "Лондонско евангелие"
}
],
"date": {
"en": "1355–1356",
"bg": "1355–1356 г."
},
"yearFrom": 1355,
"yearTo": 1356,
"summary": {
"en": "The most lavishly illuminated surviving Bulgarian manuscript, copied for Ivan Alexander and carrying portraits of the tsar and his family.",
"bg": "Най-богато украсеният запазен български ръкопис, преписан за Иван Александър, с портрети на царя и неговото семейство."
},
"language": {
"en": "Middle Bulgarian",
"bg": "среднобългарски"
},
"material": {
"en": "Parchment",
"bg": "пергамент"
},
"extent": {
"en": "286 folios, 366 miniatures",
"bg": "286 листа, 366 миниатюри"
},
"script": {
"en": "Uncial",
"bg": "устав"
},
"repository": {
"en": "British Library",
"bg": "Британска библиотека"
},
"shelfmark": "Add MS 39627",
"city": {
"en": "London",
"bg": "Лондон"
},
"digitalUrl": "https://www.bl.uk/manuscripts/Viewer.aspx?ref=add_ms_39627",
"commonsUrl": "https://commons.wikimedia.org/wiki/Category:Tetraevangelia_of_Ivan_Alexander",
"rulers": [
"ivan-aleksandar",
"sara-teodora",
"ivan-shishman"
],
"places": [],
"url": {
"en": "https://medievalbulgaria.com/manuscripts/london-gospel",
"bg": "https://medievalbulgaria.com/bg/manuscripts/london-gospel"
}
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/manuscripts/london-gospel.json
Events
The dated events of the timeline.
GET/events.jsonAll events
The dated events of the timeline.
Responses
200The events datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "events" |
| count | integer |
| licence | Licence |
| items | EventsSummary[] |
Each entry of items
Example response
{
"dataset": "events",
"count": 24,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "1230-01-06",
"year": 1230,
"month": 1,
"day": 6,
"title": {
"bg": "Иван Асен II тръгва на поход срещу Епирското деспотство",
"en": "Ivan Asen II Launches Campaign Against the Despotate of Epirus"
},
"description": {
"bg": "В началото на 1230 г. цар Иван Асен II потегля начело на войската си срещу Теодор Комнин Дука, деспот на Епир. Походът ще завърши с решаващата битка при Клокот…",
"en": "In early 1230, Tsar Ivan Asen II marched at the head of his army against Theodore Komnenos Doukas, Despot of Epirus. The campaign would culminate in the decisi…"
},
"url": {
"en": "https://medievalbulgaria.com/timeline",
"bg": "https://medievalbulgaria.com/bg/timeline"
}
},
{
"id": "1277-01-20",
"year": 1277,
"month": 1,
"day": 20,
"title": {
"bg": "Въстанието на Ивайло",
"en": "The Uprising of Ivaylo"
},
"description": {
"bg": "Свинарят Ивайло вдига въстание срещу феодалното потисничество и корумпираните боляри. Движен от народното недоволство, той побеждава татарски и византийски отр…",
"en": "The swineherd Ivaylo launched an uprising against feudal oppression and corrupt boyars. Driven by popular discontent, he defeated Tatar and Byzantine forces an…"
},
"url": {
"en": "https://medievalbulgaria.com/timeline",
"bg": "https://medievalbulgaria.com/bg/timeline"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/events.json
Glossary
Offices, titles, institutions and terms, defined in both languages.
GET/glossary.jsonAll glossary
Offices, titles, institutions and terms, defined in both languages.
Responses
200The glossary datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "glossary" |
| count | integer |
| licence | Licence |
| items | GlossarySummary[] |
Each entry of items
Example response
{
"dataset": "glossary",
"count": 53,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "sevast",
"category": "office",
"term": {
"en": "sevast",
"bg": "севаст"
},
"definition": {
"en": "An honorary rank rather than a salaried post: its holder belonged to the class of provincial nobles and dynasts and had the right to judge, to fine and to coll…",
"bg": "Почетно звание, а не платена служба: носителят му принадлежал към съсловието на провинциалните боляри и династи и имал право да съди, да глобява и да събира да…"
}
},
{
"id": "praktor",
"category": "office",
"term": {
"en": "praktor",
"bg": "практор"
},
"definition": {
"en": "A tax-collector and fiscal official, often with judicial power, who could also farm the tax; praktors came into the villages with an armed escort.",
"bg": "Данъчен чиновник и бирник, често със съдебна власт, който можел и да откупва данъка; практорите идвали в селата със стража."
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/glossary.json
Map periods
The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON.
GET/map-periods.jsonAll map-periods
The nine atlas snapshots, each realm's ruler and situation, and a link to the boundaries as GeoJSON.
Responses
200The map-periods datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "map-periods" |
| count | integer |
| licence | Licence |
| items | MapPeriodsSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| year | integer |
| label | Bilingual |
| description | Bilingual |
| realms | object[] |
| realms[].name | Bilingual |
| realms[].fill | string |
| realms[].ruler | Bilingual |
| realms[].situation | Bilingual |
| realms[].bulgariaLink | Bilingual |
| realms[].evidence | object[] |
| realms[].evidence[].source | string |
| realms[].evidence[].page | integer |
| realms[].evidence[].url | string |
| geojson | string |
| url | Bilingual |
Example response
{
"dataset": "map-periods",
"count": 9,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "1186",
"year": 1186,
"label": {
"bg": "Възстановяване на царството (1186)",
"en": "Restoration of the Empire (1186)"
},
"description": {
"bg": "Въстанието на Асен и Петър (1185) възстановява българската държавност. Към 1186 г. се оформя царство около Търново на североизток, докато Византия още владее п…",
"en": "The 1185 uprising of the brothers Asen and Peter restores Bulgarian statehood. By 1186 a realm forms around Tarnovo in the north-east, while Byzantium still ho…"
},
"realms": [
{
"name": {
"bg": "Bulgaria",
"en": "Bulgaria"
},
"fill": "bulgaria",
"ruler": {
"bg": "Асен и Петър",
"en": "Asen & Peter"
},
"situation": {
"bg": "През 1186 г. България била управлявана съвместно от братята Асен и Петър, които през пролетта на същата година провъзгласили възобновяването на Българското цар…",
"en": "In 1186 Bulgaria was ruled jointly by the brothers Asen and Peter, who proclaimed the restoration of the Bulgarian Empire in the spring of that year. The state…"
},
"bulgariaLink": {
"bg": "",
"en": ""
},
"evidence": [
{
"source": "bozhilov-gyuzelev-medieval-bulgaria",
"page": 607,
"url": "https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"
},
{
"source": "bozhilov-gyuzelev-medieval-bulgaria",
"page": 775,
"url": "https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria"
},
{
"source": "bozhilov-asen-family",
"page": 28,
"url": "https://medievalbulgaria.com/sources/bozhilov-asen-family"
}
]
},
{
"name": {
"bg": "Byzantine Empire",
"en": "Byzantine Empire"
},
"fill": "byzantine",
"ruler": {
"bg": "Исаак II Ангел",
"en": "Isaac II Angelos"
},
"situation": {
"bg": "През 1186 г. Византийската империя била управлявана от император Исаак II Ангел. Империята била в упадък, след като през 1185 г. загубила ключови територии кат…",
"en": "In 1186 the Byzantine Empire was ruled by Emperor Isaac II Angelos. The empire was in decline, having lost key territories such as Thessaloniki, Corfu, and Dur…"
},
"bulgariaLink": {
"bg": "Византийската империя имала обща граница с новообявената българска държава, която започнала въстанието си през 1186 г. Империята се сблъсквала с конкуренция и …",
"en": "The Byzantine Empire shared a border with the newly re-established Bulgarian state, which had begun its uprising in 1186. The empire faced rivalry and territor…"
},
"evidence": []
},
{
"name": {
"bg": "Serbia",
"en": "Serbia"
},
"fill": "serbia",
"ruler": {
"bg": "Стефан Немања",
"en": "Stefan Nemanja"
},
"situation": {
"bg": "През 1186 г. Сърбия била управлявана от Стефан Немања като велик жупан. Въпреки че номинално бил васал на Византия, Немања фактически управлявал независимо и з…",
"en": "In 1186 Serbia was ruled by Stefan Nemanja as Grand Župan. Although nominally a Byzantine vassal, Nemanja effectively governed independently and expanded Serbi…"
},
"bulgariaLink": {
"bg": "През 1186 г. Сърбия имала обща граница с възстановената българска държава, която току-що била обявила възраждането си. Няма сведения за пряк конфликт или съюз …",
"en": "In 1186 Serbia shared a border with the re-emerging Bulgarian state, which had just proclaimed its restoration. There was no direct conflict or alliance record…"
},
"evidence": [
{
"source": "fine-late-medieval-balkans",
"page": 25,
"url": "https://medievalbulgaria.com/sources/fine-late-medieval-balkans"
},
{
"source": "fine-late-medieval-balkans",
"page": 25,
"url": "https://medievalbulgaria.com/sources/fine-late-medieval-balkans"
}
]
}
],
"geojson": "https://medievalbulgaria.com/data/v1/territories/1186.geojson",
"url": {
"en": "https://medievalbulgaria.com/map#1186",
"bg": "https://medievalbulgaria.com/bg/map#1186"
}
},
{
"id": "1205",
"year": 1205,
"label": {
"bg": "Възходът на Калоян (1205)",
"en": "Kaloyan's Ascendancy (1205)"
},
"description": {
"bg": "Цар Калоян разгромява латинците при Одрин (1205), след като Четвъртият кръстоносен поход заменя Византия с Латинската империя в Константинопол. България се раз…",
"en": "Tsar Kaloyan crushes the Latins at Adrianople (1205) after the Fourth Crusade replaced Byzantium with the Latin Empire in Constantinople. Bulgaria expands acro…"
},
"realms": [
{
"name": {
"bg": "Bulgaria",
"en": "Bulgaria"
},
"fill": "bulgaria",
"ruler": {
"bg": "Калоян",
"en": "Kaloyan"
},
"situation": {
"bg": "През 1205 г. България била управлявана от цар Калоян, който командвал многоетническа армия от българи, гърци и кумани. Държавата била в период на военна експан…",
"en": "In 1205 Bulgaria was ruled by Tsar Kaloyan, who led a multi-ethnic army composed of Bulgarians, Greeks, and Cumans. The state was in a phase of military expans…"
},
"bulgariaLink": {
"bg": "",
"en": ""
},
"evidence": []
},
{
"name": {
"bg": "Latin Empire",
"en": "Latin Empire"
},
"fill": "latin",
"ruler": {
"bg": "Анри Фландърски",
"en": "Henry of Flanders"
},
"situation": {
"bg": "През 1205 г. Латинската империя била управлявана от император Анри Фландърски, който наследил брат си Балдуин след неговото пленяване и изчезване след българск…",
"en": "In 1205 the Latin Empire was ruled by Emperor Henry of Flanders, who had succeeded his brother Baldwin after the latter's capture and disappearance following a…"
},
"bulgariaLink": {
"bg": "През 1205 г. Латинската империя била във война с България. Българският цар Калоян нанёс тежки загуби на латинците и пленил император Балдуин, който никога пове…",
"en": "In 1205 the Latin Empire was at war with Bulgaria. Bulgarian Emperor Kaloyan inflicted severe casualties on the Latins and captured Emperor Baldwin, who was ne…"
},
"evidence": []
},
{
"name": {
"bg": "Empire of Nicaea",
"en": "Empire of Nicaea"
},
"fill": "byzantine",
"ruler": {
"bg": "Теодор I Ласкарис",
"en": "Theodore I Laskaris"
},
"situation": {
"bg": "През 1205 г. Империята на Никея била управлявана от император Теодор I Ласкарис, който създал византийска гръцка държава в изгнание след падането на Цариград п…",
"en": "In 1205 the Empire of Nicaea was ruled by Emperor Theodore I Laskaris, who had established a Byzantine Greek state in exile after the fall of Constantinople to…"
},
"bulgariaLink": {
"bg": "През 1205 г. Империята на Никея била въвлечена в косвено съперничество с Българската империя, която разгромила латинския император Балдуин I при Одрин и го пле…",
"en": "In 1205 the Empire of Nicaea was engaged in indirect rivalry with the Bulgarian Empire, which had defeated the Latin Emperor Baldwin I at Adrianople and captur…"
},
"evidence": []
}
],
"geojson": "https://medievalbulgaria.com/data/v1/territories/1205.geojson",
"url": {
"en": "https://medievalbulgaria.com/map#1205",
"bg": "https://medievalbulgaria.com/bg/map#1205"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/map-periods.json
Pages
Every article on the site: metadata and citations in the list, full Markdown body per record.
GET/pages.jsonAll pages
Every article on the site: metadata and citations in the list, full Markdown body per record.
Responses
200The pages datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "pages" |
| count | integer |
| licence | Licence |
| items | PagesSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| type | string |
| title | Bilingual |
| summary | Bilingual |
| readingLevels | string[] |
| citations | object[] |
| citations[].source | string |
| citations[].page | integer |
| citations[].url | string |
| url | Bilingual |
Example response
{
"dataset": "pages",
"count": 179,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "art-skulptura",
"type": "art",
"title": {
"bg": "Скулптурата",
"en": "Sculpture"
},
"summary": {
"bg": "Средновековната българска скулптура от периода на Второто българско царство (XII–XIV в.) е представена с ограничен брой археологически находки, които обаче са …",
"en": "Medieval Bulgarian sculpture from the Second Bulgarian Empire (12th–14th centuries) is known from a relatively small number of archaeological finds, which none…"
},
"readingLevels": [
"scholar"
],
"citations": [
{
"source": "ovcharov-material-culture",
"page": 129,
"url": "https://medievalbulgaria.com/sources/ovcharov-material-culture"
}
],
"url": {
"en": "https://medievalbulgaria.com/art/art-skulptura",
"bg": "https://medievalbulgaria.com/bg/art/art-skulptura"
}
},
{
"id": "art-srednovekoven-grad",
"type": "art",
"title": {
"bg": "Средновековният български град",
"en": "The Medieval Bulgarian Town"
},
"summary": {
"bg": "Средновековният български град през Второто българско царство (XII–XIV в.) представлява комплекс от укрепени политически, икономически и културни центрове, изг…",
"en": "The medieval Bulgarian city during the Second Bulgarian Empire (12th–14th centuries) was a complex of fortified political, economic, and cultural centers built…"
},
"readingLevels": [
"scholar"
],
"citations": [
{
"source": "ovcharov-material-culture",
"page": 8,
"url": "https://medievalbulgaria.com/sources/ovcharov-material-culture"
}
],
"url": {
"en": "https://medievalbulgaria.com/art/art-srednovekoven-grad",
"bg": "https://medievalbulgaria.com/bg/art/art-srednovekoven-grad"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/pages.json
GET/pages/{id}.jsonOne of pages
The full record. The list endpoint carries a summary of each; this carries every field.
Parameters
| Field | Type | Description |
|---|---|---|
| id | string | The record id, the same slug the site uses in its URL |
Responses
200The recordapplication/json
404No such idtext/plain
Fields
| Field | Type |
|---|---|
| id | string |
| type | string |
| title | Bilingual |
| summary | Bilingual |
| readingLevels | string[] |
| citations | object[] |
| citations[].source | string |
| citations[].page | integer |
| citations[].url | string |
| url | Bilingual |
| aliases | object |
| aliases.bg | string[] |
| aliases.en | string[] |
| keyEvents | object |
| keyEvents.bg | string[] |
| keyEvents.en | string[] |
| keyPeople | object |
| keyPeople.bg | string[] |
| keyPeople.en | string[] |
| body | object |
| body.scholar | Bilingual |
| body.reader | any |
| body.simple | any |
Example response
{
"id": "art-skulptura",
"type": "art",
"title": {
"bg": "Скулптурата",
"en": "Sculpture"
},
"summary": {
"bg": "Средновековната българска скулптура от периода на Второто българско царство (XII–XIV в.) е представена с ограничен брой археологически находки, които обаче са …",
"en": "Medieval Bulgarian sculpture from the Second Bulgarian Empire (12th–14th centuries) is known from a relatively small number of archaeological finds, which none…"
},
"readingLevels": [
"scholar"
],
"citations": [
{
"source": "ovcharov-material-culture",
"page": 129,
"url": "https://medievalbulgaria.com/sources/ovcharov-material-culture"
}
],
"url": {
"en": "https://medievalbulgaria.com/art/art-skulptura",
"bg": "https://medievalbulgaria.com/bg/art/art-skulptura"
},
"aliases": {
"bg": [],
"en": []
},
"keyEvents": {
"bg": [],
"en": []
},
"keyPeople": {
"bg": [
"Татяна Силяновска-Новикова",
"Тодор Герасимов",
"Никола Мавродинов"
],
"en": []
},
"body": {
"scholar": {
"bg": "## Релефна скулптура в Търновград и други средновековни центрове\n\nПрез XII–XIV век, в периода на Второто българско царство, след въстанието от 1185–1187 г. и п…",
"en": "## Relief Sculpture in Tarnovgrad and Other Medieval Centers\n\nDuring the 12th to 14th centuries, in the period of the Second Bulgarian Empire, following the up…"
},
"reader": null,
"simple": null
}
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/pages/art-skulptura.json
Sources
The bibliography the site is built from.
GET/sources.jsonAll sources
The bibliography the site is built from.
Responses
200The sources datasetapplication/json
Fields
| Field | Type |
|---|---|
| dataset | "sources" |
| count | integer |
| licence | Licence |
| items | SourcesSummary[] |
Each entry of items
| Field | Type |
|---|---|
| id | string |
| authors | Bilingual[] |
| title | Bilingual |
| language | string |
| publisher | any |
| place | Bilingual |
| year | integer |
| edition | any |
| isbn | string | null |
| about | Bilingual |
| url | Bilingual |
Example response
{
"dataset": "sources",
"count": 11,
"licence": {
"data": "CC BY 4.0",
"dataUrl": "https://creativecommons.org/licenses/by/4.0/",
"attribution": "The Second Bulgarian Empire (medievalbulgaria.com)"
},
"items": [
{
"id": "bozhilov-asen-family",
"authors": [
{
"bg": "Иван Божилов",
"en": "Ivan Bozhilov"
}
],
"title": {
"bg": "Фамилията на Асеневци (1186–1460). Генеалогия и просопография",
"en": "The Asen Family (1186–1460): Genealogy and Prosopography"
},
"language": "bg",
"publisher": {
"bg": "Издателство на БАН „Марин Дринов“",
"en": "Marin Drinov Academic Publishing House"
},
"place": {
"bg": "София",
"en": "Sofia"
},
"year": 1994,
"edition": {
"bg": "второ фототипно издание (първо издание 1985)",
"en": "2nd facsimile edition (first edition 1985)"
},
"isbn": "954-430-264-6",
"about": {
"bg": "Каталог на всички известни членове на династията Асеневци — кой кой е, с кого е бил женен и какво казват изворите за него. Основата на родословното дърво и на …",
"en": "A catalogue of every known member of the Asen dynasty — who they were, whom they married and what the sources say of them. The backbone of the family tree and …"
},
"url": {
"en": "https://medievalbulgaria.com/sources/bozhilov-asen-family",
"bg": "https://medievalbulgaria.com/bg/sources/bozhilov-asen-family"
}
},
{
"id": "bozhilov-gyuzelev-medieval-bulgaria",
"authors": [
{
"bg": "Иван Божилов",
"en": "Ivan Bozhilov"
},
{
"bg": "Васил Гюзелев",
"en": "Vasil Gyuzelev"
}
],
"title": {
"bg": "История на средновековна България VII–XIV век",
"en": "History of Medieval Bulgaria, 7th–14th Century"
},
"language": "bg",
"publisher": {
"bg": "Анубис",
"en": "Anubis"
},
"place": {
"bg": "София",
"en": "Sofia"
},
"year": 1999,
"edition": {
"bg": "„История на България“ в три тома, том първи",
"en": "History of Bulgaria in three volumes, vol. 1"
},
"isbn": null,
"about": {
"bg": "Повествователната история на средновековна България от появата на българите до края на XIV век. Гръбнакът на историята по глави и на хронологията.",
"en": "The narrative history of medieval Bulgaria from the first mention of the Bulgars to the end of the fourteenth century. The backbone of the chaptered history an…"
},
"url": {
"en": "https://medievalbulgaria.com/sources/bozhilov-gyuzelev-medieval-bulgaria",
"bg": "https://medievalbulgaria.com/bg/sources/bozhilov-gyuzelev-medieval-bulgaria"
}
}
]
}Long strings are shortened here; the real response carries them in full.
Try it
GET https://medievalbulgaria.com/data/v1/sources.json
Territories
Political boundaries of the Balkans, one GeoJSON file per atlas year.
GET/territories/{year}.geojsonBoundaries in one atlas year
A FeatureCollection with one MultiPolygon per realm. Each feature's properties carry the realm's id, bilingual name, ruler and situation in that year.
Parameters
| Field | Type | Description |
|---|---|---|
| year | integer | One of: 1186, 1205, 1230, 1261, 1300, 1331, 1355, 1371, 1396 |
Responses
200A GeoJSON FeatureCollectionapplication/geo+json
Fields
| Field | Type |
|---|---|
| typeoptional | "FeatureCollection" |
| featuresoptional | object[] |
Try it
GET https://medievalbulgaria.com/data/v1/territories/1186.geojson
Export
Whole datasets as CSV (UTF-8 with BOM) or GeoJSON.
GET/export/{file}A bulk export
Files: rulers.csv (129 rows), battles.csv (15 rows), battle-record.csv (161 rows), coins.csv (114 rows), places.csv (27 rows), events.csv (24 rows), glossary.csv (53 rows), pages.csv (179 rows), statistics-armies.csv (54 rows), statistics-reigns.csv (21 rows), statistics-marriages.csv (25 rows), statistics-sums.csv (14 rows), statistics-population.csv (8 rows), statistics-fortresses.csv (15 rows), statistics-disputes.csv (29 rows), places.geojson (27 rows), battles.geojson (15 rows). The columns of each are listed in index.json.
Parameters
| Field | Type | Description |
|---|---|---|
| file | string | One of: rulers.csv, battles.csv, battle-record.csv, coins.csv, places.csv, events.csv, glossary.csv, pages.csv, statistics-armies.csv, statistics-reigns.csv, statistics-marriages.csv, statistics-sums.csv, statistics-population.csv, statistics-fortresses.csv, statistics-disputes.csv, places.geojson, battles.geojson |
Responses
200CSV (UTF-8 with BOM) or GeoJSONtext/csvapplication/geo+json
Try it
GET https://medievalbulgaria.com/data/v1/export/rulers.csv
Shared shapes
Objects that recur across the datasets. A field table above links here when a field has one of these shapes.
Bilingual
Text in both languages. A side can be null when it has not been written.
| Field | Type |
|---|---|
| bgoptional | string | null |
| enoptional | string | null |