tracks all API requests