VeztaVezta
Architecture

Controller Inventory

Inventory of the NestJS controllers grouped by domain (50+ REST controllers plus internal webhook/metrics endpoints)

This page lists every controller in the Vezta backend, grouped by functional domain. Each entry shows the controller name, route prefix, and a brief description of its purpose.

Auth & Access

ControllerPrefixPurpose
AuthController/api/v1/authWallet nonce/verify, JWT refresh, Google OAuth, access key activation, logout
TelegramBotController/api/v1/telegram-botInteractive trading bot: webhook, account linking
UserController/api/v1/userProfile, email verification, preferences, API keys, connected wallets, onboarding
KycController/api/v1/kycKYC verification: document upload, selfie, DFlow identity checks
PushNotificationController/api/v1/pushFirebase FCM device token registration
WaitlistController/api/v1/waitlistWaitlist signup, status check, tweet verification, stats

Market Data

ControllerPrefixPurpose
MarketControllerGET /api/v1/marketsBrowse, search, detail, charts, order books, comments, holders, activity, crypto prices
TrendingTabsControllerGET /api/v1/trending-tabsDynamically-sourced trending market tabs
EventsControllerGET /api/v1/eventsEvent groups, categories, multi-market event charts
MatchControllerGET /api/v1/matchesSports and esports match listings, leagues
CalendarControllerGET /api/v1/calendarCalendar events with associated prediction markets
SearchControllerGET /api/v1/searchUnified search across markets, events, and traders
MarketIntelControllerGET /api/v1/market-intelPolymarket top events and activity
AnalyticsControllerGET /api/v1/analyticsProtocol overview, per-protocol breakdown, multi-chart data
ArbitrageMatchControllerGET /api/v1/markets/arbitrageCross-platform arbitrage groups (Polymarket ↔ Kalshi)
FeedController/api/v1Aggregated news feed
AppVersionControllerGET /api/v1/appVersion check by platform
SportsStatsController/api/v1ESPN live scores, standings, prematch/resolve
StandingsController/api/v1/standingsLeague standings snapshots
WeatherController/api/v1/weatherWeather / temperature markets
ContestController/api/v1/contests/wc-oracleWorld Cup oracle contest entries/standings

Trading

ControllerPrefixPurpose
TradingController/api/v1/ordersOrder placement, management, cancel, TP/SL, DFlow confirmation
DflowProxyControllerGET /api/v1/dflowDFlow on-chain order proxy: order creation, status, market init
MergeSplitControllerPOST /api/v1/merge-splitPolymarket conditional token merge and split
SniperController/api/v1/sniper/ordersSniper order CRUD: create, list, update, cancel
CounterTradeController/api/v1/counter-tradeCounter trade rule configs: create, list, update, delete
ArbitrageControllerGET /api/v1/arbitrageCross-venue arbitrage opportunity listing
TradingRebatesController/api/v1/tradingMaker-rebate / LP-reward stats and claims
ComboController/api/v1/comboMulti-leg combo / parlay trade placement and status
ComboCatalogController/api/v1/combosCombo catalog listings and eligibility

Portfolio & Account

ControllerPrefixPurpose
PortfolioController/api/v1/portfolioPositions, orders, watchlist, PnL chart, calendar, resolved market claims, TP/SL
AccountController/api/v1/accountDeposits, withdrawals, fiat on-ramp, transactions, CSV export
SubWalletController/api/v1/walletSub-wallet management: create, fund, withdraw, approve tokens, export key

Social & Tracking

ControllerPrefixPurpose
LeaderboardController/api/v1/leaderboardGlobal rankings, biggest wins, Kalshi-only, trader profiles
TrackerController/api/v1/trackerWallet tracker: feed, add/remove wallets, suggested wallets, top-100, bubble map
WalletListController/api/v1/wallet-listsCustom address lists: create, add entries, preview, trades
CopyTradeController/api/v1/copy-tradeCopy trading: subscribe, manage subscriptions, history, performance
ActivityController/api/v1/activityUser activity feed

Signals & Monitoring

ControllerPrefixPurpose
MonitorController/api/v1/monitorMarket signals, system stats, DB health
InsiderSignalsController/api/v1/insider-signalsInsider signal feed, user feedback submission
AiPredictionsController/api/v1/ai-predictionsAI prediction listing, stats, individual prediction detail
AlertsController/api/v1/alertsPrice alert CRUD: create, list, update, delete

Content & Rewards

ControllerPrefixPurpose
ShareCardController/api/v1/share-cardPnL cards, market cards, background management
PublicShareCardController/api/v1/share-card/publicPublished card retrieval and metadata
OgPnlController/api/v1/ogPnL image and animated MP4 generation
BackgroundController/api/v1/share-card/backgroundShare card background presets, upload, presign, finalize
RewardsController/api/v1/rewardsPoints dashboard, missions, challenges, referrals, access keys, leaderboard
NotificationController/api/v1/notificationsIn-app notifications: list, mark read, dismiss

Agent & Research

ControllerPrefixPurpose
AgentController/api/v1/agentIn-app AI chat: SSE streaming, conversations, models, preferences, feedback, transcribe
ResearchController/api/v1/researchStructured probability-estimation research pipeline

Admin & Utility

ControllerPrefixPurpose
AdminController/api/v1/adminDashboard, user management, access keys, positions, analytics, waitlist, revenue
HealthControllerGET /api/v1/healthService health check with runtime diagnostics
HelpControllerGET /api/v1/helpFAQ and help content
TelemetryControllerPOST /api/v1/telemetryFrontend telemetry ingestion (web vitals, FPS, errors)
MetricsControllerGET /metricsPrometheus metrics scrape endpoint
AlchemyWebhookControllerPOST /api/v1/webhooks/alchemyAlchemy address-activity webhook (deposit detection)

On this page