Melatonin and caffeine topical serum

Has anyone managed to find a place that sells topical caffeine and or melatonin for the use of androgenic alopecia? Or has anyone had any luck with creating their own solution.