{"openapi":"3.1.0","info":{"title":"Seiche Public API","version":"0.9.1","description":"Curated funding-stress data; v1 remains the US dollar alias. Research data, not investment advice."},"servers":[{"url":"https://api.seiche.info"}],"externalDocs":{"description":"MCP and API quickstart","url":"https://seiche.info/developers"},"paths":{"/api":{"get":{"operationId":"discoverSeicheApi","summary":"Discover the public Seiche integration surface","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/health":{"get":{"operationId":"getSeicheHealth","summary":"Read cached service and data-source health","description":"Reads only the last completed board snapshot. A restart can serve a dated last-known-good snapshot while rebuilding. A cold cache, or require_rebuilt=true before this process has completed its own build and sealed its market evidence, returns 503 immediately. This request never starts or waits for a board build.","parameters":[{"name":"require_rebuilt","in":"query","required":false,"description":"Deployment gate: require a snapshot completed by the current process with both US market products sealed, rather than a restored handoff or a degraded rebuild.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"503":{"description":"Snapshot cache is warming or unavailable","headers":{"Retry-After":{"description":"Suggested seconds before retrying","schema":{"type":"string"}},"Cache-Control":{"description":"Unavailable health must not be cached","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["status","version"],"properties":{"status":{"type":"string","enum":["warming_or_unavailable","rebuilding_from_last_known_good","rebuilt_without_market_evidence"]},"version":{"type":"string"},"serving_generated_at":{"type":["string","null"]}},"additionalProperties":false}}}}}}},"/api/gauge":{"get":{"operationId":"getFundingStressGauge","summary":"Read the compact current funding-stress gauge","description":"The smallest stable contract for dashboards, alerts and risk pipelines.","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/markets":{"get":{"operationId":"listMonetaryAreaPacks","summary":"List registered monetary-area packs and capabilities","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/markets/{market_id}/overview":{"get":{"operationId":"getMarketOverviewV2","summary":"Read the latest sealed local-market overview","parameters":[{"name":"market_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"503":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/markets/{market_id}/gauge":{"get":{"operationId":"getLocalSeicheGaugeV2","summary":"Read the latest sealed local Seiche gauge","parameters":[{"name":"market_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"503":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/markets/{market_id}/asof/{timestamp}":{"get":{"operationId":"getMarketOverviewAsOfV2","summary":"Read the last sealed market overview knowable by a timestamp","parameters":[{"name":"market_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"timestamp","in":"path","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/markets/{market_id}/series":{"get":{"operationId":"getCanonicalMarketSeriesV2","summary":"Read canonical, licence-aware market observations","parameters":[{"name":"market_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"n","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":5000,"default":1000}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/global/tide":{"get":{"operationId":"getGlobalSeicheTideV2","summary":"Read cross-basin synchronization and transmission","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/v2/coverage":{"get":{"operationId":"getMarketCoverageV2","summary":"Read per-market data, capability and connector coverage","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/public":{"get":{"operationId":"getPublicFundingStressRecord","summary":"Read the argument, countercase, data quality and PROOF scoreboard","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/oil-funding":{"get":{"operationId":"getOilFundingContext","summary":"Read oil, energy-futures and dollar-funding cash pressure","description":"Chartless observed spot/funding evidence, Ballast's bounded WTI/Henry Hub gross cash-displacement ledger, live Cushing and Brent−WTI observations separated from dated capacity, benchmark and chokepoint references, and explicitly scenario-only cargo, margin and India arithmetic.","responses":{"200":{"description":"Successful versioned context response","content":{"application/json":{"schema":{"type":"object","required":["schema"],"properties":{"schema":{"type":"string","const":"seiche.oil-funding.v1"}},"additionalProperties":true}}}}}}},"/api/estuary":{"get":{"operationId":"getFxMaterialsPassage","summary":"Read FX/material pressure and holdout-tested Passage links","description":"Compares upstream FX and physical-material cash pressure with funding already priced; context only, never a composite input.","responses":{"200":{"description":"Successful versioned context response","content":{"application/json":{"schema":{"type":"object","required":["schema"],"properties":{"schema":{"type":"string","const":"seiche.estuary.v1"}},"additionalProperties":true}}}}}}},"/api/series/index.json":{"get":{"operationId":"listPublicSeries","summary":"List downloadable public time series","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/undertow/live/quotes.json":{"get":{"operationId":"getRealtimeVenueMicrostructure","summary":"Read the relayed crypto venue microstructure packet","description":"Binance spot and USD-M futures data relayed by Undertow. This clock is separate from the official macro publication clocks.","responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/asof/{date}":{"get":{"operationId":"getFundingStressAsOf","summary":"Replay the public board as of a UTC date","parameters":[{"name":"date","in":"path","required":true,"description":"UTC date in YYYY-MM-DD form","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Successful JSON response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"No record for that date"}}}}}}