{"uid":"cap_dCvlUHk8G2Dy54hsA67QC","slug":"agentshelf-css-figcaption-extractor-87287cd1","name":"AgentShelf CSS Figcaption Extractor","description":"Call when an agent needs figcaption text via figcaption from a public page or HTML (SSRF-safe). Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/css-figcaption first.","url":"https://agentshelf.syntexa.ch/v1/css-figcaption?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S9elNE5uOX_BIVO7_TxMR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts figcaption text from HTML figure elements on a given public web page or raw HTML input","exampleAgentPrompt":"Can you grab all the figcaption texts from this page: https://example.com/photo-gallery? I need the caption text from every figure element on the page.","exampleUseCases":[{"title":"Image caption audit for accessibility","prompt":"Go to https://www.museum-site.org/exhibits and extract all the figcaption text so I can review whether every image has a proper descriptive caption."},{"title":"Scraping recipe photo descriptions","prompt":"Fetch the page at https://www.foodblog.com/pasta-recipes and pull out all the figcaption text — I want to see how each dish photo is described."},{"title":"Extracting captions from raw HTML","prompt":"I have this HTML snippet from a product page — can you extract all the figcaption text from it so I can catalog the product image descriptions?"}],"resultDescription":"Returns an array or collection of figcaption text strings found within figure elements on the specified page or HTML input, covering all matched figcaption elements in document order.","failureModes":["URL is not publicly accessible or blocked by robots/firewall, returning an error or empty result","HTML input exceeds 200,000 character limit, causing rejection","No figcaption elements found on the page, returning an empty result","SSRF-blocked private/internal URLs rejected for security reasons","Malformed URL under 8 characters rejected by schema validation","Page returns non-HTML content (e.g. PDF, JSON), yielding no matches"],"whenToPreferThis":"Use this endpoint when you need to extract specifically figcaption text from HTML figure elements — ideal for accessibility audits, media metadata collection, content indexing, or any workflow where image captions in structured HTML are the target. Prefer over generic scraping tools when you want a focused, CSS-selector-level extraction that is SSRF-safe and priced per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:18.031Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-figcaption-extractor-87287cd1"}