{"uid":"cap_enhYDHi6zYrYV_YLrsA7g","slug":"extract-page-links-as-json-bd007808","name":"Extract Page Links as JSON","description":"Extract the page's links as json: fetches the URL, pulls every links 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/links/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_EupT1XAEyo2ZIXxPRRSfp","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 hyperlinks as a structured JSON array with a count","exampleAgentPrompt":"Can you extract all the links from https://example.com and give me a JSON array of every hyperlink found on that page?","exampleUseCases":[{"title":"Audit outbound links on a landing page","prompt":"Pull all the links from our homepage at https://acme.com and give me a JSON list so I can audit where we're sending visitors."},{"title":"Build a site crawl seed list","prompt":"Grab every link on https://blog.techcrunch.com and return them as a JSON array — I want to use them as seeds for a crawl pipeline."},{"title":"Verify internal linking structure","prompt":"Extract all the links from https://docs.myproduct.io/getting-started and return the JSON so I can check we're linking to all the right internal pages."}],"resultDescription":"A JSON array containing every hyperlink element found on the fetched page, along with a count of total links discovered. Each element in the array represents an extracted link (href value) from the page's anchor tags. No browser or JavaScript rendering is required.","failureModes":["Invalid or unreachable URL returns an error response","Pages requiring JavaScript rendering may return incomplete link sets","Pages behind authentication or paywalls may return no links","Rate limiting or bot-blocking on the target page may result in empty or error responses","Malformed HTML may cause incomplete link extraction"],"whenToPreferThis":"Choose this endpoint when you need a clean, structured JSON array of all hyperlinks from a single web page without spinning up a browser. It is ideal for agent pipelines and data workflows that need consistent, machine-readable output at low cost ($0.01/page). Prefer it over heavier scraping solutions when you only need links (not full page content) and the page does not require JavaScript rendering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:46:25.379Z","isFirstParty":false,"canonicalSlug":"extract-page-links-as-json-bd007808"}