{"uid":"cap__I1Gpumk8Djkx9k7vuSH7","slug":"agentshelf-css-caption-extractor-f32baf56","name":"AgentShelf CSS Caption Extractor","description":"Call when an agent needs table caption text via caption from a public page or HTML (SSRF-safe). Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/css-caption first.","url":"https://agentshelf.syntexa.ch/v1/css-caption?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.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_EXGFl7xpsK4yZv0-HUgw8","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 table caption text from a public webpage or raw HTML using the CSS `caption` selector","exampleAgentPrompt":"Can you pull out all the table caption texts from this page: https://example.com/data-tables — I need the caption text that labels each table on that page.","exampleUseCases":[{"title":"Extract report table labels","prompt":"Go to https://stats.gov/annual-report and grab all the table captions — I want to know what each data table on that page is titled."},{"title":"Parse captions from uploaded HTML","prompt":"I have this HTML file with several tables in it — can you extract just the caption text from each table so I can index them?"},{"title":"Audit table accessibility on a site","prompt":"Check https://company.com/financials and pull out all the table captions so I can see if every table has a descriptive label for accessibility compliance."}],"resultDescription":"Returns the extracted caption text found via the CSS `caption` selector from the provided URL or HTML content — typically a list of caption strings corresponding to each `<caption>` element in the page's tables.","failureModes":["No caption elements found on the page — returns empty result","Invalid or unreachable URL — returns fetch/network error","HTML input exceeds 200,000 character limit — returns validation error","SSRF-blocked URL (private/internal IP ranges) — returns security rejection","Malformed HTML that cannot be parsed — may return empty or partial results"],"whenToPreferThis":"Use this endpoint when you specifically need to extract `<caption>` element text from HTML tables on a public webpage or from raw HTML content. It is purpose-built for the CSS caption selector, SSRF-safe for public URLs, and costs only $0.007 USDC per call. Prefer this over a general-purpose scraper when you only need table caption text and want a lightweight, cheap extraction. Note: a free sandbox alternative at POST /v1/sandbox/css-caption should be tried first when available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:14.356Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-caption-extractor-f32baf56"}