Seconding @Jep, it really doesn't make sense to expect any old remote query of a transactional db, with the additonal overhead of a Web API, to perform acceptably. For some queries yeah, but for others you want your dashboard to be querying a data warehouse. Maintain that warehouse yourself using scheduled data dumps.