{"uid":"cap_zJew4fiRMwS3rm12zgBMr","slug":"agentshelf-syntexa-ch-xpath-summary-31707c86","name":"agentshelf.syntexa.ch XPath Summary","description":"Call when an agent needs text of //summary via //summary from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/xpath-summary first.","url":"https://agentshelf.syntexa.ch/v1/xpath-summary?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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y13HMGwiXm4bf8_wBL9l9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public web page by URL or accepts raw HTML and returns an XPath-extracted text summary of its content, with SSRF protection.","exampleAgentPrompt":"Can you fetch the page at https://example.com/article/2024/intro and pull out the main summary text for me?","exampleUseCases":[{"title":"Extract article body from news URL","prompt":"Grab the main text content from this news article at https://techcrunch.com/2024/01/15/new-ai-startup-raises-funding and give me a clean summary."},{"title":"Summarize pasted HTML content","prompt":"I have this raw HTML from a product page — can you extract the main readable text summary from it so I can see what it says without all the tags?"},{"title":"Research assistant web content fetch","prompt":"Pull the summary text from https://en.wikipedia.org/wiki/Large_language_model so I can see what the page says about LLMs."}],"resultDescription":"Returns the extracted text summary derived from the page's main content via XPath processing. The response contains clean, readable text stripped of HTML markup, suitable for downstream processing or display.","failureModes":["URL is not publicly accessible or returns a non-200 status","SSRF protection blocks access to private/internal IP ranges or localhost","HTML input exceeds 200,000 character limit","URL exceeds 2048 character limit","Page has no extractable XPath-compatible text content","Network timeout reaching the target URL","Malformed or invalid HTML that cannot be parsed"],"whenToPreferThis":"Use this endpoint when you need to extract the main readable text from a public web page given either a URL or raw HTML, and you need SSRF protection. Prefer the free sandbox endpoint (/v1/sandbox/xpath-summary) for development or cost-sensitive workflows; use this paid endpoint when the sandbox is unavailable or rate-limited. Choose this over general LLM-based summarization when you want deterministic XPath-based extraction rather than generative paraphrasing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:14.971Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-summary-31707c86"}