{"uid":"cap_f6qysbkdq0SNtANsaBEzt","slug":"frame-ancestors-check-63b61460","name":"Frame Ancestors Check","description":"Frame Ancestors Check: Frame Ancestors Check checks whether a CSP frame-ancestors directive contains a required source from bounded caller-supplied values without an external provider. Call Frame Ancestors Check 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 Frame Ancestors Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party,…","url":"https://api.delx.ai/api/v1/x402/frame-ancestors-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Frame Ancestors Check; used only for this bounded calculation and processed in memory without retention."},"required_source":{"type":"string","maxLength":8192,"description":"Required Source supplied to Frame Ancestors Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"source":"'none'","present":true,"sources":["'none'"],"directive":"frame-ancestors"},"schema":"delx/util-frame-ancestors-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"87d66a2da893969f3b55da12bea54f3990c499fe4d58ef57b180b13ceeb775b2","external_calls":0},"operation":"web_reliability:frame_ancestors_check"}},"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_cpK5mwa_koUU1gJJIQNZ5","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":"Validates whether a CSP frame-ancestors directive header contains a required source, returning a deterministic pass/advisory finding as versioned JSON.","exampleAgentPrompt":"Check whether the frame-ancestors CSP header \"frame-ancestors 'self' https://example.com https://trusted.io\" contains 'https://trusted.io' as a required source — I need a pass/fail finding before I cache this response.","exampleUseCases":[{"title":"Pre-cache CSP compliance check","prompt":"Before I cache this web response, verify that its frame-ancestors header \"frame-ancestors 'self' https://dashboard.myapp.com\" actually includes 'https://dashboard.myapp.com' as a required source and give me a pass or advisory status."},{"title":"Redirect safety validation","prompt":"I'm about to redirect users to an embedded iframe page — can you check if the frame-ancestors value \"frame-ancestors https://partner.com 'self'\" contains 'https://partner.com' so I know it's safe to proceed?"},{"title":"Agent pipeline web response audit","prompt":"My agent just fetched a web response with CSP header \"frame-ancestors 'none'\" — check whether 'https://myagent.io' is an allowed source in that frame-ancestors directive and tell me the finding so I can decide whether to retry."}],"resultDescription":"Returns versioned deterministic JSON containing: normalized web evidence (the parsed header and required source), the computed finding (whether the required source is present in the frame-ancestors directive), and an explicit pass or advisory status indicating compliance.","failureModes":["Malformed or missing frame-ancestors header may yield an advisory/fail status rather than an error","Required source string that doesn't match any listed source returns advisory status","Header value exceeding 8192 characters may be rejected or truncated","Non-CSP header strings passed as input may produce invalid parse results","Payment failure via x402 results in request not being processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, stateless check of a CSP frame-ancestors directive against a specific required source — especially in agent pipelines that must validate web responses before caching, redirecting, or retrying. Prefer this over manual string parsing when you need a versioned, auditable finding with explicit pass/advisory status rather than raw boolean logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:54:39.944Z","isFirstParty":false}