{"uid":"cap_PBaDcV_KWf1R2eZhkZNjj","slug":"extract-stylesheets-as-text-41ba6bba","name":"extract-stylesheets-as-text","description":"Extract the page's stylesheets as text: fetches the URL, pulls every stylesheets 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/stylesheets/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_j1-mXwcFuUscVEPbMbn5J","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 web page URL and extracts all stylesheet elements as plain text lines with a count, requiring no browser.","exampleAgentPrompt":"Can you pull all the stylesheets from https://example.com and give me the text of each one along with how many there are?","exampleUseCases":[{"title":"Audit website styling dependencies","prompt":"Fetch https://mybrand.com and extract every stylesheet element as plain text so I can audit which CSS files and inline styles the site depends on."},{"title":"Monitor competitor CSS changes","prompt":"Grab all the stylesheets from https://competitor.com as text right now so I can compare them against last week's snapshot and see what changed."},{"title":"Pipeline ingestion of page styles","prompt":"For the page at https://docs.myapp.io, extract all stylesheets as plain text lines with a count so my pipeline can process the styling metadata downstream."}],"resultDescription":"Returns the stylesheet elements found on the page as plain text lines, along with a total count of how many stylesheets were detected. No browser or JavaScript rendering required.","failureModes":["URL is unreachable or returns a non-200 status, resulting in an error or empty result","Page has no stylesheet elements, returning a count of zero and empty lines","URL points to a non-HTML resource (PDF, image, etc.) so no stylesheets can be parsed","Rate limiting or payment failure if the $0.01 USDC x402 payment is not processed","Dynamically injected stylesheets (via JavaScript) may be missed since no browser is used"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-browser extraction of stylesheet elements from a web page as plain text, particularly for agent pipelines or automated workflows that need structured one-element-type output at low cost ($0.01/page). Prefer it over full-page scrapers when you specifically want stylesheet data without the overhead of rendering or parsing the full DOM.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:01.449Z","isFirstParty":false,"canonicalSlug":"extract-stylesheets-as-text-41ba6bba"}