{"uid":"cap_dHt4mrWfMn2tbFnS5jRDR","slug":"link-rel-modulepreload-3a3e6d52","name":"link-rel-modulepreload","description":"The rel=\"modulepreload\" links of a page: every matching <link>/<a> with href, resolved to absolute URLs, with a count. Link-relationship discovery. $0.01 per page.","url":"https://site.intel.rallylive.ca/site/link-rel/modulepreload?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_g3IzyucwlaD7aRUhqerCh","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":"Extracts all rel='modulepreload' link elements from a page, returning their resolved absolute URLs and a count","exampleAgentPrompt":"Can you fetch the modulepreload links from https://example.com and tell me which JavaScript modules it preloads and how many there are?","exampleUseCases":[{"title":"Audit site module preloading strategy","prompt":"Check https://shop.acme.com and list all the JavaScript modules it preloads with rel=modulepreload, including the resolved absolute URLs and a total count."},{"title":"Competitor tech stack research","prompt":"I want to understand what ES modules rival.io preloads on their homepage — can you pull all their modulepreload link hints and show me the full list?"},{"title":"Performance regression monitoring","prompt":"Scan https://myapp.io and tell me every rel=modulepreload link it has right now so I can compare against last week's list and spot any regressions."}],"resultDescription":"A list of all <link> and <a> elements with rel='modulepreload' found on the page, each with its href resolved to an absolute URL, plus a total count of matching links.","failureModes":["Page is unreachable or returns non-200 status — empty result or error response","Page has no rel=modulepreload links — returns empty list with count 0","Dynamic/SPA page where modulepreload links are injected client-side may not be captured if server-side HTML is fetched only","Invalid or malformed URL input causes request failure"],"whenToPreferThis":"Use this endpoint when you need to specifically discover rel=modulepreload resource hints on a page, such as auditing JavaScript module preload strategies, reverse-engineering a site's module loading architecture, or monitoring changes to preload directives over time. Prefer this over generic link extractors when you care specifically about ES module preloading performance hints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:38:42.098Z","isFirstParty":false,"canonicalSlug":"link-rel-modulepreload-3a3e6d52"}