Blood test to determine gender?

Can you opt to get the blood test that will also tell you baby’s gender. I know it looks for other things too. Do you need a medical reason to get the test or can you just ask for it, if you’re willing to pay for it? Its just a question, don’t be rude please.