using api returning fetch error

I can’t use the address input as I need to be able to specify parameters for The API so it works more effectively unfortunately. I was following that example and all my code came from there but I still get the same error for some reason