GET /v1/tools/web-checkhttps://api.cludz.net/v1/tools/web-check
Check the status, response time, and headers of a website.
Query Parameters:
| Parameter | Required | Description | Type |
|---|---|---|---|
url | Yes | The URL to check (must start with http:// or https://). | string |
curl "https://api.cludz.net/v1/tools/web-check?url=https://google.com" \
-H "Authorization: Bearer YOUR_API_KEY"
const res = await fetch('https://api.cludz.net/v1/tools/web-check?url=https://google.com', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await res.json();
const res = await fetch('https://api.cludz.net/v1/tools/web-check?url=https://google.com', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await res.json();
import requests
url = "https://api.cludz.net/v1/tools/web-check"
params = {"url": "https://google.com"}
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get(url, headers=headers, params=params)
data = response.json()
{
"statusCode": 200,
"statusMessage": "OK",
"message": "Web check executed",
"data": {
"success": true,
"status": 200,
"statusText": "OK",
"latency": "150ms",
"size": "5000 bytes",
"headers": {
"content-type": "text/html; charset=UTF-8",
"server": "gws"
}
}
}