Is there any API available to find users which has no commits/PR activities in specific date range

I am trying to find of users who dont have any commits / pull-request activities in specific date range but not getting any API in document.