{"uid":"cap_LMX21nW668sLP7pkp5PRV","slug":"hospital-price-file-changes-feed-e1104c24","name":"Hospital Price & File Changes Feed","description":"Hospital price and file changes, as a paged feed","url":"https://data.spencermcw.com/v1/hospital/changes?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":{"limit":{"type":"integer","maximum":100,"minimum":1},"since":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"cursor":{"type":"string","pattern":"^\\d{1,12}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","required":["records","next_cursor"],"properties":{"records":{"type":"array","items":{"type":"object","required":["id","entity","key","field","old","new","unit","detected_at","source_sha256_old","source_sha256_new","method_version"],"properties":{"id":{"type":"string"},"key":{"type":"string"},"new":{"type":["string","null"]},"old":{"type":["string","null"]},"unit":{"anyOf":[{"enum":["usd_micro","percent"],"type":"string"},{"type":"null"}],"description":"usd_micro: integer micro-USD (1000000 = $1)."},"field":{"type":"string"},"entity":{"enum":["source","hospital","item","rate","plan"],"type":"string"},"detected_at":{"type":"string"},"method_version":{"type":"string"},"source_sha256_new":{"type":["string","null"]},"source_sha256_old":{"type":["string","null"]}},"additionalProperties":false}},"next_cursor":{"type":["string","null"]}},"additionalProperties":false}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hChfr0VpPm3Z7D0wLd5hy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paginated feed of detected changes to hospital pricing data and source files, filterable by time and cursor","exampleAgentPrompt":"Show me the last 50 hospital price changes detected since January 1, 2025 — I want to see what fields changed, the old and new values, and which hospital or plan they belong to.","exampleUseCases":[{"title":"Daily hospital price change digest","prompt":"Fetch all hospital pricing changes detected since yesterday at midnight and summarize which entities changed, what fields were updated, and the old vs new values."},{"title":"Continuous price transparency monitoring","prompt":"Check for any new hospital price file or rate changes since my last cursor '9876543210' and return up to 100 records so I can process them in my pipeline."},{"title":"Audit trail for a compliance report","prompt":"Pull hospital pricing change records going back to March 1, 2025 — I need the full change history including source file hashes for each update to document compliance with price transparency rules."}],"resultDescription":"A paginated JSON object containing an array of change records (each with id, entity type, key, changed field, old value, new value, unit, detection timestamp, old/new source SHA256 hashes, and method version) plus a next_cursor string for fetching the next page (null when exhausted).","failureModes":["Invalid since datetime format returns a 400 validation error","Cursor string not matching numeric pattern returns a 400 error","Limit out of range (below 1 or above 100) returns a 400 error","Payment not included or insufficient USDC returns a 402 error","No changes in the requested window returns empty records array with null next_cursor","Rate limiting or server overload may return 429 or 503"],"whenToPreferThis":"Use this endpoint when you need to incrementally track changes to hospital pricing data over time — ideal for change-data-capture pipelines, compliance audits, alerting systems, or any workflow that needs to detect when hospital prices, rates, plans, or source files have been added, updated, or removed. Prefer this over point-in-time price lookup endpoints when you want a changelog rather than a current snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:46.990Z","isFirstParty":false,"canonicalSlug":"hospital-price-file-changes-feed-e1104c24"}