Pyrazoles are highly versatile and find applications in various industries including chemicals, pharmaceuticals, polymers, medications, and agriculture. Pyrazoles and their analogues exhibit a range of biological activities, including anti-inflammatory, anti-tuberculosis, antibacterial, antifungal, anti-cancer, and anti-diabetic effects. In this context, this investigation focuses on the synthesis of pyrazoles containing heterocyclic components using Amberlite resin in reactions with ultrasonic irradiation. Synthesized pyrazoles containing heterocyclic components are intermediates of the apixaban API. Some pyrazole derivatives are key impurities of the apixaban API, which is synthesized by a multistep chemical conversion and has been reported previously. The use of the heterogeneous Amberlyst resin, which acts as a reusable catalyst and is gentle on reactions, allows for a more sustainable solution that reduces costs, accelerates reactions, and shortens reaction times. The procedures for using Amberlyst resin under ultrasonic irradiation to synthesize pyrazole derivatives are cost-effective, energy-efficient, and environmentally friendly for chemical synthesis and material preparation. They also simplify workups and produce quality and yields comparable to or better than existing methods.