Hi,
pixscale is in arcseconds per pixel.
The radius computed by the API is simply the hypot(W,H)/2 of the image size in pixels, times the pixscale.
Assuming you know the maximum of the width and height of the image, you can just do pixscale * max(W,H)
cheers,
--dustin