Web API and Web Server

Right now we have your API and Web Server on two different boxes.  What I would like to know is if there is any reason that we cannot have them both on the same server?