Gender by blood test?

Ashley • Miscarriage 2/2018* Rainbow baby due 9/2019🌈❤️🥰

Has anyone got a blood test done before and be accurate or not be accurate by the sonogram ? I’m 13 weeks and wanna do a blood test but I heard sometimes it isn’t accurate.