{"uid":"cap_l2leFVAhh8AeegwOZYved","slug":"agentshelf-modulepreload-link-extractor-27b5bf94","name":"AgentShelf modulepreload Link Extractor","description":"Call when an agent needs link rel=modulepreload hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/profile-rel-modulepreload first.","url":"https://agentshelf.syntexa.ch/v1/profile-rel-modulepreload?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QsMkKURC-_9luMZdHuUIH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all link[rel=modulepreload] href values from a public webpage URL or raw HTML, with SSRF protection.","exampleAgentPrompt":"Fetch https://example.com and pull out all the link rel=modulepreload hrefs from that page so I can see which JavaScript modules it preloads.","exampleUseCases":[{"title":"Audit site module preloading strategy","prompt":"Go to https://shop.acme.com and extract every link[rel=modulepreload] href so I can audit which JS modules they're preloading on the homepage."},{"title":"Analyze competitor frontend bundle hints","prompt":"I have the HTML for https://competitor.io/app — can you parse it and give me a list of all the modulepreload hrefs it declares?"},{"title":"Verify modulepreload tags in static HTML","prompt":"Here's a chunk of HTML I generated: <link rel='modulepreload' href='/dist/main.js'>... can you extract all the modulepreload hrefs from it to confirm the right files are listed?"}],"resultDescription":"A list of href values found in link[rel=modulepreload] elements on the target page or within the provided HTML. Typically returns an array of URLs or paths pointing to JavaScript module resources that the page declares for preloading.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty result","SSRF-blocked URLs (private IP ranges, localhost) will be rejected for security reasons","HTML exceeds 200,000 character limit — request will be rejected","URL string shorter than 8 characters or longer than 2048 characters — validation error","Page has no link[rel=modulepreload] elements — returns empty list","Payment of $0.008 USDC not provided or rejected — 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to programmatically identify all modulepreload link hints declared on a public webpage or within raw HTML, particularly for auditing frontend performance strategies, analyzing JavaScript module bundling, or verifying preload declarations. Prefer the free sandbox endpoint (/v1/sandbox/profile-rel-modulepreload) for testing. Use this paid endpoint for production workloads requiring SSRF-safe fetching of live URLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:45:51.038Z","isFirstParty":false,"canonicalSlug":"agentshelf-modulepreload-link-extractor-27b5bf94"}