How to earn by 0x API?

hi, trying to make a DEX app using 0x API, I just want to know can I earn some money if any users swap tokens on my DEX? if yes then how? (any example or explanation?). Please prove me an example so I can work on it.