{"uid":"cap_MpI_zLxIcOdfKGUmraUid","slug":"extract-code-as-json-watch-cc80cdad","name":"extract-code-as-json-watch","description":"Change watch for extract code 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/code/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_OCD__RMqu_lOzPodGiqJD","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 for changes in extracted code blocks (as JSON), returning current values, a changed flag, field-level before/after diffs, and last-seen timestamp.","exampleAgentPrompt":"Keep an eye on https://docs.example.com/api-reference for any changes to the code snippets on that page and let me know if anything is different from last time you checked.","exampleUseCases":[{"title":"Track API documentation code updates","prompt":"Watch https://stripe.com/docs/api for any changes to the code examples and tell me when they've changed, showing me what was added or removed."},{"title":"Monitor open-source library usage examples","prompt":"Check https://github.com/somelib/README.md regularly and alert me whenever the code samples change — show me the before and after so I can see exactly what shifted."},{"title":"Alert on competitor SDK snippet changes","prompt":"Keep checking https://competitor.com/developers/quickstart for changes to their code blocks and report back with what changed, when it changed, and what it looked like before."}],"resultDescription":"Returns the current extracted code blocks as a JSON structure, a boolean 'changed' flag indicating whether the content differs from the previous check (stored up to 90 days), a list of fields that changed with their before and after values, and a timestamp of when the content was last seen.","failureModes":["URL is unreachable or returns non-200 status — extraction fails and no comparison is made","First call for a URL returns no prior result — 'changed' may default to false or null with no before/after diff","Page has no code blocks — returns empty extraction with no change data","90-day history expired — previous result unavailable, comparison resets","Dynamic JavaScript-rendered code not captured if page requires JS execution"],"whenToPreferThis":"Use this endpoint when you need to detect changes specifically in code blocks on a web page over time, with automatic diffing against a stored prior result. Prefer this over a generic page-change monitor when the target content is structured code (e.g. API examples, SDK snippets, documentation samples) and you need field-level before/after diffs rather than raw text diffing. The 90-day history window and $0.02/check pricing make it suitable for scheduled polling without building your own state management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:55.799Z","isFirstParty":false,"canonicalSlug":"extract-code-as-json-watch-cc80cdad"}