Kobold As A Service

A procedural generation HTTP API that conjures whimsical Kobold RPG character sheets on demand. Every name, origin, and backstory is woven from Polygen grammars — fetch a fresh kobold with a single request.

Call the API

Send a POST request to /api/generate-kobold and get a complete character sheet back. Pick your language:

Rate limit: 1 request per second per IP. Excess requests receive a 429 Too Many Requests response.

Need to exceed the rate limit? Add an X-Bypass-Key header with a pre-shared secret configured on the server to skip throttling entirely. Contact the operator to request a key.

use GuzzleHttp\Client;

$client = new Client();

$response = $client->post('https://kaas.procionegobbo.it/api/generate-kobold', [
    'json' => ['language' => 'en'],
]);

$kobold = json_decode((string) $response->getBody(), true);

Sample Output

Every field is generated live by the Polygen grammar engine and changes on each page load. Currently available languages: English (en) and Italian (it).

language=en — English
{
    "KoboldName": "Aurkyr",
    "KoboldSurname": "Girrandy",
    "KoboldOrigin": "Trogforwosdoro",
    "KoboldColor": "violet",
    "SpecialTrait": "has a double tail hairy",
    "KoboldKinship": "cousin of third degree on mother's side of the father of Krubal",
    "KoboldDish": "cat angora porchetta style with vegetables sautéed",
    "KoboldStory": "a place known as Trogforwosdoro witnessed the hatching of the egg of Aurkyr, just hatched its scales were of a hairy crystal of ice in a few months became violet. Its clan lived off hunting. A war broke out between Aurkyr's clan and the elves sea. Hostilities continued until young Aurkyr, was launched with a catapult by its son but managed to corrupt the last ofthe earthworms ofthe the land of For. Aurkyr's clan came out of it glittering, even though no farmer survived. Just before reaching adulthood toldits acquaintances it wanted to escape and become a apprentice arcanist even if secretly it would have preferred to pretend to be a barbarian at random.",
    "KoboldJob": "arcanist"
}
language=it — Italian
{
    "KoboldName": "Kandurk",
    "KoboldSurname": "",
    "KoboldOrigin": "La spiaggia di Torfor",
    "KoboldColor": "vermiglio",
    "SpecialTrait": "crede di parlare sempre sottovoce",
    "KoboldKinship": "un vicino di casa della sorella di Stupido idiota",
    "KoboldDish": "omelette di gatto persiano con alloro e cardamomo",
    "KoboldStory": "Kandurk uscì dall'uovo in un luogo conosciuto come La spiaggia di Torfor, appena nato le sue scaglie erano vermiglio. Dopo anni pieni di gatti una parte del suo clan venne sterminato dagli hobbit. Una guerra scoppiò tra il clan di Kandurk e i goblin del lo zoo di Tortorblashpori. Le ostilità continuarono fino a quando il giovane Kandurk, fu aiutato da suo figlio ma riuscì a bruciare l'ultimo degli elfi dei boschi dello le caverne di Mopzlomtrog. Il clan di Kandurk ne uscì sterminato, anche se nessun mago se ne lamentò. Raggiunta la maggiore età disse a una persona a caso di voler seguire la carriera del genero di suo secondo cugino acquisito di secondo grado da parte di madre e essere un vero falegname anche se segretamente avrebbe voluto diventare un cuoco.",
    "KoboldJob": "falegname"
}

Standing on the shoulders of Kobolds

KAAS is powered by polygen-php, a PHP port of the original Polygen by Ulisse Spanò. The project was inspired by the tabletop adventures and podcasts of FumbleGDR — they don't ship a character generator, but their stories sparked the idea for this one.