{"uid":"cap_O54YKGnwZF3DUoXOaTsdG","slug":"agent-tools-link-health-check-security-header-audit-64b7ee21","name":"Agent Tools – Link Health Check & Security Header Audit","description":"Pay-per-call utilities for AI agents over x402, USDC on Base.","url":"https://agents.crowdspark.me/v1/web/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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL to check"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"http://github.com/","hops":[{"ms":40,"url":"http://github.com/","status":301,"location":"https://github.com/"},{"ms":120,"url":"https://github.com/","status":200,"location":null}],"https":true,"server":"github.com","verdict":"ok_after_redirect","total_ms":160,"final_url":"https://github.com/","redirects":1,"content_type":"text/html; charset=utf-8","final_status":200,"security_headers":{"grade":"A","score":90,"missing":["permissions-policy"],"present":["strict-transport-security","content-security-policy"]},"downgraded_to_http":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fMzrKPbUeu7qZ8TTYs7u1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a public URL by following redirects hop-by-hop (up to 8), detecting loops and HTTPS downgrades, and reporting final status, content type, server info, caching, and a security-header grade (HSTS, CSP, nosniff, framing, referrer, permissions).","exampleAgentPrompt":"Can you check the link https://example.com/ — follow all its redirects, tell me where it ends up and whether it's safe, and give me a security header grade for the final destination?","exampleUseCases":[{"title":"Redirect chain audit before publishing","prompt":"Before I share this short link https://bit.ly/3xyz123 in my newsletter, can you follow all its redirects and tell me exactly where it lands, whether it stays on HTTPS the whole way, and flag any loops?"},{"title":"Security header compliance check","prompt":"Can you check https://mypaymentportal.com/ and give me a security header grade — I specifically want to know if it has HSTS, a Content Security Policy, and X-Frame-Options set correctly?"},{"title":"Broken link detection for site audit","prompt":"I think https://oldblog.mysite.com/2019/post-title might be broken or redirecting somewhere weird — can you check its status code, follow any redirects, and tell me the final URL and content type?"}],"resultDescription":"Returns a JSON object with the full redirect chain (each hop's URL, HTTP status, location header, and timing in ms), total elapsed time, final URL and status, content type, HTTPS flag, HTTPS-downgrade flag, redirect count, server header, and a security-header assessment including a letter grade (A/B/C/F), numeric score, list of present headers (e.g. strict-transport-security, content-security-policy), and list of missing headers (e.g. permissions-policy).","failureModes":["Private or non-public IP/host rejected — only public hosts are supported","More than 8 redirects causes the chain to be truncated or flagged as a loop","Redirect loop detected and flagged in verdict field","Target host is unreachable or DNS fails — returns an error verdict","Very slow targets may time out before all hops complete","Non-HTTP/HTTPS schemes are not supported"],"whenToPreferThis":"Choose this endpoint when you need a detailed, hop-by-hop redirect trace combined with a security-header audit in a single call. It is ideal for pre-publication link safety checks, compliance audits of security headers, or detecting HTTPS downgrade attacks on redirects. Prefer it over a simple HTTP HEAD check when you need the full redirect chain, timing data per hop, and a graded security-header report. It complements a page-content reader (which fetches body content) but is focused purely on transport-layer and header-level health.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:55.665Z","isFirstParty":false,"canonicalSlug":"agent-tools-link-health-check-security-header-audit-64b7ee21"}