Optimism Token Price API (OP Mainnet) is a paid API for AI agents from x402.donnyautomation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).
Returns real-time USD spot price for any ERC-20 token on Optimism (OP Mainnet) by ticker symbol or contract address, sourced live from SushiSwap and Uniswap v3 pools.
Spot token price in USD on OP Mainnet, read from SushiSwap and Uniswap v3 fee tiers pools at call time. Returns priceUsd, the routed pair, backing liquidityUsd, confidence and blockNumber. Requires ?symbol=TICKER (e.g. OP) or ?token=0xADDRESS. Errors: 400 missing_symbol|unknown_token, 404 no_reliable_price when pools are too thin, 502 upstream_read_failed. Depth is /liquidity; a size-aware quote is /slippage. Chain-pinned; bare /price = BSC.
Returns priceUsd (current USD spot price), the DEX trading pair used to derive the quote (e.g. WETH/USDC on Uniswap v3), the USD liquidity backing the pool, and a confidence rating indicating how reliable the price is relative to pool depth.
GEThttps://x402.donnyautomation.com/optimism/priceUse this endpoint when you need a real-time, on-chain USD price for any ERC-20 token on Optimism (OP Mainnet) — especially when you need confidence ratings and liquidity depth alongside the price, rather than just a raw number. Prefer this over centralized price APIs when you need decentralized, DEX-sourced quotes directly from SushiSwap and Uniswap v3 pools on Optimism. Ideal for trading bots, price oracles, and DeFi dashboards operating on the Optimism L2.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"ts": "2026-07-31T00:00:00.000Z",
"chainId": 10,
"network": "optimism"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"