Fetch API Request


I’m new to the N8N and automation world, would you please guide how we could make fetch API calls from n8n, we are using a service in our flow that has their API accessible through fetch function, here is a code sample from their API’s.

fetch("apiurl.com", {
"headers": {
"accept": "application/json, text/plain, / ",
"authorization": "ourpassword",
"x-requested-with": "XMLHttpRequest"
"body": null,
"method": "GET"


That can be done with the HTTP Request node in n8n. You can find the documentation here.

The parameters on the node are named identically as in your example above.