{"uid":"cap_P44eTZ0hHwbFIcAfDRoxd","slug":"extract-classes-as-json-watch-48a732a9","name":"extract-classes-as-json-watch","description":"Change watch for extract classes as json: runs the check, compares it with the result from your previous call for the same url (kept 90 days) and returns the current answer, changed true/false, the fields that changed with before/after values, and when it was last seen. Schedule it to be alerted when this changes. $0.02 per check.","url":"https://page.intel.rallylive.ca/watch/page/classes/json?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.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CTWD8cl5cOFEh26l6R-b6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Monitors a web page's CSS classes (as JSON) for changes and returns a diff with before/after values and change status","exampleAgentPrompt":"Keep an eye on the CSS classes at https://example.com/shop and let me know if anything changes compared to the last time you checked — show me exactly which classes were added or removed.","exampleUseCases":[{"title":"Track e-commerce site layout changes","prompt":"Watch https://shop.example.com/products for any changes to its CSS classes and alert me the next time something is different from what was there before — I want to see the before and after values."},{"title":"Monitor competitor site redesigns","prompt":"Check if the page classes on https://competitor.com have changed since the last scan and give me a diff showing exactly what's different now."},{"title":"Detect A/B test class variants on landing page","prompt":"I want to know if the CSS classes on our landing page https://mybrand.com/landing have changed since the last check — has anything been swapped out or added?"}],"resultDescription":"Returns the current CSS classes as JSON, a boolean 'changed' flag, a list of fields that changed with their before and after values, and a timestamp of when the page was last seen. Results from the previous call for the same URL are retained for up to 90 days for comparison.","failureModes":["URL is unreachable or returns non-200 response — check may fail or return no data","No previous snapshot exists for the URL — first call returns current data with changed=false","Page blocks scraping (bot detection, CAPTCHA) — extraction may be incomplete","90-day retention window exceeded — previous snapshot lost, comparison resets","Malformed or non-HTML response at URL — class extraction returns empty or null"],"whenToPreferThis":"Use this endpoint when you need to detect changes in a web page's CSS class structure over time, particularly for monitoring layout shifts, A/B tests, feature flag activations, or redesigns. It is purpose-built for change diffing with persistent snapshots, so it is better than a plain extraction endpoint when the delta matters more than the raw current value.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:46:25.428Z","isFirstParty":false,"canonicalSlug":"extract-classes-as-json-watch-48a732a9"}