Pay per call. No account, no subscription, no invoice.
214 focused APIs across 12 categories. Each request is paid for with a signed stablecoin authorisation using the x402 protocol on X Layer — a machine can discover a price, pay it, and get an answer without a human ever creating an account.
What makes this different
No fabricated answers
When an upstream source is unavailable, an endpoint returns an explicit error with a stable code. It never returns a plausible-looking figure instead. A wrong number that looks right is worse than no number.
Every figure is computed, not guessed
Money and indicators use decimal arithmetic end to end, with the rounding mode returned in the response so you can reproduce it. On the AI endpoints, the model writes prose and the arithmetic is recomputed and checked against it.
Findings carry their evidence
Security screening names the on-chain fact behind each finding. Summaries quote the source sentence they came from, and a quotation that cannot be located in your own material is dropped rather than published.
Read-only by construction
The platform holds no private key and cannot sign or send a transaction. Every signing and sending RPC method is refused at the provider layer, and a test asserts it. There is no trading, withdrawal or transfer surface to compromise.
Priced per call, in the open
Prices are on every page and in the 402 challenge itself. There is no minimum, no monthly commitment, and no plan to negotiate. The cheapest call is $0.003.
Examples are real output
97 of the response examples on this site were produced by executing the endpoint, not written by hand. The rest say why they cannot be — live data and generated text have no fixed example to show.
Categories
OKX Market Data
20 endpoints
Market Analytics
20 endpoints
Token & Contract Security
20 endpoints
X Layer & DeFi Intelligence
20 endpoints
Agent & Developer Utilities
20 endpoints
Document & File Utilities
20 endpoints
Image, SVG, QR & Barcode
20 endpoints
Web & SEO Intelligence
20 endpoints
Kurdish, Arabic & Text Utilities
20 endpoints
Business & Financial Calculators
10 endpoints
Petroleum Engineering Calculators
10 endpoints
AI-Enhanced Services
14 endpoints
Popular endpoints
OKX Market Ticker
Latest traded price, best bid/ask, 24-hour open, high, low and volume for one OKX instrument.
OKX Funding Rate History
Historical realised funding rates for a perpetual swap over a requested window.
Open Interest Change
Absolute and percentage change in open interest over a window, aligned with the matching price change to classify build-up versus unwind.
Liquidation Pressure
Screening indicator combining open-interest change, funding extremity and realised volatility. Informational only — not a liquidation forecast.
Order Book Imbalance
Bid/ask depth imbalance at several depth bands, exposing where book pressure sits rather than collapsing it to one number.
Slippage Estimate
Walks the live order book to estimate fill price, average price, slippage in basis points and depth consumed for a given notional.
Correlation Matrix
Pearson and Spearman correlation matrix of log returns across up to twenty instruments, with the aligned sample count per pair.
Market Regime Classification
Classifies the current regime (trending, ranging, volatile expansion, compression) from volatility, trend-strength and range statistics, returning every input.
Proxy Pattern Detection
Detects EIP-1967, EIP-1822, beacon and minimal-proxy patterns by reading the standard storage slots and matching known bytecode shapes.
How paying works
Call an endpoint with no payment. It answers 402 Payment Required with
a challenge naming the price, the asset, the chain and the recipient. Sign an
authorisation for exactly that, retry with it in the X-PAYMENT header,
and you get the result. Settlement happens only after the work succeeds — a request
that fails is not charged for.