{"uid":"cap_Bjh2NEO7EZR-919JdQeAn","slug":"html-srcset-effective-source-membership-detector-83af8dc7","name":"HTML Srcset Effective Source Membership Detector","description":"An agent that rewrites responsive image declarations needs the retained candidate set and src fallback membership after the complete srcset descriptor-discard algorithm.","url":"https://detect.halowerk.com/v1/web/html-srcset-effective-source-membership?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cAtV4MZI9nxyU3kPRWl6W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies the HTML srcset descriptor-discard algorithm to a URL and returns the retained candidate set plus the effective src fallback membership.","exampleAgentPrompt":"Run the HTML srcset descriptor-discard algorithm on https://example.com/article and tell me which image candidates are retained and whether the src fallback is a member of the effective source set.","exampleUseCases":[{"title":"Responsive image rewrite pipeline","prompt":"Before I rewrite the responsive image declarations on https://shop.example.com/product, can you run the srcset descriptor-discard algorithm and show me exactly which candidates survive and what the src fallback membership looks like?"},{"title":"Cross-browser image audit","prompt":"I need to audit https://blog.example.com/post/42 — apply the HTML srcset filtering algorithm and tell me which image URLs remain in the retained candidate set after descriptor discard, plus whether the src attribute qualifies as a fallback member."},{"title":"Automated srcset QA check","prompt":"As part of our QA pipeline, check https://media.example.org/gallery and return the full set of retained srcset candidates after the descriptor-discard pass, along with the src fallback membership status."}],"resultDescription":"Returns the retained candidate set of image sources after the HTML srcset descriptor-discard algorithm is applied, along with a flag or membership indicator showing whether the src fallback qualifies within the effective source selection.","failureModes":["Invalid or unreachable URL returns an error or empty candidate set","Page has no srcset declarations resulting in empty retained set","Malformed srcset descriptors may cause parsing errors","Network timeout fetching the target URL","URL exceeds 2048 character limit"],"whenToPreferThis":"Use this endpoint when an agent or pipeline needs to programmatically determine which image candidates survive the HTML srcset descriptor-discard algorithm for a given page URL, specifically to support responsive image rewriting, cross-browser compatibility audits, or automated QA of image declarations. Prefer this over generic HTML parsers when you need the precise browser-spec algorithm result including src fallback membership, not just raw srcset attribute extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T00:44:32.311Z","isFirstParty":false,"canonicalSlug":"html-srcset-effective-source-membership-detector-83af8dc7"}