Hello, is there an query API for the 5e SRD that will return the results in json?
Open and community-driven. Our goal is to provide a resource that the whole community can freely use. Anyone can apply to help edit the Compendium and keep it up to date, and all of our data is freely available in JSON format; for example, here’s the Fireball entry: https://app.roll20.net/compendium/dnd5e/Fireball.json. So the next time someone wants to build a tool like an encounter builder or a spell list, they can pull from this data quickly and easily.
https://roll20.net/compendium/compendium/globalsearch/dnd5e?terms=misty
[{"value":"Misty Step","category":"Spells","pagename":"Misty Step","score":10,"pageid":11483,"groupbyvalue":"Misty Step"},{"value":"Misty Visions","category":"Classes","pagename":"Warlock","score":7,"pageid":5209,"groupbyvalue":"Misty Visions"}]
https://roll20.net/compendium/dnd5e/{category}:{pagename}.jsonWhat more are you looking for?
name: "Wizard Spells by Name",
id: 7047,
content: "{{SearchIndex|Category:Spells Classes:*Wizard|Summarize,AdditionalAttributes:School,}}",
data: {