A

Aiagentoracle · Price

by Aiagentoracle

GETBase

$0.01

per call · USD Coin on Base

AgentOracle: latest spot price for a single token by ticker symbol — minimal payload (`{ symbol, priceUsd, asOf }`) optimised for high-frequency polling agents. Case-insensitive symbol; returns 404 for unknown symbols.

Endpoint

GET https://aiagentoracle.ai/api/v1/price/:symbol

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://aiagentoracle.ai/api/v1/price/:symbol", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://aiagentoracle.ai/api/v1/price/:symbol" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "asOf": "2025-12-31T23:59:30Z",
  "priceUsd": 3421.55,
  "symbol": "ETH"
}

Payment details

Pay to0x2fecabdfc849c76fdc28ca13aa0ab392753ef35c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Aiagentoracle & similar services