{"uid":"cap_ZpZa9AdvP6itWi0cJ0LNy","slug":"extract-links-as-text-a7a9f1c4","name":"extract-links-as-text","description":"Extract the page's links as text: fetches the URL, pulls every links 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/links/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_-Wk_bF7zdsLf5Gzva-Dye","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 webpage and extracts all hyperlink elements, returning them as plain text lines with a count.","exampleAgentPrompt":"Can you extract all the links from https://example.com and give me them as plain text lines so I can see every URL the page links to?","exampleUseCases":[{"title":"Audit outbound links on a landing page","prompt":"Pull all the hyperlinks from https://mycompany.com/landing and list them as plain text so I can audit where we're sending visitors."},{"title":"Discover navigation structure of a competitor site","prompt":"Grab every link from https://competitor.com and return them as plain text lines — I want to map out their site navigation."},{"title":"Feed link list into a downstream pipeline","prompt":"Extract all links from https://news.ycombinator.com as plain text so I can pass the list to the next step in my scraping pipeline."}],"resultDescription":"A plain-text response containing every hyperlink found on the page, one per line, along with a total count of links discovered. No HTML markup, no browser required — just clean lines of text suitable for further processing.","failureModes":["Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page has no anchor/link elements — returns empty list with count of zero","URL is malformed or missing — request fails with a validation error","Page requires JavaScript rendering — since no browser is used, dynamically injected links may be missed","Rate limiting or access restrictions on the target URL may cause fetch failures"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, serverless extraction of all hyperlinks from a single webpage in plain text format — especially in automated pipelines where you want link enumeration without running a browser, parsing HTML yourself, or paying for a full-page scrape. Prefer this over full-page scrapers when you only need links, not full content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T00:30:04.530Z","isFirstParty":false,"canonicalSlug":"extract-links-as-text-a7a9f1c4"}