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": "Krrot",
    "KoboldSurname": "",
    "KoboldOrigin": "The pit of Mopporprot",
    "KoboldColor": "red",
    "SpecialTrait": "speaks to himself",
    "KoboldKinship": "nephew of the brother of the uncle of Krubal",
    "KoboldDish": "caracal smoothie Grandpa kenny style",
    "KoboldStory": "the egg of Krrot was laid in a place known as The pit of Mopporprot, its scales were red. Its clan lived with breeding ofthe hippocampi ofthe the land of Bashwosportoro. A war broke out between Krrot's clan and the pigslets of the the glacier of Zlomprotyonkrolu. Hostilities continued until young Krrot, was launched with a catapult by its nephew but managed to burn the last ofthe unicorns. Krrot's clan came out of it covered in metal, even though no bell ringer survived. Having reached adulthood toldthe Breath it wanted to follow the example of the brother-in-law of the uncle of its a neighbor from next door and become a apprentice barbarian even if secretly it would have wanted to become a cobbler.",
    "KoboldJob": "barbarian"
}
language=it — Italian
{
    "KoboldName": "Korkru",
    "KoboldSurname": "",
    "KoboldOrigin": "Protblashtrogu",
    "KoboldColor": "cremisi e bianco",
    "SpecialTrait": "parla da solo",
    "KoboldKinship": "secondo cugino da parte di madre della cugina di quarto grado del genero del cugino di terzo grado di Stupido idiota",
    "KoboldDish": "brodo di felino alla Stupido idiota",
    "KoboldStory": "un luogo conosciuto come Protblashtrogu vide la schiusa della covata di Korkru, appena nato le sue scaglie erano blu col tempo divennero cremisi e bianco. Dopo anni pieni di gatti tutto il suo clan venne mangiato dai fabbricatori di gorilla nella nebbia. Una scaramuccia scoppiò tra il clan di Korkru e gli yeti dello la spiaggia di Forzwol. Le ostilità continuarono fino a quando il giovane Korkru, fu aiutato da suo un vicino di casa ma riuscì a far impazzire l'ultimo degli slaad del il ghiacciaio di Zordorwosa. Il clan di Korkru ne uscì sparpagliato. Poco prima di raggiungere la maggiore età disse a tutti di voler fuggire per essere un vero campanaro.",
    "KoboldJob": "campanaro"
}

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.