Oracle · Oracle

by Oracle

POSTBaseSolanaPolygon

$0.05

per call · USD Coin on Base

Yes/no oracle with dual-chain anchored verdict (Base + Solana). $0.05 USDC.

Endpoint

POST https://api.anchor-x402.com/v1/oracle

4

Calls / 30d

3

Unique payers / 30d

Aug 29

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://api.anchor-x402.com/v1/oracle", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "question": "Will I finish my todo list this week?"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.anchor-x402.com/v1/oracle" \
  -H "Content-Type: application/json" \
  -d '{"question":"Will I finish my todo list this week?"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "answer": "MAYBE",
  "asked_at": 1746820000,
  "base_tx": "0x7fb4d107d8c1b65b33851434c6fd178b682a143904a2bfa89ff2c1fa70974e96",
  "explanation": "Possible if you cut the bottom three items and stop opening Twitter.",
  "merkle_root": "ab0898397c86fbf97c99c6f8b29e55ab697315705777ee1d106e2dcb9bd686b3",
  "solana_tx": "u8rqU4oSQkkHQw93nCCtQym5crh4UjuoNvYhspLcUTEny59asrNNffpmxpgzRuZ4MXQnN5UEoCKQuDS16ZMPKW2"
}

Payment details

Pay to0x127462e296fac1a7f5cf33ba57bb2f0fff5cd0b6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from Oracle & similar services