Read only API access to the database