How to do market research

I’m a service provider who has experience providing my service through other peoples agencies and businesses, but I want to start providing it directly to clients but I am not sure what to charge… how do I do the market research? I’ve been trying to find the answer to this question for years and can’t seem to find the answer and remain unsure of what the value is or how to measure the value of the service I’m providing.