Skip to content
Fourohtwo

Spot price

x402.ochinimus.app/api/price

Spot price: the on-chain DEX price for SOL, BTC or ETH, the median of deep USDC pools on Solana, Ethereum and Base read from chain state, and the pools that served it. Use when you need to answer: What is the spot price, without picking a venue? Any other symbol answers 400 with the supported list and is never billed.

SolanaBasePolygonArbitrumArcOptimismAnswering
GEThttps://x402.ochinimus.app/api/price

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.ochinimus.app/api/price?symbol=SOL");
console.log(await res.json());

Example input

{
  "symbol": "SOL"
}

More from AgentFeedProvider status