Need help with replit api code

// Fetch the tip count using Replit API
fetch('https://replit.com/api/v0/tips/27237324')
  .then(response => response.json())
  .then(data => {
    const tipCount = data.count;
    document.getElementById('tipCount').textContent = `Total Tip Count: ${tipCount}`;
  })
  .catch(error => {
    console.error('Error:', error);
    document.getElementById('tipCount').textContent = 'Error retrieving tip count';
  });

Why exactly am I getting an error code if that’s my Replit ID?
Screenshot 2023-10-15 6.08.19 PM

Hi @SketchxGFX , welcome to the forums!
The Replit API is private now and is hence unavailable. Replit has removed it due to people making mass follow and comment bots.
Thus, I believe that it is not possible to use Replit API (it looks like you are scraping?).

Just wanted to show how many people tipped my website but thanks for letting me know.

@SketchxGFX You might be able to use GraphQL for this. There are some people in the forums who know about GQL.