{"openapi":"3.1.0","info":{"title":"RoxomTV public HTTP API","version":"1.0.0","description":"Public read-oriented endpoints for market data and news. Admin, cron, push orchestration, and user-specific routes are not listed here; they require secrets or session auth."},"servers":[{"url":"https://rtvwebsite.roxom.tv"}],"paths":{"/api/health":{"get":{"summary":"Service health","operationId":"getHealth","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"}}}}}}}}},"/api/news":{"get":{"summary":"News feed for the site","operationId":"getNews","responses":{"200":{"description":"News payload"}}}},"/api/bitcoin":{"get":{"summary":"Bitcoin market snapshot","operationId":"getBitcoin","responses":{"200":{"description":"Bitcoin data"}}}},"/api/btc-info":{"get":{"summary":"BTC network / mempool style info","operationId":"getBtcInfo","responses":{"200":{"description":"BTC info"}}}},"/api/blockchain":{"get":{"summary":"Blockchain-related info","operationId":"getBlockchain","responses":{"200":{"description":"Blockchain data"}}}},"/api/indices":{"get":{"summary":"Market indices","operationId":"getIndices","responses":{"200":{"description":"Indices data"}}}},"/api/stocks":{"get":{"summary":"Stock quotes list","operationId":"getStocks","responses":{"200":{"description":"Stocks data"}}}},"/api/stocks/{symbol}":{"get":{"summary":"Single stock quote","operationId":"getStockBySymbol","parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stock data"}}}},"/api/proxy-rss":{"get":{"summary":"RSS proxy for feeds","operationId":"getProxyRss","responses":{"200":{"description":"RSS or JSON payload"}}}},"/api/contact":{"post":{"summary":"Contact form submission","operationId":"postContact","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","email","message","turnstileToken"],"properties":{"name":{"type":"string","maxLength":100},"email":{"type":"string","maxLength":254},"message":{"type":"string","maxLength":5000},"turnstileToken":{"type":"string","maxLength":2048,"description":"Cloudflare Turnstile response token"}}}}}},"responses":{"200":{"description":"Submitted"},"400":{"description":"Validation error"},"403":{"description":"Turnstile verification failed"},"413":{"description":"Request body too large (over 10KB)"},"429":{"description":"Rate limited (3 per minute per IP), see Retry-After"}}}},"/api/mediakit-auth":{"post":{"summary":"Media kit password check","operationId":"postMediakitAuth","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}}}}},"responses":{"200":{"description":"Password accepted"},"401":{"description":"Wrong password"},"429":{"description":"Rate limited (5 per minute per IP), see Retry-After"}}}},"/api/newsletter/subscribe":{"post":{"summary":"Newsletter subscription","operationId":"postNewsletterSubscribe","responses":{"200":{"description":"Result"},"400":{"description":"Validation error"}}}}}}