An API server uisng dmode