Site Uptime API
Verify if a website is reachable from the cloud. Monitor HTTP status codes and validate global availability using proxy to ensure your users can always access your site.
Copy, paste, and ship
import requests
url = "https://api.geekflare.com/up"
payload = {"url": "https://example.com", "followRedirect": False, "proxyCountry": "us"}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Why Geekflare Site Uptime API
Status Codes
Get the exact HTTP response code (200 OK, 301 Moved, 404 Not Found, 503 Service Unavailable) to diagnose exactly why a site might be failing.
Redirect Tracing
With the followRedirect parameter, our API chases the redirect chain to the final destination, reporting the status of the actual landing page.
Global Proxy Support
Use the proxyCountry parameter to route requests through different locations to detect geo-blocking or regional downtime.
Build more with Geekflare
Scrape Any Website
Frequently Asked Questions
Yes. By using the proxyCountry parameter, you can route the request through different regions to see if the website is inaccessible in specific locations.
Site Uptime API consumes only 1 credit per API call.