get https://api.simplehash.com/api/v0/nfts/owners_v2?chains=&wallet_addresses=
This advanced version of the NFTs by Wallet(s) endpoint adds many filtering and sorting capabilities.
To supply multiple values, provide them comma separated in the query params, e.g., chains=polygon,ethereum&wallet_addresses=0xa12,0xb34. ENS addresses can also be provided for the wallet_addresses.
NFT sorting can be customized, but by default they are sorted by most recently acquired to least recently acquired.