Cant connect to coinmarketcap with api

I have a script that gets BTC and ETH prices with the coinmarketcap pro-API

Since I am using cloudflare I get the error

Error: couldn’t connect to host [pro-api.coinmarketcap.com]

This works from another site not running through cloudflare

Any ideas what is blocking this
Thanks

That host resolves just fine. You’ll need to figure out what the exact error is and fix the issue at hand. That won’t be a Cloudflare issue but rather with your service provider (who seems to be using Cloudflare too).

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.