{"openapi":"3.1.0","info":{"title":"x402 Stablecoin Data Demo","version":"0.1.0","description":"A bounded x402-protected stablecoin intelligence product backed by The Tie's production API."},"paths":{"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"Service is healthy","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["ok"]}}}}}}}}},"/v1/reports/stablecoin-bridge-flows":{"get":{"summary":"Ethereum Tether Bridge Flows — 7 Days","description":"Retrieve a seven-day USD-denominated report of Tether bridge flows on Ethereum. This is a bounded onchain stablecoin intelligence product backed by The Tie's data API.","parameters":[{"name":"chain_uid","in":"query","required":false,"description":"Blockchain network identifier; only Ethereum is supported.","schema":{"type":"string","enum":["ethereum"],"default":"ethereum"}},{"name":"timeframe","in":"query","required":false,"description":"Fixed report lookback window of seven days.","schema":{"type":"string","enum":["7d"],"default":"7d"}},{"name":"currency","in":"query","required":false,"description":"Currency used to denominate report values; only USD is supported.","schema":{"type":"string","enum":["usd"],"default":"usd"}},{"name":"flow_type","in":"query","required":false,"description":"Stablecoin flow category; only bridge flows are supported.","schema":{"type":"string","enum":["bridge"],"default":"bridge"}},{"name":"coin_uid","in":"query","required":false,"description":"Stablecoin identifier; only Tether is supported.","schema":{"type":"string","enum":["tether"],"default":"tether"}}],"responses":{"200":{"description":"Purchased stablecoin bridge-flow report","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["product","generatedAt","data"],"properties":{"product":{"type":"object","additionalProperties":false,"required":["id","name","chainUid","timeframe","currency","flowType","coinUid"],"properties":{"id":{"type":"string","enum":["ethereum-tether-bridge-flows-7d"]},"name":{"type":"string","enum":["Ethereum Tether Bridge Flows — 7 Days"]},"chainUid":{"type":"string","enum":["ethereum"]},"timeframe":{"type":"string","enum":["7d"]},"currency":{"type":"string","enum":["usd"]},"flowType":{"type":"string","enum":["bridge"]},"coinUid":{"type":"string","enum":["tether"]}}},"generatedAt":{"type":"string","description":"ISO 8601 generation timestamp."},"data":{}}}}}},"400":{"description":"Unsupported or malformed query parameters","content":{"application/json":{"schema":{"type":"object","required":["error","requestId"],"properties":{"error":{"type":"string"},"requestId":{"type":"string"}}}}}},"402":{"description":"Payment is required; x402 v2 requirements are returned in the PAYMENT-REQUIRED header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 payment requirements","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"502":{"description":"Production data is unavailable","content":{"application/json":{"schema":{"type":"object","required":["error","requestId"],"properties":{"error":{"type":"string"},"requestId":{"type":"string"}}}}}}}}}}}