{"uid":"cap_dSFLobZtDzc9Exc-r8rYv","slug":"code-block-extract-change-watch-e06dbcd4","name":"Code Block Extract Change Watch","description":"Change watch for code block extract: runs the check and compares it with the result from your previous call for the same url (kept 90 days), returning the current answer, changed true/false, exactly which fields changed with before/after values, and when it was last seen. Call it on a schedule to be told when code block extraction from a page changes. $0.01 per check.","url":"https://intel.rallylive.ca/watch/page/codeblocks","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_JKfqpLiP21ZV74s9UC_Jv","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 webpage's code blocks for changes, returning current extracted code, a changed flag, field-level before/after diffs, and last-seen timestamp.","exampleAgentPrompt":"Keep an eye on https://docs.example.com/quickstart for me — let me know whenever the code blocks on that page change compared to last time you checked.","exampleUseCases":[{"title":"Monitor library docs for code changes","prompt":"Watch https://docs.acme-lib.io/getting-started and tell me if any of the code blocks there change from what was there last time — I want to catch breaking example updates as soon as they happen."},{"title":"Track API sample code updates","prompt":"Check https://developer.payments.io/reference/charge for me and let me know if the code snippets have changed since the last check, with exactly what changed before and after."},{"title":"Detect tutorial code edits on a blog","prompt":"I'm following a tutorial at https://css-tricks.com/guides/flexbox-layout — can you monitor the code blocks on that page and alert me when anything is added, removed, or modified compared to the previous run?"}],"resultDescription":"Returns the current code block extraction from the page, a boolean 'changed' field indicating whether anything differs from the previous call for the same URL, a list of specific fields that changed with their before and after values, and the timestamp of when the page was last seen. Results from previous calls are retained for 90 days for comparison.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no code blocks — returns empty extraction with changed=false on first call","First call for a URL has no prior snapshot to compare against — changed may default to false or null","Page requires authentication or JavaScript rendering — code blocks may not be extractable","90-day retention window exceeded — previous snapshot lost, comparison resets"],"whenToPreferThis":"Choose this endpoint when you need to detect changes specifically in code blocks (pre, code tags) on a webpage over time, rather than monitoring general page content or structured data. It is ideal for scheduled agent workflows that need to track documentation, tutorials, or API reference pages for code sample updates, and provides granular field-level diffs so you know exactly what changed rather than just that something changed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:58.873Z","isFirstParty":false}