{"uid":"cap_y-w3PVrHRITwxx8wm_aPf","slug":"css-source-srcset-extractor-44cb6e5d","name":"CSS Source Srcset Extractor","description":"Call when an agent needs media source srcset values via source[srcset] from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/css-source-srcset first.","url":"https://agentshelf.syntexa.ch/v1/css-source-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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_70PJhO7dJOi1nAYoLExqO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts media source srcset attribute values from source[srcset] elements in a public webpage or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you extract all the source srcset values from the HTML on this page: https://example.com/article — I need to see what responsive image sources they're using?","exampleUseCases":[{"title":"Responsive image audit for a webpage","prompt":"Pull all the source srcset values from https://news.example.com/homepage — I want to see which responsive image URLs they're serving to different screen sizes."},{"title":"Extract srcset from raw HTML snippet","prompt":"I have some raw HTML here — can you parse out all the source[srcset] values from it so I can see the media sources being used?"},{"title":"Scraping media sources for content pipeline","prompt":"For the article at https://blog.example.com/post/123, extract every source srcset entry so I can mirror those image assets to our CDN."}],"resultDescription":"Returns the srcset attribute values found within source elements on the page or HTML, giving the agent a list of responsive image source URLs and their descriptors (e.g. width or pixel density descriptors) as declared in the page's HTML.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with error","SSRF-blocked URL (private IP ranges, localhost) — rejected for security reasons","HTML exceeds 200,000 character limit — request rejected","No source[srcset] elements found — returns empty result","Malformed HTML with no parseable source elements — may return empty result","URL string shorter than 8 characters or longer than 2048 characters — schema validation error"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically extract responsive image source sets (srcset attributes from HTML source elements) from a public webpage or a known HTML string, especially when SSRF safety is required. Prefer the free sandbox variant (/v1/sandbox/css-source-srcset) first; fall back to this paid endpoint when the sandbox is unavailable or for production use. Choose this over general HTML scrapers when you specifically need structured srcset/source element data rather than full page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:37:28.092Z","isFirstParty":false,"canonicalSlug":"css-source-srcset-extractor-44cb6e5d"}