Check out the RouteServiceProvider class and the Kernel class. You can define your own "route files" with an own namespace and own middlewares.
The controllers work the same but (by default) the API controllers don't have a session middleware activated for example. They are used for RESTful API requests. But you can change that all how you like.
It's not about the controllers though, only about the things around it (middlewares, authentication etc)