{"uid":"cap_nqbW6iz_cjer6gEtv_Nok","slug":"page-weight-resource-inventory-dd1dd48d","name":"Page Weight & Resource Inventory","description":"Page weight and resource inventory from the HTML: document bytes, script/stylesheet/image/iframe/font counts, inline script bytes, external hosts contacted, and a simple heaviness verdict. A quick performance smell test without a browser. $0.01 per page.","url":"https://intel.rallylive.ca/site/weight","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_x__IDrz16XKG264XZq2XD","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 an HTML page and returns a breakdown of its weight and resource counts (document bytes, script/stylesheet/image/iframe/font counts, inline script bytes, external hosts) plus a heaviness verdict.","exampleAgentPrompt":"Can you check how heavy the page at https://example.com is — how many scripts, stylesheets, images, and external hosts it loads, and whether it's considered bloated?","exampleUseCases":[{"title":"Pre-launch performance smell test","prompt":"Before we go live, can you check the page weight and resource counts on https://myapp.com/landing — I want to know if it's too heavy, how many external hosts it's hitting, and roughly how big the document is?"},{"title":"Competitor page bloat audit","prompt":"Can you analyze https://competitor.com for page weight? I want to see how many scripts, stylesheets, images, and fonts they're loading, and whether they'd get a heavy verdict."},{"title":"Monitoring a CMS page for resource creep","prompt":"Check https://myblog.com/home and tell me the full resource inventory — script count, image count, external hosts contacted, and inline script bytes — so I can see if it's gotten bloated since last month."}],"resultDescription":"Returns document byte size, counts of scripts, stylesheets, images, iframes, and fonts loaded by the page, the volume of inline script bytes, a list of external hosts contacted, and a simple 'heaviness' verdict indicating whether the page is considered too heavy for good performance.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty resource counts","Page requires JavaScript rendering to load resources — static HTML fetch will miss dynamically injected assets","Page blocks non-browser user agents — request may be rejected or return minimal HTML","Redirect chains may not be fully followed — final destination resource inventory may differ from expected","Very large HTML documents may result in incomplete parsing or timeouts"],"whenToPreferThis":"Use this endpoint when you need a fast, lightweight check on a page's resource footprint without spinning up a headless browser. It's ideal for quick performance audits, detecting resource bloat, or inventorying external host dependencies from raw HTML. Prefer this over full browser-based tools when speed and cost matter and dynamic JS rendering is not required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:14:12.484Z","isFirstParty":false}