JS Fetch Api how to

Hello,
How can I get this site "data"?
https://www.dre.cx/

Fetch response json did not give me back anything.
async function fetchData() {
    try {
        const response = await fetch("https://www.dre.cx/api/graphql?query=");
        if (!response.ok) {
            throw new Error("Could not fetch resource")
        }
        const data = await response.json();
        console.log(data);
    }
    catch (error) {
        console.error(error);
    }
}
fetchData();
Was this page helpful?