You can pull characters from the generators with a link. Paste it into a browser, or call it from your own page or script.
https://purplesorcerer.com/api.php?gen=party&format=text&n=1
That link rolls one 0-level DCC character and shows it as text.
gen names the generator.
format is text, json, or csv. Leave it off and you get JSON. JSON downloads as characters.json. CSV downloads as characters.csv. Text shows the characters in the browser.
n is how many characters you want. You can ask for up to 50. Leave it off and you get one.
Text follows n on every generator. JSON and CSV follow n on DCC upper, Lankhmar, MCC upper, and Weird Frontiers upper. On the other generators, JSON and CSV come back as the usual 500-character file. That still counts as one call.
On an upper-level generator, lv sets the level from 1 to 10. Leave it off and that generator rolls 1st level. The class is rolled at random. A 0-level generator ignores lv.
One 3rd-level DCC character, as text:
https://purplesorcerer.com/api.php?gen=upper&format=text&n=1&lv=3
Each address gets 60 calls an hour. After that, the next call comes back with {"ok":false,"error":"limit"} until the hour is up.
A generator name that is not in the list comes back with {"ok":false,"error":"generator"}. A format that is not text, json, or csv comes back with {"ok":false,"error":"format"}.
Let me know of any strangeness. :)