Keep track of nft owned for a specific contract

Hello! There is a way to keep track in moralis server of the nfts owned by an account only for a single contract?

You can use getnftsforcontract function to check that data
https://docs.moralis.io/moralis-dapp/web3-api/nft-api#getnftsforcontract

Yes but i want it to be fetched from moralis server and not from the client

You are looking to get the NFT’s of only particular contract from database or for all the NFT’s owned by a wallet?

I think you can check the sync-and-watch-address feature in server.
It syncs the NFT transactions of the wallet address and you will need to filter out the NFT’s based on the contract and the latest transaction of NFT Id.