URL Health Check
Check whether a URL is alive: status code, response time, redirects, SSL validity, content type and server.
Pay by wallet (x402)
url-health-check Example
Input
{
"url": "https://strale.dev"
} Answer
{
"url": "https://strale.dev",
"is_up": true,
"server": "cloudflare",
"final_url": "https://strale.dev",
"ssl_valid": true,
"status_code": 200,
"content_type": "text/html",
"redirect_chain": [],
"response_time_ms": 37
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
url | string | Yes | URL to check |
timeout | integer | No | — |
follow_redirects | boolean | No | — |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
is_up | boolean | Always (present in every successful answer) |
ssl_valid | boolean | Always (present in every successful answer) |
status_code | integer | Always (present in every successful answer) |
redirect_chain | array | Always (present in every successful answer) |
response_time_ms | integer | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "url-health-check",
"inputs": {
"url": "https://strale.dev"
},
"max_price_cents": 3
}' {
"tool": "strale_execute",
"arguments": {
"slug": "url-health-check",
"inputs": {
"url": "https://strale.dev"
},
"max_price_cents": 3
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "url-health-check",
inputs: {
"url": "https://strale.dev"
},
max_price_cents: 3,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="url-health-check",
inputs={
"url": "https://strale.dev",
},
max_price_cents=3,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/url-health-check?url=https%3A%2F%2Fstrale.dev' Limitations
Page content and rendering are not checked
Checks HTTP response status and basic connectivity — does not assess content correctness or page rendering
What to do instead: Use page-exists for content-level existence (soft-404 detection), or screenshot-url for visual verification
Bundled checks that include it
- Page SEO Check €0.30
Related tools
- Accessibility Audit €0.30
- API Health Check €0.05
- Social Preview Image Check €0.05