What?
Ecstasy is MDMA. It doesn't have 'ingredients', it's just one drug.
If you're asking whether MDMA pills may have ibuprofen or aspirin in there as a contaminant / cut / filler, I'd say generally probably not, but I'm sure it happens. There's no real way to know short of sending it to a lab.