{"openapi":"3.1.0","info":{"title":"SML Quant Terminal API","version":"2.0.0","description":"x402-paid (USDC on Base) quant endpoints for AMC, GME and any US ticker. Real market data only."},"servers":[{"url":"https://sml-quant-terminal.onrender.com"}],"paths":{"/v1/decision/{symbol}":{"get":{"summary":"Evidence-gated decision workspace — $0.10 USDC","description":"Real daily/hourly bars, quote provenance, WAIT/SETUP reasons, structural risk/reward and an observation receipt. No simulated prices, order execution or profit claim.","x-x402-price-usd":"0.10","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Paid result (PAYMENT-RESPONSE header carries the settlement receipt)"},"402":{"description":"Payment required (PAYMENT-REQUIRED header)"},"503":{"description":"Data unavailable — not charged"}}}},"/v1/snapshot/{symbol}":{"get":{"summary":"Quant snapshot — $0.02 USDC","description":"Live quote, completed-session levels (20-day ceiling/floor, ATR 14, SMA 20/50/200, pivots, 52-week range, relative volume) and a two-provider close cross-check.","x-x402-price-usd":"0.02","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Paid result (PAYMENT-RESPONSE header carries the settlement receipt)"},"402":{"description":"Payment required (PAYMENT-REQUIRED header)"},"503":{"description":"Data unavailable — not charged"}}}},"/v1/mirror/{symbol}":{"get":{"summary":"Mirror projection — $0.05 USDC","description":"The latest close walked forward through the real session-by-session returns of a past window (default: the ticker's January 2021 squeeze), every projected NYSE session with the real bar it mirrors, plus the first 20-day-ceiling cross. Hypothetical, not a forecast.","x-x402-price-usd":"0.05","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}},{"name":"mirror","in":"query","required":false,"schema":{"type":"string"}},{"name":"anchor","in":"query","required":false,"schema":{"type":"string"}},{"name":"horizon","in":"query","required":false,"schema":{"type":"string"}},{"name":"ceiling","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Paid result (PAYMENT-RESPONSE header carries the settlement receipt)"},"402":{"description":"Payment required (PAYMENT-REQUIRED header)"},"503":{"description":"Data unavailable — not charged"}}}},"/v1/analogs/{symbol}":{"get":{"summary":"Analog scan — $0.05 USDC","description":"The past windows whose daily-return shape best matches the latest window (Pearson correlation over full history) and what really happened 5, 10 and 20 sessions later.","x-x402-price-usd":"0.05","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}},{"name":"window","in":"query","required":false,"schema":{"type":"string"}},{"name":"universe","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Paid result (PAYMENT-RESPONSE header carries the settlement receipt)"},"402":{"description":"Payment required (PAYMENT-REQUIRED header)"},"503":{"description":"Data unavailable — not charged"}}}},"/v1/terminal/{symbol}":{"get":{"summary":"Full terminal — $0.10 USDC","description":"Everything: quote, levels, cross-check, mirror projection with calendar grid, and analog scan in one payload.","x-x402-price-usd":"0.10","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}},{"name":"mirror","in":"query","required":false,"schema":{"type":"string"}},{"name":"anchor","in":"query","required":false,"schema":{"type":"string"}},{"name":"horizon","in":"query","required":false,"schema":{"type":"string"}},{"name":"window","in":"query","required":false,"schema":{"type":"string"}},{"name":"universe","in":"query","required":false,"schema":{"type":"string"}},{"name":"ceiling","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Paid result (PAYMENT-RESPONSE header carries the settlement receipt)"},"402":{"description":"Payment required (PAYMENT-REQUIRED header)"},"503":{"description":"Data unavailable — not charged"}}}}}}