There are a couple of ways, both requiring filtering on the client side.
The method we often use is to call the list-access-request-status API endpoint, using the requested-for query parameter populated with the identity Id, and using the -created value for the sorters query parameter.
Then you’ll have to filter the response array, the name property matches the name of the access that was requested, and the state property tells you the status of the access request.
If you want to drill further, the accessRequestId property is the account activity Id