const url = "https://data.arenos.danielnagel.at/api/docs/rp78Zashtzfe7mgFSbeMkd"; const apiKey = "77fc2fdb0b54a27e4da954a077a670e67f45b203"; async function main() { const response = await fetch(url, { headers: { "Authorization": `Bearer ${apiKey}` } }); const json = await response.json(); console.log(json); } main();