Are you using any sort of framework? If you're using Vercel, you could write some serverless functions to act as a proxy.
Even if it's just HTML/CSS/JS there's no reason not to use Vercel's serverless functions - they're free and unlimited as long as you're deploying with Vercel which is also free and unlimited :P