{"uid":"cap_LtU7ivuZfuOsATm4xjscD","slug":"agentshelf-xpath-aside-extractor-b0652d83","name":"AgentShelf XPath Aside Extractor","description":"Call when an agent needs text of //aside via //aside from a public page or HTML (SSRF-safe). Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/xpath-aside first.","url":"https://agentshelf.syntexa.ch/v1/xpath-aside?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.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_gcMZQE51DrDFlD694F3mN","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 the text content of all <aside> elements from a public URL or provided HTML using XPath, returning deduplicated sidebar/aside text.","exampleAgentPrompt":"Can you extract all the aside or sidebar text content from https://example.com/article — I want just the text from the <aside> elements on that page.","exampleUseCases":[{"title":"Extract sidebar tips from article","prompt":"Pull out all the aside or sidebar content from https://www.smashingmagazine.com/2024/01/css-tips — I want the text from those supplementary callout boxes separate from the main article body."},{"title":"Parse asides from raw HTML snippet","prompt":"I have this HTML from a news article — can you extract just the text inside all the <aside> elements from it? Here's the HTML: <html><body><p>Main content</p><aside>Related: See our guide on X</aside></body></html>"},{"title":"Monitor sidebar content on a public page","prompt":"Grab the aside section text from https://docs.python.org/3/library/functions.html so I can see what notes or warnings are highlighted in the sidebar blocks."}],"resultDescription":"Returns the extracted text content from all <aside> elements found in the target page or HTML, deduplicated and cleaned, allowing agents to isolate supplementary, sidebar, or callout content from the main page body.","failureModes":["URL is not publicly accessible or returns non-200 status — endpoint may return an error or empty result","No <aside> elements found in the page or HTML — returns empty result","HTML input exceeds 200,000 character limit — request rejected","URL string shorter than 8 characters or longer than 2048 characters — validation error","SSRF-protected URLs (private IP ranges, localhost) blocked — returns error","Malformed HTML may result in incomplete or no extraction"],"whenToPreferThis":"Use this endpoint when you specifically need to isolate <aside> element text from a public web page or raw HTML — for example, to extract sidebar notes, callout boxes, related-content blocks, or supplementary information that is semantically separated from the main body content. Prefer the free sandbox endpoint (/v1/sandbox/xpath-aside) for testing. Choose this over general full-page scrapers when you only want aside/sidebar content and not the full page text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:11.113Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-aside-extractor-b0652d83"}