{"uid":"cap_0gNQOw7aQzuW_kfbUtlij","slug":"api-strale-io-afb42d50","name":"URL Health Check","description":"Check if a URL is alive. Returns status code, response time, redirect chain, SSL validity, content type, server header.","url":"https://api.strale.io/x402/url-health-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL to check"},"timeout":{"type":"integer"},"follow_redirects":{"type":"boolean"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"url":"https://www.google.com","timeout":30,"follow_redirects":true},"response":{"url":"https://www.google.com","_meta":{"payment":{"method":"x402","price_usd":0.0324,"settlement_id":"0x3bdc7c8ea65891ff10c0389a941e970359e833188d8166f2847686c027762e9a"},"capability":"url-health-check","latency_ms":18,"provenance":{"source":"http-head","fetched_at":"2026-06-16T01:24:11.454Z"}},"is_up":true,"server":"gws","final_url":"https://www.google.com","ssl_valid":true,"status_code":200,"content_type":"text/html; charset=ISO-8859-1","redirect_chain":[],"response_time_ms":18}},"exampleRequest":{"url":"https://www.google.com","timeout":30,"follow_redirects":true},"tags":["x402"],"displayCostAmount":"0.0324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D_3S8zmkUWPuJyamPsI5H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks if a URL is alive and returns status code, response time, redirect chain, SSL validity, content type, and server header.","exampleAgentPrompt":"Can you check if https://example.com is up and responding? Use a GET request and follow any redirects — I want to see the status code, how fast it responds, the SSL status, and what server it's running.","exampleUseCases":null,"resultDescription":"Returns the HTTP status code, response time in milliseconds, the full redirect chain if any redirects occurred, whether the SSL certificate is valid, the content type header, and the server header from the response.","failureModes":["URL is unreachable or DNS resolution fails — returns error or timeout","Invalid URL format provided — returns validation error","Timeout exceeded — returns timeout error with elapsed time","SSL handshake failure for HTTPS URLs — may return SSL error details","Non-HTTP/HTTPS schemes not supported — returns unsupported scheme error"],"whenToPreferThis":"Use this endpoint when you need a quick, comprehensive health snapshot of a single URL including SSL validity, redirect chain, and server metadata — rather than a simple ping. Ideal for link validation, uptime checks, or pre-flight verification before scraping or integrating an external URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:56:49.189Z","isFirstParty":false,"canonicalSlug":"api-strale-io-afb42d50"}