T

The Undesirables Oracle · Coin History

by The Undesirables Oracle

GETBaseSolanaFraxtal

$0.05

per call · USD Coin on Base

Historical token price forecaster: fetches OHLC (Open, High, Low, Close) data from CoinGecko and projects forward trajectories with percentile forecasts. Uses Merton Jump-Diffusion modeling for this crypto-native asset class.

Endpoint

GET https://oracle.the-undesirables.com/api/v1/coin-history

1

Calls / 30d

1

Unique payers / 30d

Aug 26

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://oracle.the-undesirables.com/api/v1/coin-history", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://oracle.the-undesirables.com/api/v1/coin-history?coin_id=ethereum" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "current_price": 63000.5,
  "forecast": {
    "50th_percentile": 67000.1,
    "95th_percentile": 85000.3
  },
  "model_params": {
    "diffusion_sigma": 0.65,
    "drift_mu": 0.08,
    "jump_intensity_lambda": 3.5
  },
  "status": "ok"
}

Payment details

Pay to0x642e8a7c289381f24f0395e0539f0ba41c74cc1b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Fraxtal
Schemesexact

Is this your API?

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

Get featured →

More from The Undesirables Oracle & similar services