ekrm the limit is defined by the ListDiscussionsController which itself inherits the default value from AbstractSerializeController
You can modify it using the ApiController::setLimit() extender https://github.com/flarum/core/blob/v0.1.0-beta.15/src/Extend/ApiController.php#L156
It will look something like this:
<?php
use Flarum\Extend;
return [
(new Extend\ApiController(\Flarum\Api\Controller\ListDiscussionsController::class))
->setLimit(5),
];
Unfortunately it seems that the data preloading has a hard-coded value here https://github.com/flarum/core/blob/v0.1.0-beta.15/src/Forum/Content/Index.php#L79 so the code above would only apply to loading the homepage from another page, but not as the first page.
I'm not sure if there's a way to work around this. We should probably fix this in Flarum, because it creates inconsistent results. I'm not sure why we even specify a limit in Content\Index when the frontend itself doesn't specify a limit in its API requests.