{"uid":"cap_q6S1CQnqgGKNZ5bZt7xsJ","slug":"extract-classes-as-markdown-3a968736","name":"extract-classes-as-markdown","description":"Extract the page's classes as markdown: fetches the URL, pulls every classes element and returns them as a Markdown list, 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/classes/markdown?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_kao8JrChrz7g1u2dXODMR","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 URL and extracts all CSS class names from the page, returning them as a Markdown list with a count","exampleAgentPrompt":"Can you fetch https://example.com and give me a markdown list of all the CSS classes used on that page?","exampleUseCases":[{"title":"Audit CSS classes on a landing page","prompt":"Pull all the CSS class names from https://mycompany.com/landing and show them as a markdown list so I can audit what's being used."},{"title":"Reverse-engineer a competitor's styling","prompt":"Fetch https://competitor.com and extract every CSS class on the page into a markdown list — I want to understand their front-end structure."},{"title":"Verify class names for QA automation","prompt":"Can you grab all the CSS classes from https://staging.myapp.io/dashboard and return them as a markdown list? I need to check which classes are present before writing my test selectors."}],"resultDescription":"A Markdown-formatted list of all CSS class names found on the fetched page, along with a total count of classes discovered. No browser or JavaScript rendering required.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page uses JavaScript-rendered classes that are not present in the static HTML — dynamic classes may be missed","URL requires authentication — unauthenticated fetch may return a login page with different classes","Malformed or invalid URL input — request fails with a validation error","Page has no CSS classes — returns an empty list with count of zero"],"whenToPreferThis":"Use this endpoint when you need a quick, structured Markdown list of all CSS class names from a static web page without spinning up a browser. It is ideal for front-end auditing, QA selector discovery, competitor analysis, or pipeline steps that need class metadata in a human-readable format. Prefer it over full-page scrapers when you only need class-level data and want a compact, formatted output at low cost ($0.01 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:46:07.001Z","isFirstParty":false,"canonicalSlug":"extract-classes-as-markdown-3a968736"}