{"uid":"cap_9eWVcuUM2BJ7QR5MCajKT","slug":"agentshelf-css-data-value-extractor-3f0536d6","name":"AgentShelf CSS data-value Extractor","description":"Call when an agent needs data value attributes via data[value] from a public page or HTML (SSRF-safe). Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/css-data-value first.","url":"https://agentshelf.syntexa.ch/v1/css-data-value?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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LxVcuCeLMo2gbXpp-B2Bz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts data attribute values (e.g. data-* attributes) from HTML elements matching the CSS selector data[value], from a given URL or raw HTML string.","exampleAgentPrompt":"Can you extract all the data[value] attribute values from this page — https://example.com/products — and give me the list?","exampleUseCases":[{"title":"Scrape product data attributes","prompt":"Pull all the data[value] attribute values from https://shop.example.com/catalog so I can see what product IDs are embedded in the page elements."},{"title":"Parse data values from raw HTML","prompt":"I have this HTML snippet from a dashboard widget — can you extract all data[value] fields from it for me?"},{"title":"Audit data attributes on a public page","prompt":"Check https://mysite.com/listings and give me every data attribute value you find on elements using the data[value] selector — I want to see what metadata is baked into the markup."}],"resultDescription":"Returns an array or list of extracted string values found in data[value] attributes across elements on the specified page or within the provided HTML, parsed using an SSRF-safe server-side CSS selector engine.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with an error","HTML exceeds 200,000 character limit — request rejected","No elements matching data[value] selector found — empty result returned","SSRF-blocked URL (private IP range, localhost) — request rejected for safety","Malformed URL (under 8 or over 2048 characters) — validation error"],"whenToPreferThis":"Use this endpoint when you specifically need to extract data[value] CSS attribute values from a public webpage or raw HTML without setting up your own scraper. Prefer the free /v1/sandbox/css-data-value endpoint first; fall back to this paid endpoint when sandbox access is unavailable or rate-limited. Choose this over generic CSS extraction endpoints when your target is specifically the data[value] attribute pattern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:42:38.674Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-data-value-extractor-3f0536d6"}