I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
It looks like you are having a CORS problem. There are other’s that can explain it better. When I set up a pen with this, I see this in the network tab:
API usually need some kind of authentication or authorization when you fetch them, usually in form of private key, unless it is public. This can be included in HTTP headers or body, check the API doc to be sure. Also I don’t know what API you are hitting, from dnschecker it is digitalocean? can you give detail about the API, at least its name so I can check its doc, and what kind of response you expect from the API? array of object with fields A, B, C?
hitting that API through web browser or Insomnia only return this, and I cannot understand what to expect:
CORS (cross origin resource sharing)? it is possible, again, API docs will give you some kind of instruction to go through its defined CORS, but I think it is more possible caused by an authentication problem. Hope this help.