Yes, that's just the hex representation of what you have in your JSON. It definitely is a BMP. But perhaps it was truncated for some reason. Hard to say without seeing the actual file. Does the size of the BMP file correspond to the number of numbers in the image array in the JSON?
Are you able to share the actual BMP file you generated? Or is it proprietary?
But glancing at the JSON raw data (confirmed looking at your hex representation), this is definitely a BMP. It's just hard to tell whether it was corrupted somehow (i.e. truncated) or whether it's just a BMP format that iOS doesn't support.
The fact that you saved it as a file with BMP extension and still can't see it in any of your Mac tools suggests that there's something fundamentally wrong with the file.
Wow, that's surprisingly small. Is it supposed to be a tiny image of just a few pixels?
I hadn't noticed that your JSON was that short.
If I'm interpreting the BMP header properly, the image is supposed to be 165x45. The resulting BMP should be much larger, I would have thought. Definitely a conversation to have with the API guys. Or maybe bad source image on the server.
And as others have pointed out, if there is a server problem, rather than fixing it, they really should just base64-encode the thing, rather than this horribly inefficient format. But I understand that might not be an option.
Anyway, first four bytes starting at 14 is the DIB size, the next four bytes is the width, and the next four is the height (hex A5 and 2D respectively, which decimal 164 x 45).