{"uid":"cap_YMOL5Y25oHH_miG9D6Ich","slug":"html-meta-refresh-parse-f9c04424","name":"Html Meta Refresh Parse","description":"Html Meta Refresh Parse: Html Meta Refresh Parse parses bounded meta-refresh delay and target URL from bounded caller-supplied values without an external provider. Call Html Meta Refresh Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Html Meta Refresh Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memor…","url":"https://api.delx.ai/api/v1/x402/html-meta-refresh-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string","maxLength":8192,"description":"Content supplied to Html Meta Refresh Parse; used only for this bounded calculation and processed in memory without retention."},"base_url":{"type":"string","maxLength":8192,"description":"Base URL supplied to Html Meta Refresh Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"target_url":"https://example.com/login","delay_seconds":5},"schema":"delx/util-html-meta-refresh-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"8cbdc3fe25d5d5f8eab265aca7deadc5d12d56ba7d562d20bea5478d4c992b47","external_calls":0},"operation":"web_reliability:html_meta_refresh_parse"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dA41rskltW4czKNKHmJqV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses the delay and target URL from an HTML meta-refresh tag in a supplied web response, returning normalized evidence, the computed finding, and a pass/advisory status.","exampleAgentPrompt":"Before I cache or follow this page response, parse the HTML content for any meta-refresh tag — here's the HTML and the base URL https://example.com — and tell me the delay and target URL if one exists.","exampleUseCases":[{"title":"Detect redirect before caching response","prompt":"I fetched this HTML page from https://shop.example.com and I want to cache it — can you check the HTML content for any meta-refresh redirect so I don't accidentally cache a page that immediately redirects somewhere else?"},{"title":"Validate meta-refresh before following redirect","prompt":"Before my agent follows the auto-redirect on this HTML page, parse the meta-refresh tag from the content and tell me the delay and the destination URL so I can decide whether it's safe to follow."},{"title":"Security check on third-party web response","prompt":"I received this HTML response from a third-party URL and I need to know if it contains a meta-refresh redirect — please parse the content with base URL https://partner.example.org and give me the normalized finding and whether it passes."}],"resultDescription":"Returns a versioned deterministic JSON object containing: the parsed refresh delay (in seconds), the resolved target URL (absolute, computed against the base URL), normalized evidence from the HTML, the computed finding, and an explicit pass or advisory status indicating whether the meta-refresh is present and well-formed.","failureModes":["No meta-refresh tag found in content — returns advisory or pass status with empty target","Malformed meta-refresh content attribute — returns advisory status with partial evidence","Content exceeds 8192 character limit — request rejected","base_url is missing or invalid — target URL cannot be resolved to absolute form","HTML content is not valid or parseable — returns advisory with limited evidence"],"whenToPreferThis":"Choose this endpoint when an AI agent or automated pipeline needs to safely handle untrusted HTML responses before caching, redirecting, or retrying — specifically to detect and validate meta-refresh redirect instructions embedded in page content. It is stateless, deterministic, and requires no API key, making it ideal for security-conscious agent workflows that need to inspect web responses at low cost ($0.001 USDC per call) without side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:13:44.974Z","isFirstParty":false}