{"uid":"cap_kHNiNGwyjKGe_TmLt0r7x","slug":"agentshelf-source-srcset-extractor-3a5fccf8","name":"AgentShelf Source Srcset Extractor","description":"Call when an agent needs source srcset values extracted from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/profile-source-srcset first.","url":"https://agentshelf.syntexa.ch/v1/profile-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 name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nxpf-39JNTCKf4K9dvJ0F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all srcset attribute values from <source> elements in a public webpage or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you extract all the srcset values from the <source> elements on this page: https://example.com/gallery — I want to see what responsive image descriptors they're using?","exampleUseCases":[{"title":"Audit responsive images on a site","prompt":"Go to https://myshop.com/products and pull out all the srcset values from the source elements — I want to audit what responsive image sizes they're serving."},{"title":"Scrape srcset from pasted HTML","prompt":"I have this HTML snippet from a news article — can you extract all the srcset attribute values from any source elements in it so I can see which image resolutions are defined?"},{"title":"Analyze competitor image strategy","prompt":"Check https://competitor.com/about and get me all the source srcset values — I'm trying to understand what image breakpoints and formats they're using for their responsive media."}],"resultDescription":"Returns a list of srcset attribute values extracted from all <source> elements found in the given URL or HTML, capturing responsive image descriptors such as URLs paired with width descriptors (e.g. '1x', '2x', '800w') as defined in the page's markup.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","HTML input exceeds 200,000 character limit — request rejected","URL is blocked by SSRF safety rules (internal/private addresses) — access denied","Page contains no <source> elements with srcset attributes — empty result returned","Malformed HTML input prevents parsing — partial or empty results returned","URL resolves to a redirect loop or timeout — error returned"],"whenToPreferThis":"Use this endpoint when you need to specifically extract srcset attribute values from <source> elements in HTML or a public URL — particularly for auditing responsive images, analyzing media breakpoints, or processing picture/video source sets. Prefer this over generic CSS selector endpoints when you only need srcset values and want a purpose-built, SSRF-safe extractor. Try the free sandbox POST /v1/sandbox/profile-source-srcset first before paying $0.007 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:36.850Z","isFirstParty":false,"canonicalSlug":"agentshelf-source-srcset-extractor-3a5fccf8"}