OIOption API Reference

OIOption authenticated product API

A production-oriented REST reference for authorized product data, signal intelligence, risk state, account configuration and operational monitoring.

System API
https://oioption.com/app/api

Authenticated dashboard, market data, risk and monitoring. Trading routes are enterprise-only.

Landing API
https://oioption.com/api/v1

Public market research, account, payment, user API-key configuration and RFQ.

Browser same-origin
/app/api/* or /api/v1/*

Recommended for frontend clients.

The public website, system frontend and API gateway are separated. Browser traffic should use the same-origin paths below.

Authentication

This is a product API, not an unrestricted developer API. Public OIOption market routes expose delayed research observations; account, signal history, risk state and system data require an active plan. Trading connectivity is enterprise-only and requires a separate written scope and review.

Plan-gated access

If a user has not purchased a plan, or the plan has expired, protected API requests are rejected. Trading endpoints, private deployment, source-code delivery and custom integrations are not standard-subscription entitlements; they require enterprise authorization, technical review and compliance review.

Cookie session

Default browser session for website and dashboard users.

Bearer token

Authorization: Bearer <access_token>

Endpoint groups

Public System Flows

Only login/session bootstrap and lightweight health checks are public flows. They do not grant market, signal, risk or trading data access.

6 endpoints
MethodEndpointAuthDescription
GET/api/pingPublic flowLightweight service health check.
POST/api/auth/loginPublic flowCreate a browser session after account authentication.
POST/api/auth/exchange-ssoPublic flowExchange a one-time SSO code for a system session.
POST/api/auth/refreshPublic flowRefresh an existing access session.
GET/api/auth/sessionUserReturn current authenticated user and plan scope.
POST/api/auth/logoutUserClear browser session cookies.

Market Data

Options, VIX, OHLCV, net-position, visualization and news data used by the dashboard and research workflow.

11 endpoints
MethodEndpointAuthDescription
GET/api/data/options/recentUserRecent normalized options rows.
GET/api/data/options/statisticsUserOptions statistics and summary metrics.
GET/api/data/options/table-countsUserData table counts for operational visibility.
GET/api/data/kline/ohlcvUserOHLCV candles for supported underlyings.
GET/api/data/net-positions/snapshotUserLatest net-position snapshot.
GET/api/data/net-positions/gridUserNet-position grid for strike/expiry structure.
GET/api/data/visualization/anomaliesUserAnomaly visualization data.
GET/api/data/visualization/vol-surfaceUserVolatility surface data.
GET/api/data/trading/vix/historyUserVIX history records.
GET/api/data/trading/vix/signal/latestUserLatest VIX-derived signal.
GET/api/data/news/recentUserRecent macro and market news context.

Public OIOption Market API

Public, delayed research endpoints used by the OIOption marketing site. These routes expose market observations only; they do not grant account, order or trading access.

11 endpoints
MethodEndpointAuthDescription
GET/api/v1/market/options/metaPublic flowSupported underlyings, option types, sort modes, source weights and venue heartbeat metadata.
GET/api/v1/market/options/summary?underlying=BTCPublic flowAggregated BTC/ETH option summary with asOf, ATM IV, total OI, 24h volume, source coverage and stale-row count.
GET/api/v1/market/options/snapshot?underlying=BTC&type=all&expiry=all&sortBy=oi&hideStale=false&limit=1500Public flowAggregated option chain rows with bid/ask/mark, IV, Greeks, openInterest, volume24h, spreadPct, updatedAt and stale.
GET/api/v1/market/options/stream?underlying=BTC&type=all&expiry=all&sortBy=oi&hideStale=false&limit=1500Public flowServer-sent event stream for the same aggregated option snapshot filters.
GET/api/v1/market/kline/ohlcv?symbol=BTC&timeframe=1h&limit=120&exchange=okxPublic flowPublic OHLCV candles with asOf, cached and stale indicators.
GET/api/v1/market/search-trends?geo=US,GBPublic flowPublic search-interest trend observations for supported geographies.
GET/api/v1/market/equity/options-universePublic flowValidated US-equity option universe and capability metadata.
GET/api/v1/market/equity/options-chain?symbol=SPY&limit=20000Public flowDelayed US-equity option chain; numeric fields include an observation quality marker.
GET/api/v1/market/equity/market-summaryPublic flowDelayed QQQ/SPY/DIA benchmark regime summary with coverage and option breadth.
GET/api/v1/market/equity/options-turnover-breadthPublic flowDelayed top-symbol option turnover, OI and session-volume breadth summary.
GET/api/v1/onchain-whale/publicPublic flowPublic delayed BTC/ETH whale-rank flow research payload.

Signals & Decisions

Signal history, doomsday options evaluation, Eagle fusion decision output, and strategy signal records.

9 endpoints
MethodEndpointAuthDescription
GET/api/data/signals/recentUserRecent signal events.
GET/api/data/signals/historyUserSignal history series.
GET/api/data/signals/doomsday/evaluateUserDoomsday options signal evaluation.
GET/api/data/signals/doomsday/historyUserHistorical doomsday signal rows.
GET/api/data/eagle-decision/fusionUserEagle decision fusion output.
GET/api/data/trading/portfolioEnterprise tradingTrading portfolio data view.
GET/api/data/trading/strategy-signalsEnterprise tradingStrategy signal records by strategy/underlying.
GET/api/strategy/statusEnterprise tradingStrategy runtime status.
GET/api/strategy/signalsEnterprise tradingRecent strategy-level signals.

Trading Execution

Enterprise-only live execution endpoints. These are not a public developer API and require separate written scope, technical review, compliance review, user scoping, risk controls and audit logging.

14 endpoints
MethodEndpointAuthDescription
GET/api/trading/realtime-priceEnterprise tradingRealtime underlying price.
GET/api/trading/sr-levelsEnterprise tradingSupport/resistance levels.
GET/api/trading/positionsEnterprise tradingScoped open positions.
GET/api/trading/orders/activeEnterprise tradingScoped active orders.
GET/api/trading/orders/recentEnterprise tradingRecent order history.
POST/api/trading/execute/buy-optionEnterprise tradingOption buy IOC/taker execution.
POST/api/trading/execute/buy-from-supportEnterprise tradingSR support-side execution.
POST/api/trading/execute/sell-from-resistanceEnterprise tradingSR resistance-side execution.
POST/api/trading/positions/close-longEnterprise tradingClose scoped long exposure.
POST/api/trading/positions/close-shortEnterprise tradingClose scoped short exposure.
POST/api/trading/positions/reduceEnterprise tradingReduce scoped position by percentage.
GET/api/trading/order-eventsEnterprise tradingOrder execution audit events.
GET/api/trading/option-scanEnterprise tradingAutomated option candidate scan.
GET/api/trading/signal-gate/historyEnterprise tradingSignal gate decision history.

Risk & Controls

Risk control state, circuit breakers, tactical controls, global hedge status, and emergency shutdown.

13 endpoints
MethodEndpointAuthDescription
GET/api/risk/strategy-controller/statusUserPer-user strategy controller status.
POST/api/risk/strategy-controller/toggleUserEnable/disable user strategy controller.
GET/api/risk/controls/statusUserRisk control status.
POST/api/risk/controls/toggleAdminToggle global risk controls.
GET/api/risk/circuit-breaker/statusUserCircuit breaker state.
POST/api/risk/circuit-breaker/resetUserReset user circuit breaker state.
GET/api/risk/tactical-cb/statusUserTactical circuit breaker state.
GET/api/risk/vix/statusUserVIX factor status.
GET/api/risk/systemic/statusUserSystemic risk state.
GET/api/risk/global-hedge/statusUserGlobal hedge status.
GET/api/risk/emergency/statusUserEmergency shutdown status.
POST/api/risk/emergency/triggerAdminTrigger emergency shutdown.
POST/api/risk/emergency/resetAdminReset emergency shutdown.

System & Configuration

System status, monitoring, scheduler visibility, configuration and credential metadata.

12 endpoints
MethodEndpointAuthDescription
GET/api/system/healthUserSystem health view with role-based redaction.
GET/api/system/statsUserSystem statistics.
GET/api/system/control-planeUserControl-plane snapshot.
GET/api/system/exchange-statusUserExchange connection and freshness status.
POST/api/system/cache/clearAdminClear cache by feature.
GET/api/monitor/scheduler/statusUserScheduler status.
GET/api/monitor/scheduler/tasksUserScheduler task list.
GET/api/monitor/signal-modules/statusUserSignal module health.
GET/api/config/me/credentialsUserCurrent user credential metadata, never raw secrets.
GET/api/config/strategiesAdminStrategy configuration summary.
GET/api/config/signalsAdminSignal configuration.
POST/api/config/signalsAdminUpdate signal configuration.

Landing Account API

Account and license surfaces used to enter the Eagle Eye system and manage exchange API-key metadata.

6 endpoints
MethodEndpointAuthDescription
POST/api/v1/auth/loginPublic flowLanding account login.
POST/api/v1/auth/generate-sso-codeUserGenerate one-time SSO code for system entry.
GET/api/v1/user/dashboardUserDashboard account/license status.
POST/api/v1/user/api-settingsUserSave encrypted exchange API credentials.
GET/api/v1/user/api-settingsUserList masked exchange API settings.
POST/api/v1/user/test-connectionUserTest exchange API credentials.

Request examples

Login and create browser session

curl -X POST https://oioption.com/app/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"desk@example.com","password":"********"}'

Read recent signal events

curl https://oioption.com/app/api/data/signals/recent?limit=50 \
  -H "Authorization: Bearer <access_token>"

Read public aggregated option data

curl "https://oioption.com/api/v1/market/options/snapshot?underlying=BTC&type=all&expiry=all&sortBy=oi&hideStale=false&limit=1500" \
  -H "Accept: application/json"

Exchange API key setup

OIOption connects to exchanges using official APIs. Use read-only keys by default. Trading keys are never required for public research and are only permitted under an explicitly approved enterprise workflow. Withdrawal permission is never required.

OKX

Read-only by default. Trading permission is restricted to an explicitly approved workflow. Never enable Withdraw.

Deribit

Read for analytics. Use read_write only under an explicitly approved enterprise trading workflow.

Binance

Read info by default. Trading permission requires explicit product authorization.

Rate limits & errors

All APIs are protected by rate limits. If the request frequency exceeds the limit, the API returns an error response. Reduce request frequency before retrying.

Production note

Trading APIs are live-money surfaces. Human operators should control global switches and strategy switches; strategy execution itself is automated and must be governed by risk controls, audit logs and exchange-side API permissions.