{"uid":"cap_cytcGXkx1U6NMycf4V5z2","slug":"extract-anchors-as-text-bfe9f223","name":"extract-anchors-as-text","description":"Extract the page's anchors as text: fetches the URL, pulls every anchors 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/anchors/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_k4Vq3NhxEtLPfmcWn3fpQ","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 and extracts all anchor (hyperlink) elements, returning them as plain text lines with a count.","exampleAgentPrompt":"Can you fetch https://example.com and give me all the anchor links on the page as plain text lines, along with a count of how many there are?","exampleUseCases":[{"title":"Audit outbound links on a blog post","prompt":"Grab all the anchor links from https://myblog.com/post/top-tools and return them as plain text so I can review where the post is linking out to."},{"title":"Check navigation links on a competitor site","prompt":"Pull every anchor element from https://competitor.com/products and list them as plain text lines — I want to see their full navigation and link structure."},{"title":"Build a link inventory for SEO review","prompt":"Extract all the anchors from https://mysite.com/about as plain text with a count — I need to audit how many links are on that page for our SEO report."}],"resultDescription":"A plain-text response containing each anchor element found on the fetched page printed as one line per anchor, plus a total count of anchors extracted. No browser or JavaScript rendering is required; the service fetches and parses the raw HTML server-side.","failureModes":["Invalid or unreachable URL returns an error or empty result","Pages behind authentication or bot-blocking may return no anchors","JavaScript-rendered anchor elements may not be captured since no browser is used","Malformed HTML may result in incomplete anchor extraction","Payment failure (insufficient USDC balance) blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, structured plain-text list of all anchor links on a page without spinning up a browser or running a full scrape pipeline. It is ideal for agent workflows and data pipelines that consume line-delimited text output and need a quick count of links. Prefer this over JSON or CSV variants when downstream processing expects plain text. Use it when cost efficiency matters ($0.01 per page) and JavaScript rendering is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:42:03.665Z","isFirstParty":false,"canonicalSlug":"extract-anchors-as-text-bfe9f223"}