{"uid":"cap_-rik7Tj4WKy1v4SzfNekm","slug":"extract-anchors-as-json-eab5f92c","name":"extract-anchors-as-json","description":"Extract the page's anchors as json: fetches the URL, pulls every anchors element and returns them as a JSON array, 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/json?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_6rwEwfsh9yl2I9un5h7f2","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 (<a>) elements, returning them as a structured JSON array with a count","exampleAgentPrompt":"Can you fetch https://www.example.com and extract all the anchor links from that page and give me the results as a JSON list?","exampleUseCases":[{"title":"Audit all links on a landing page","prompt":"Go to https://www.acmecorp.com and pull out every anchor link on the page as JSON so I can audit where all the hyperlinks point."},{"title":"Build a sitemap from anchor tags","prompt":"Fetch https://docs.mybrand.io and extract all the anchor elements as a JSON array — I want to use them to map out the site's internal link structure."},{"title":"Monitor competitor page links","prompt":"Grab all the anchor tags from https://www.competitor.com/products and return them as JSON with a count so I can see how many links they have and where they lead."}],"resultDescription":"A JSON array of all anchor (<a>) elements found on the fetched page, along with a total count of anchors. Each element in the array represents one anchor tag extracted from the page HTML.","failureModes":["Target URL is unreachable or returns a non-200 status — service may return an error or empty result","Page uses JavaScript-only rendering and anchors are injected client-side — may miss dynamically rendered links since no browser is used","Malformed URL input — request fails with an error","Page has no anchor elements — returns empty array with count of 0","Rate limiting or access restrictions on the target URL — may result in incomplete or blocked extraction"],"whenToPreferThis":"Choose this endpoint when you need a clean, structured JSON list of all anchor elements from a static or server-rendered web page, without spinning up a browser. Ideal for pipelines, agents, and automation workflows that need machine-readable link data at low cost ($0.01/page). Prefer over scraping SDKs or browser automation when the page content is available server-side and you only need anchors (not full DOM, images, or other elements).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:51.187Z","isFirstParty":false,"canonicalSlug":"extract-anchors-as-json-eab5f92c"}