Cocamide is a mixture of amides manufactured from the fatty acids obtained from coconut oil. As coconut oil contains about 50% of lauric acid, in formulas only the 12-carbon chains tend to be considered.
The compounds of every Wikipedia article carrying a Chembox or a Drugbox, refreshed daily, with the values their infoboxes give. The pages need JavaScript; the API does not.