Put the API on its own endpoint

[ci skip]