{"uid":"cap_0yIiuAfboZIDf2FNOAQKb","slug":"agentshelf-css-image-srcset-extractor-c815984a","name":"AgentShelf CSS Image Srcset Extractor","description":"Call when an agent needs image srcset values via img[srcset] from a public page or HTML (SSRF-safe). Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/css-img-srcset first.","url":"https://agentshelf.syntexa.ch/v1/css-img-srcset?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xRWF-scxvARGmXLPwTn2i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts img[srcset] attribute values from a public webpage URL or raw HTML, returning all image srcset strings found in the document.","exampleAgentPrompt":"Can you pull out all the img srcset values from https://www.example.com/blog so I can see what responsive image candidates they're serving?","exampleUseCases":[{"title":"Audit responsive images on a landing page","prompt":"I want to audit the responsive image setup on https://www.acmecorp.com — can you extract all the img srcset values so I can see what image candidates they're declaring?"},{"title":"Extract srcset from pasted HTML snippet","prompt":"Here's some HTML I copied from a page — can you parse it and pull out all the img srcset attribute values for me? <img srcset='image-320w.jpg 320w, image-480w.jpg 480w, image-800w.jpg 800w'>"},{"title":"Check competitor image asset strategy","prompt":"Can you fetch https://www.competitor.com/products and extract all the img srcset attributes? I want to understand what image sizes and resolutions they're targeting."}],"resultDescription":"A list of srcset attribute values extracted from all img elements found in the provided URL or HTML, reflecting the responsive image candidates declared on the page.","failureModes":["URL is private or SSRF-blocked — request rejected for security reasons","URL is unreachable or returns non-200 status — extraction fails with an error","HTML input exceeds 200,000 character limit — request rejected","No img[srcset] attributes found on the page — returns empty result","Malformed HTML may result in incomplete or missing srcset values"],"whenToPreferThis":"Choose this endpoint when you need to specifically extract img[srcset] attribute values from a public webpage or HTML fragment for responsive image analysis. It is SSRF-safe, making it appropriate for agent-driven workflows where untrusted URLs may be passed. Prefer the free sandbox endpoint (/v1/sandbox/css-img-srcset) for testing before paying $0.008 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:48:23.704Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-image-srcset-extractor-c815984a"}