You don't need rails-api to have a Rails Api. rails-api is only for when you ONLY want a rails-api with no rendering.
Read into using respond_with
, active_model_serializers or rabl --- and you'll be able to have a JSON API as well as a normal Rails app.