{"uid":"cap_gUBkql6ngLi5HiHQB8a2H","slug":"extract-comments-as-text-291e7c44","name":"extract-comments-as-text","description":"Extract the page's comments as text: fetches the URL, pulls every comments element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/comments/text?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yV7EOHxT2dggwbGWEZluv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page URL and extracts all HTML comment nodes, returning them as plain text lines with a count.","exampleAgentPrompt":"Can you fetch https://example.com and pull out all the HTML comment nodes as plain text lines, with a count of how many there are?","exampleUseCases":[{"title":"Audit hidden developer notes on a page","prompt":"Go to https://www.acme-corp.com and extract all the HTML comments — I want to see if developers left any notes or debug info in the source code."},{"title":"Competitive intelligence via page comments","prompt":"Fetch https://competitor-site.com/pricing and give me every HTML comment buried in that page's source as plain text so I can review what they might have hidden there."},{"title":"SEO and metadata audit pipeline","prompt":"Pull all HTML comments from https://myblog.com/home as plain text — I need to check if there are any old tracking codes or notes left in comment tags that shouldn't be public."}],"resultDescription":"A plain-text response containing each HTML comment found on the fetched page as a separate line, along with a total count of comment elements extracted.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page has no HTML comments — returns count of zero with empty lines","Invalid or missing URL input — schema validation error returned","Page blocks headless/server-side fetches — may return empty or partial content","Rate limiting or payment failure — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-browser extraction of HTML comment nodes from a page as plain text with a count — ideal for pipelines that need raw line-by-line output without JSON structure overhead. Prefer this over the JSON/CSV/Markdown siblings when downstream processing expects plain text or you are logging/displaying results directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:17.695Z","isFirstParty":false,"canonicalSlug":"extract-comments-as-text-291e7c44"}