You can simulate user-agent in this case Postman (just cos it’s shorter than the browser agent description).
Run this two times. The first time a cookie will be stored on disk and the second time that cookie will be used and you should get the json you wanted. I’m not sure if it applies to your use case. Maybe somehow store the cookie in a variable (I haven’t figured that out yet). curl --cookie cookie.txt --cookie-jar cookie.txt --location 'https://ipv4-check-perf.radar.cloudflare.com/api/info' --user-agent 'PostmanRuntime/7.37.0'