DEV Community

Maximus Beato
Maximus Beato

Posted on • Originally published at apimesh.xyz

how to reliably check website availability with a simple api

the problem

keeping track of whether your websites are up can be tricky, especially when you need real-time info or automate alerts. many solutions are overkill or complex.

the solution

using the web-checker api, you can check a website's status with a straightforward GET request.

sample curl:



curl -s https://web-checker.apimesh.xyz/check?url=https://example.com


expected output:


{
  "status": "up",
  "timestamp": "2024-04-27T12:34:56Z"
}


## how it works
this api sends an HTTP request to your target URL and responds with status info. it’s built for simplicity and speed, giving you easy access to site health data.

## try it
test the endpoint with the demo link: https://web-checker.apimesh.xyz/preview?url=https://example.com

pricing is just $0.005 per call, making it affordable to check sites frequently without hassle.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)