Ozmium Agent API
activeDo what a human does in the Ozmium app- from your agent's OWN wallet, for two cents a call. Skip browser automation and vision tokens: read and sign real Base mainnet (eip155:8453) DeFi as machine-readable, NON-CUSTODIAL calldata (no keys, no custody, no SDK). Live two-venue prices (Coinbase spot + the gTrade mark/index the venue actually fills at- their spread is tradeable divergence), full…
Settled via Coinbase.
- Transactions · 30d
- 0
- Volume · 30d
- $0.00
- Unique buyers · 30d
- 0
- Uptime · 30d
- 100.0%
- Latency p50
- 84ms
- Reported calls · 30d
- 326
Endpoints (69 live)
GET/v1/candles— OHLC history with window extremes (highest high / lowest low over the window). Crypto via Coinbase (GET /v1/candles?product=ETH-USD&days=30; hourly bars <= 7d, six-hour <= 31d, daily <= 350d). Metals / indices / forex / stocks via ?sym=XAU&cls=Commodities["e=USD]. Returns { productId, days, high, low, candles, series: [[startSec, open, high, low, close], ...] } oldest first. Full details: GET /v1. (0.001 USDC on Base)GET/v1/arbitrage— Ranked, fee-netted arbitrage routes into a target token on Base. For a USD budget we price the REAL executable swap (Coinbase CDP Trade API, no liquidity reserved) from every liquid input (USDC = the DEX-vs-Coinbase venue arb; ETH/WETH/cbETH/cbBTC/cbADA/cbXRP = cross-asset arbs), value the worst-case min-out against an INDEPENDENT Coinbase reference price, subtract gas + protocol fees, and rank by NET dollars captured. Full details: GET /v1. (0.01 USDC on Base)GET/v1/crowd— Live gTrade crowd positioning — where the money on the venue actually sits, right now. Per pair: long vs short split (%, USD both sides, total book) plus bookSharePct, each pair's share of the WHOLE Gains open book (the conviction coefficient: 90% long on a pair holding 4% of the venue's money is a strong pack; the same split on an ignored pair is noise). Venue totals included (long/short/book USD, overall long %, pairs with OI). Full details: GET /v1. (0.001 USDC on Base)POST/v1/tx/stocks— Executable buy or sell of a Coinbase tokenized stock on Base for USDC: ordered { to, data, value } steps (ERC-20 approve when short, then Uniswap V3 exactInputSingle on the deepest pool) the agent's own wallet signs, with the quote as advisory. POST /v1/tx/stocks { sym (NVDAc), side (buy|sell), amount (human: USDC to spend or shares to sell), taker, slippageBps? }. Not for U.S. persons (Regulation S). (0.001 USDC on Base)GET/v1/risk/pairs— The tradeable Gains Network (gTrade) crypto pair universe on Base: on-chain pairIndex, symbol, and the FULL leverage band per pair- maxLeverage, minLeverage (10x on forex, 2x on metals; below it the contract reverts), and openable, which is false for the ~300 listings the venue currently refuses to open at any size. USDC-collateralized synthetic exposure- any pair trades without holding the asset. GET /v1/risk/pairs. (0.001 USDC on Base)GET/v1/signals— EXPERIMENTAL / WIP- an early, unproven BUY/SELL signal feed (no established out-of-sample edge, not advice); corroborate with news + cross-asset context before acting. Full details: GET /v1. (0.001 USDC on Base)GET/v1/prices— Live prices from TWO labeled venues per symbol: Coinbase exchange spot (+ 24h stats) AND the gTrade venue leg { gains: { pairIndex, mark, index } } — mark is what fills on Gains, index is the oracle spot liquidations use. Same feeds the human chart runs on; the cross-venue spread between them is real, tradeable divergence (lead/lag arbitrage). Covers Gains-listed symbols Coinbase lacks (e.g. Full details: GET /v1. (0.001 USDC on Base)GET/v1/loan/markets— Every listed Morpho Blue market on Base: marketId, full MarketParams (loanToken, collateralToken, oracle, irm, lltv- the id is re-derived and asserted, wrong-market proof), live borrow APY, and LLTV. The input universe for /v1/tx/loan. GET /v1/loan/markets. (0.001 USDC on Base)GET/v1/stocks— Coinbase's tokenized U.S. stocks on Base (B20): each token's contract, underlying ticker, live Chainlink 24/5 price (USD) with updatedAt, and minted supply (0 = no secondary liquidity yet; the quote decides). GET /v1/stocks. Secondary trading is permissionless on-chain; Regulation S, not for U.S. persons or other restricted jurisdictions. (0.001 USDC on Base)GET/v1/stats/1— Aggregate trading scorecard for any Base address from its closed leverage history: trades, wins/losses, win rate, net USD, gross profit / loss, profit factor, mean R-multiple expectancy, avg win / loss, best / worst trade. GET /v1/stats/{address}. The "am I actually good" read- and the input to a risk-sizing agent. (0.001 USDC on Base)GET/v1/loan/analysis/1— What THIS wallet should do about its lending book — the lending equivalent of /v1/ideas, where /v1/loan/markets only describes the markets. GET /v1/loan/analysis/{address}. Joins live Morpho borrows and vault deposits, then states the risk plainly: suppliedUsd, debtUsd, netUsd, the WORST health factor across positions (the one that liquidates first), and a verdict. A null healthFactor means no debt on that market, not an unreadable one. (0.01 USDC on Base)GET/v1/pending-orders/1— On-chain PENDING Gains orders for any Base address, read directly from the diamond (the keyless backend returns them empty, which is why a stranded market order looks like lost funds). Each: orderIndex, pairIndex, symbol, side, leverage, locked collateral (USDC), trigger price, and orderType (0=MARKET_OPEN). Full details: GET /v1. (0.001 USDC on Base)GET/v1/positions/1— Live Morpho Blue borrow positions (collateral, debt, health factor, liquidation distance), Morpho vault deposits (APY, earnings), Gains Network open leveraged trades (pair, direction, leverage, entry, TP/SL), and on-chain PENDING orders (incl. stranded market orders the keyless backend hides) for any Base address. GET /v1/positions/{address}. (0.001 USDC on Base)GET/v1/portfolio/1— Every ERC-20 + native ETH a Base address holds (Blockscout-indexed, spam-screened) with confidence-gated USD values: usd is null when no reliable price exists- NEVER a fabricated 0. GET /v1/portfolio/{address}. (0.001 USDC on Base)GET/v1/ta/1— EXPERIMENTAL / WIP- an early, unproven signal feed (no established out-of-sample edge, not advice); corroborate with news + cross-asset context before acting. Full details: GET /v1. (0.005 USDC on Base)GET/v1/ideas/asset/1— Does a NAMED market have a worthwhile leverage edge RIGHT NOW- and what would be BETTER to do instead / as a hedge? For one symbol: the composite technical signal + 52-week range + momentum -> the stronger of a long or short thesis (or none), with direction, range-survival leverage, entry / stop / target / liquidation, edge, projected return-on-margin, min collateral, and the /v1/tx/risk/open inputs- PLUS its rank across the whole cross-category field and Full details: GET /v1. (0.001 USDC on Base)GET/v1/history/1— Closed leverage round-trips for any Base address from the Gains first-party history: pair (base + quote legs), side, leverage, collateral, open/close price, realized PnL + PnL%, close reason (take-profit / stop-loss / liquidation / manual), open/close tx hashes, and timestamps. GET /v1/history/{address}. Newest first, USDC-collateralized trades. (0.001 USDC on Base)GET/v1/chart/1— The Ozmium broadcast chart as data, exactly as it is on air. One call returns the market's bars on ten timeframes (1m 5m 15m 1H 4H 6H 1D 1W 1M 1Y) with indicator warmup included, every single-formula technical reading with its current value, the live mark, and Ozwald's Signal with its entry, target and stop. Published every second by the live broadcast engine, so the numbers are the ones being rendered rather than a recomputation. Full details: GET /v1. (0.005 USDC on Base)GET/v1/loan/fixed— Every live Morpho Midnight fixed-rate, fixed-term book on Base: marketId, tokens, LLTV, oracle, maturity, and both sides implied APRs (borrow = best bid, lend = best ask). The Wonderful Credit of Oz (the planned low-rate OZ lending program, venue in review) is announced and listed when books come live. The input universe for /v1/tx/fixed. GET /v1/loan/fixed. (0.001 USDC on Base)GET/v1/earn/vaults— Every listed Morpho (MetaMorpho ERC-4626) vault on Base: address, underlying asset (address/symbol/decimals), live net APY, and TVL. The input universe for /v1/tx/earn. GET /v1/earn/vaults. (0.001 USDC on Base)
+49 more endpoints.
First seen · last seen · last active