81trust / 100

Eth Price

by AgentFeed in Onchain & crypto

x402 APIPassing, checked 2 h ago

ETH spot price in USD, aggregated across seven independent venues (CoinGecko, Coinbase, Kraken, Binance, OKX, Gemini, DefiLlama). Use when you need to answer: What is ETH worth? Returns the lead figure plus every venue quote that answered, so a caller can see the spread rather than trust one exchange. Venues are ranked in a fixed declared order, not completion order, so identical market state…

GET https://x402.ochinimus.app/api/eth-price

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
74 ms typical, 74 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/eth-price"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Feth-price
const res = await pay("https://x402.ochinimus.app/api/eth-price");
console.log(await res.json());

Example input

{}

Example output

{
  "data": {
    "confidence": null,
    "price": 2685.21,
    "publish_time": null,
    "quotes": [
      {
        "price": 2685.21,
        "source": "coingecko"
      },
      {
        "price": 2688.69,
        "source": "coinbase"
      },
      {
        "price": 2687.1,
        "source": "kraken"
      }
    ],
    "source": "multi:coingecko+coinbase+kraken+binance+okx+gemini+defillama+paprika",
    "symbol": "ETH"
  },
  "paid": true,
  "tool": "get_eth_price"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40287 ms$0.005
8 h agoPassed40274 ms$0.005