x402

Page Exists (x402)

Check whether a URL still exists — catches hard 404s, soft-404 pages, dead links, and removed listings that still return HTTP 200.

post/x402/v2/page-exists

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/page-exists
  • Auth: none required

Request body

urlstring required

URL to check for content-level existence

timeout_msinteger

Request timeout in milliseconds (clamped to 1000-30000, default 10000)

Response

Success

urlstring
errorstring

Present only on network/timeout failures.

titlestring nullable
existsboolean nullable

Three-state. true = page appears to exist; false = page appears gone (hard or soft 404); null = indeterminate (blocked by bot detection, server error, or network failure) — treat as "unknown", not as either answer.

reason'ok' | 'non_html_content' | 'hard_404' | 'soft_404_title' | 'soft_404_body' | 'soft_404_body_and_redirect' | 'redirected_to_generic' | 'thin_content' | 'access_blocked' | 'server_error' | 'unexpected_status' | 'timeout' | 'redirect_loop' | 'dns_error' | 'network_error'
signalsstring[]

Every heuristic that fired, independent of the final verdict.

final_urlstring nullable
checked_atstring
confidence'high' | 'medium' | 'low' | 'null' nullable

null whenever exists is null. Do not act on "low" alone.

redirectedboolean

Compared against the normalized input URL, so trailing-slash/fragment normalization does not count as a redirect.

status_codeinteger nullable
content_lengthinteger nullable

Decoded bytes actually fetched, capped at 20000 — exact for small pages, a lower bound for larger ones. Not the Content-Length header.

Example response

{
  "url": "https://example.com",
  "title": "Example Domain",
  "exists": true,
  "reason": "ok",
  "signals": [],
  "final_url": "https://example.com/",
  "checked_at": "2026-08-12T12:00:00.000Z",
  "confidence": "medium",
  "redirected": false,
  "status_code": 200,
  "content_length": 559
}

Changes

No recorded changes to this operation across all 1 revision of this API.