For marketcap you need supply and token price.
We don’t have supply, but you can get the token price using our APIs. Check this thread.
Trading Volume uses the following queries.
Pancake Trade Volume for different currency pairs
Pancake Pool's volume for a date (change smart contract address based on your need, if you need a token’s trading volume, then replace contract with token’s smart contract)