API access failed (showing cloudflare block page)

Having the same problem with the code compiled from bun to nodejs, but if I run the uncompiled script from bun it works. I wonder if bun sends its own special UserAgent header or something and thats why CloudFlare doesn’t block the request.