{"openapi":"3.1.0","info":{"title":"FetchDelta","version":"0.1.0","summary":"Paid page freshness API for agents that monitor docs, release notes, pricing, and policy pages","description":"FetchDelta is a paid HTTP API for autonomous agents. It resolves public webpages into clean markdown and computes diffs against prior snapshots. Protected endpoints return HTTP 402 until paid over x402."},"servers":[{"url":"https://fetchdelta.com"}],"tags":[{"name":"meta","description":"Free capability and health endpoints"},{"name":"paid","description":"x402-protected paid endpoints"}],"paths":{"/health":{"get":{"tags":["meta"],"summary":"Health check","operationId":"health","responses":{"200":{"description":"Service is healthy"}}}},"/manifest":{"get":{"tags":["meta"],"summary":"Machine-readable service manifest","operationId":"manifest","responses":{"200":{"description":"Service manifest"}}}},"/api/resolve/preview":{"get":{"tags":["meta"],"summary":"Fetch a public page preview with title, excerpt, headings, links, and a truncated markdown sample.","operationId":"previewResolvePage","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"},"example":"https://example.com/post"}],"responses":{"200":{"description":"Free preview response"}}}},"/api/resolve":{"get":{"tags":["paid"],"summary":"Fetch a public page and return clean markdown plus metadata for agent use.","operationId":"resolvePage","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"},"example":"https://example.com/post"}],"responses":{"200":{"description":"Resolved page content"},"402":{"description":"Payment required"}},"x-x402-payment":{"network":"eip155:8453","price":"$0.002","settlementAsset":"USDC"}}},"/api/diff":{"get":{"tags":["paid"],"summary":"Fetch a public page, compare it to the previous snapshot, and return structured changes.","operationId":"diffPage","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"},"example":"https://example.com/post"}],"responses":{"200":{"description":"Structured diff response"},"402":{"description":"Payment required"}},"x-x402-payment":{"network":"eip155:8453","price":"$0.004","settlementAsset":"USDC"}}}}}