{"uid":"cap_Oi6UC8bjDxhQMB3rE_ljY","slug":"agentshelf-syntexa-ch-css-legend-extractor-a9c0295f","name":"agentshelf.syntexa.ch CSS Legend Extractor","description":"Call when an agent needs legend text via legend from a public page or HTML (SSRF-safe). Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/css-legend first.","url":"https://agentshelf.syntexa.ch/v1/css-legend?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2814p-yZh3l_tC8wTNc5d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts CSS legend text from a public web page URL or raw HTML, with SSRF protection","exampleAgentPrompt":"Can you pull the legend text from this page for me? Here's the URL: https://example.com/map-dashboard — I need to know what the legend labels say.","exampleUseCases":[{"title":"Map dashboard legend extraction","prompt":"Go to https://example.com/interactive-map and pull out all the legend text so I know what the color codes on that map mean."},{"title":"Chart legend from raw HTML","prompt":"I have this HTML snippet from a data visualization page — can you extract the legend text from it so I can see what each data series is labeled?"},{"title":"Scrape accessibility legend labels","prompt":"Fetch the legend content from https://mysite.org/report and give me the text labels so I can document what each section represents."}],"resultDescription":"Returns the extracted legend text found via CSS legend selectors in the provided URL or HTML. The response contains the legend content parsed from the page, suitable for downstream use in labeling, documentation, or data interpretation tasks.","failureModes":["URL is not publicly accessible or returns a non-200 status","HTML input is empty or malformed and contains no parseable legend elements","URL triggers SSRF protection and is blocked","Input URL or HTML exceeds size limits (URL >2048 chars, HTML >200000 chars)","Page has no CSS legend element, returning empty or null result","Network timeout fetching the URL"],"whenToPreferThis":"Use this endpoint when you need to extract legend text from a public webpage or raw HTML and want an SSRF-safe, paid extraction service. Prefer the free sandbox endpoint POST /v1/sandbox/css-legend first if available. Choose this when the sandbox is unavailable or when you need production-grade reliability at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:52.639Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-css-legend-extractor-a9c0295f"}