Cut down db requests on API