Can I use after market pool top caps and bottom caps on my pool

I have embassy century 18’ round pool with 7" rails. I have few broken top rail caps and wanted to know if I can buy after market caps than paying big money for the manufacture ones that came with it.

It looks like you have a Doughboy pool. Unfortunately, our caps will not fit that brand. We recommend trying http://www.doughboypools.com/