{"uid":"cap_7cBefwPwMZKSPzj_2tMqX","slug":"agentshelf-xpath-dt-text-extractor-ea3bf04a","name":"AgentShelf XPath //dt Text Extractor","description":"Call when an agent needs text of //dt via //dt from a public page or HTML (SSRF-safe). Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/xpath-dt first.","url":"https://agentshelf.syntexa.ch/v1/xpath-dt?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J1XQ2dd1hVfCwAXwO6otj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text content from //dt (definition term) elements on a public web page or provided HTML using XPath, with SSRF protection.","exampleAgentPrompt":"Fetch the page at https://example.com/glossary and extract all the definition term (dt) text from it — I need every //dt element's text content from that page.","exampleUseCases":[{"title":"Glossary term extraction from docs","prompt":"Can you pull all the definition terms from https://docs.example.com/reference/glossary — I want every //dt element's text so I can build a list of all defined terms on that page."},{"title":"Scraping spec metadata fields","prompt":"I have some raw HTML from a W3C spec page — can you extract all the //dt elements from it? Here's the HTML: <dl><dt>Author</dt><dd>Jane</dd><dt>Version</dt><dd>1.0</dd></dl>"},{"title":"Monitoring definition keys on a product page","prompt":"Go to https://schema.org/Product and extract all the //dt text nodes — I want to see every property name listed in their definition list."}],"resultDescription":"Returns the text content of all //dt (definition term) elements found in the page fetched from the provided URL or in the supplied HTML, delivered as structured text output. The extraction is SSRF-safe when fetching remote URLs.","failureModes":["URL is unreachable or returns non-200 status — extraction fails with an error","No //dt elements found in the page — returns empty result","HTML string exceeds 200,000 character limit — request rejected","URL string shorter than 8 or longer than 2048 characters — validation error","SSRF-blocked URL (private IP ranges, internal hosts) — rejected for security","Malformed HTML may result in incomplete or unexpected extraction"],"whenToPreferThis":"Use this endpoint when you need to extract text specifically from HTML definition term (dt) elements via XPath from a public URL or raw HTML. Prefer the free /v1/sandbox/xpath-dt endpoint first for testing; use this paid endpoint ($0.008 USDC) for production workloads. Choose this over general-purpose scrapers when you specifically need //dt XPath targeting with SSRF safety guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:02.966Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-dt-text-extractor-ea3bf04a"}