{"name":"link-extract","description":"Link extractor / extract links from URL / list all anchor links / page outlink crawler / scrape outbound links / get hrefs from page. Fetches an HTML URL and returns every <a> link with its anchor text, rel attribute, and an is_external flag. Resolves relative URLs against the page's <base> or final URL. Lighter than full scrape / metadata endpoints — exact tool for the agent task 'walk this page, pick which links to follow.' Default 500-link cap. SSRF-guarded (no loopback / RFC1918 targets).","price":"$0.005","method":"POST","input_schema":{"properties":{"url":{"type":"string","description":"Page URL to fetch and extract from. http or https only. Private/loopback targets are rejected. Redirects followed."},"include_external_only":{"type":"boolean","description":"If true, drop same-host links. Default false (return all)."},"max_links":{"type":"number","description":"Max links to return (1-2000). Default 500. Pagination beyond max isn't supported; tighten the URL instead."},"include_text":{"type":"boolean","description":"If true (default), include the anchor's visible text. Set false to skip text extraction."},"timeout_ms":{"type":"number","description":"Fetch timeout. Default 12000, max 25000."}},"required":["url"]},"input_example":{"url":"https://example.com"},"output_example":{"url":"https://example.com","final_url":"https://example.com/","base_url":"https://example.com/","page_title":"Example Domain","links":[{"href":"https://www.iana.org/domains/example","text":"More information...","rel":"","is_external":true}],"count":1,"total_found":1,"truncated_at_max":false,"source":"Direct HTML fetch + parse","attribution":"Extracted from the source HTML at the requested URL."},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}