How to build with
KTA Oracle.
Everything you need - from registering your wallet and setting up live price alerts to tracking whale movements and integrating AI agents into your pipeline.
Get started in under 2 minutes
No complex password authentication or credit card forms. Your identity and access tier are bound directly to your Keeta wallet address.
Get a Keeta Wallet
Download the official Keeta Wallet (supporting instant 0.4s finality on Keeta L1), get native KTA via Antara, or acquire KTA via Coinbase, Kraken, or Phantom.
Activate your Tier (Free Trial or 10 to 600 KTA)
Free trial includes 8 public SDK tools with zero authentication. Sending KTA to the official oracle address activates Starter (10 KTA), Social (50 KTA), Pro (300 KTA), or Business (600 KTA). Optional 0.1 KTA activates 5-day trial webhook alerts. Contributions accumulate across multiple transfers.
Connect Alerts & Query Data
Plug your webhook URLs (Discord channel, Telegram bot, Slack or X) into your dashboard or call any of the 29 REST endpoints with your wallet parameter.
Real-time alerts on your favorite channels
KTA Oracle monitors the Keeta mempool and ledger 24/7. When a price shift or whale transaction occurs, alerts land in your channels in less than 800 milliseconds.
Discord Webhook Delivery
Paste your Discord channel webhook URL into the alert broadcaster. Includes rich embeds, price charts, and whale transaction source/destination tags.
{"platform":"discord","webhook":"https://discord.com/api/webhooks/..."}
Telegram Bot Feed
Connect your private channel or trading alpha group. The bot sends instant push notifications with formatting optimized for mobile reading.
{"platform":"telegram","chat_id":"@your_alpha_channel"}
Whale Detection Thresholds
Configure custom transaction volume filters. Filter out micro-swaps and only trigger alerts for institutional moves exceeding 50,000 or 250,000 KTA.
X / Twitter Automated Posts
For community leaders and media accounts: automatically broadcast milestone announcements, ATH notifications, and daily recap graphics.
{"platform":"x","trigger":"daily_recap"}
High-density REST & WebSocket Endpoints
No rate-limiting headaches or unpredictable pricing spikes. Low latency edge delivery with verified deterministic pricing.
| METHOD | ENDPOINT | TIER REQUIRED | x402 RATE | TYPICAL LATENCY | DESCRIPTION |
|---|---|---|---|---|---|
| GET | /price | Free (0 KTA) | Free Public (0 KTA) | < 12ms | Spot KTA/USD, 1h/24h deltas, 24h volume |
| GET | /rate | Free (0 KTA) | Free Public (0 KTA) | < 14ms | FX matrix (EUR, GBP, JPY, CAD, AUD) |
| GET | /whale/alerts | Starter (10 KTA) | 0.001 KTA | < 20ms | Live whale stream (> 50k KTA transfers) |
| POST | /ai/insight | Social (50 KTA) | 0.001 KTA | < 85ms | AI sentiment digest & social telegram/discord alerts |
| GET | /wallet/score | Pro (300 KTA) | 0.002 KTA | < 35ms | Wallet trust score & interaction lineage |
| POST | /agent/preflight/verify | Pro (300 KTA) | 0.002 KTA | < 25ms | Anti-drainer AML pre-flight safety verification shield |
| POST | /agent/spend/allowance | Pro (300 KTA) | 0.002 KTA | < 30ms | Cryptographically sealed spend container policy (SHA-256) |
| GET | /agent/card/quote | Business (600 KTA) | 0.005 KTA | < 18ms | Real-time agent virtual card quotes across multi-rail settlement (0.15% fee) |
| POST | /agent/swarm/consensus | Business (600 KTA) | 0.005 KTA | < 40ms | Autonomous multi-agent committee quorum and atomic batch execution |
| POST | /channel/open | All Tiers | x402 Micro | < 8ms | Initialize high-frequency edge x402 micro-escrow session channel |
| POST | /container/seal | Business (600 KTA) | 0.005 KTA | < 400ms | Immutable document hash commitment to block |
Equip your LLM agents with real-time Keeta data
Deterministic price feeds, whale telemetry, and wallet trust scoring for OpenAI, Anthropic Claude (MCP), LangChain, ElizaOS, and CrewAI.
Zero Hallucination Spot Prices
Agents ingest cryptographic spot prices and 24h market metrics with <12ms latency directly into reasoning loops.
Autonomous Whale Triggers
Stream verified ledger events above 50,000 KTA so agents can autonomously hedge, alert discord, or rebalance portfolios.
Wallet Trust & AML Scoring
Autonomous agents verify transaction counterparties on-chain before executing swaps, preventing drainers and poisoned addresses.
Model Context Protocol (MCP)
Official MCP server spec for Anthropic Claude Desktop, Cursor, and agent runtimes. Zero configuration required.
// OpenAI Function Calling Schema (GPT-4o / o3-mini)
const tools = [
{
type: "function",
function: {
name: "get_kta_telemetry",
description: "Fetches authoritative real-time KTA spot price, volume, and whale transfers from KTA Oracle",
parameters: {
type: "object",
properties: {
currency: {
type: "string",
description: "Fiat currency code (e.g. USD, EUR, GBP, JPY)",
default: "USD"
},
include_whales: {
type: "boolean",
description: "Include on-chain transactions exceeding 50,000 KTA",
default: true
}
},
required: []
}
}
}
];
// Tool Execution Handler
async function handleToolCall(name, args) {
if (name === "get_kta_telemetry") {
const res = await fetch(`https://kta-oracle.top/price?currency=${args.currency || 'USD'}`);
return await res.json();
}
}
// Model Context Protocol (MCP) Server Configuration for Claude Desktop & Cursor
{
"mcpServers": {
"kta-oracle": {
"command": "npx",
"args": ["-y", "@kta-oracle/mcp-server@latest"],
"env": {
"KTA_WALLET": "YOUR_ACTIVATED_KEETA_WALLET",
"ORACLE_ENDPOINT": "https://kta-oracle.top"
}
}
}
}
/* Claude Desktop automatically discovers:
- kta_get_spot_price(currency)
- kta_get_whale_stream(min_amount)
- kta_verify_wallet_trust(address)
*/
# LangChain & LangGraph Python Integration
from langchain.tools import tool
import requests
@tool
def get_kta_oracle_price(currency: str = "USD") -> dict:
"""Fetches verified real-time KTA price, 24h change, and volume from KTA Oracle."""
url = f"https://kta-oracle.top/price?currency={currency}"
resp = requests.get(url, timeout=5)
return resp.json()
@tool
def get_kta_whale_alerts(min_kta: int = 50000) -> list:
"""Streams large on-chain Keeta transfers exceeding min_kta threshold."""
url = f"https://kta-oracle.top/whale/alerts?min={min_kta}"
resp = requests.get(url, timeout=5)
return resp.json()
tools = [get_kta_oracle_price, get_kta_whale_alerts]
agent = create_react_agent(llm, tools=tools)
// ElizaOS Autonomous Agent Action Plugin
import { Action, IAgentRuntime, Memory } from "@elizaos/core";
export const ktaOraclePlugin = {
name: "kta-oracle",
description: "Provides real-time Keeta ledger telemetry and market data",
actions: [
{
name: "CHECK_KTA_PRICE",
similes: ["KTA_PRICE", "KEETA_PRICE", "KTA_TREND"],
description: "Returns the spot price, delta, and 24h volume of KTA",
validate: async () => true,
handler: async (runtime: IAgentRuntime, message: Memory) => {
const res = await fetch("https://kta-oracle.top/price");
const data = await res.json();
return {
text: `Current KTA price is $${data.price_usd} (1h: ${data.delta_1h}%, 24h: ${data.delta_24h}%). Volume: $${data.volume_24h}.`
};
}
}
]
};
# High-Performance Async Python Client
import aiohttp
import asyncio
class KTAOracleClient:
def __init__(self, base_url: str = "https://kta-oracle.top", wallet: str = None):
self.base_url = base_url
self.wallet = wallet
async def get_spot_price(self, currency: str = "USD") -> dict:
params = {"currency": currency}
if self.wallet:
params["wallet"] = self.wallet
async with aiohttp.ClientSession() as session:
async with session.get(f"{self.base_url}/price", params=params) as res:
return await res.json()
# Example usage
async def main():
client = KTAOracleClient(wallet="keeta_your_wallet")
price = await client.get_spot_price()
print(f"KTA Price: ${price['price_usd']} USD")
asyncio.run(main())
// Native x402 Micropayments Protocol (RFC / Keeta Agent Spec)
// Autonomous AI agents pay per request on-chain without upfront subscription.
import requests
def call_oracle_with_x402(endpoint, payload=None):
url = f"https://kta-oracle.top{endpoint}"
# 1. Initial request without active subscription
res = requests.get(url) if not payload else requests.post(url, json=payload)
# 2. Check for HTTP 402 Payment Required
if res.status_code == 402:
challenge = res.json()
pay_to = challenge["payTo"]
amount = challenge["amount"]
# Security assertion: verify destination is official oracle wallet to prevent spoofing
assert pay_to == "keeta_aab4y4nd5ug4nnzjtp5fslfsrdv7pnxfbeexafwolqs4mgxrb2ppontfqb64tzi", "Untrusted oracle payee"
print(f"[x402] Challenge verified: Send {amount} KTA to {pay_to}")
# 3. Sign & broadcast 0.4s sub-second payment on Keeta Network
# tx_hash = keeta_wallet.send(to=pay_to, amount=amount)
tx_hash = "keeta_tx_sample_proof_984524"
# 4. Attach payment proof in X-PAYMENT-402 header
headers = {"X-PAYMENT-402": tx_hash}
unlocked = requests.get(url, headers=headers) if not payload else requests.post(url, json=payload, headers=headers)
return unlocked.json()
return res.json()
# Autonomous agent calls whale alerts and receives verified data
data = call_oracle_with_x402("/whale/alerts")
print("Oracle Data:", data)
// Autonomous Agent Economy Rails: Swarms, Card Quotes & Pre-Flight Verification
// 1. Deliberate Autonomous Committee Swarm Consensus
const swarmRes = await fetch("https://kta-oracle.top/api/v1/agent/swarm/consensus", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
proposalId: "prop_rebalance_77",
topic: "Allocate 50,000 KTA liquidity to bridge pool",
committee: [
{ agentId: "agent_analyst_01", vote: "APPROVE", confidence: 0.96 },
{ agentId: "agent_risk_guard", vote: "APPROVE", confidence: 0.92 },
{ agentId: "agent_treasury", vote: "APPROVE", confidence: 0.98 },
{ agentId: "agent_compliance", vote: "REJECT", confidence: 0.45 }
],
threshold: 3
})
});
const swarm = await swarmRes.json();
console.log("Decision:", swarm.decision); // 'consensus_approved'
// 2. Anti-Drainer Pre-Flight Safety Shield
const preflightRes = await fetch("https://kta-oracle.top/api/v1/agent/preflight/verify", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
sourceWallet: "keeta_agent_wallet_...",
targetWallet: "keeta_recipient_wallet_...",
amountKta: "50000"
})
});
const safety = await preflightRes.json();
if (safety.verdict === "PASS") {
console.log("Pre-flight passed. Risk score:", safety.riskScore);
}
// 3. Request Agent Virtual Card FX Quote (Multi-Rail Settlement)
const quoteRes = await fetch("https://kta-oracle.top/agent/card/quote?amount=100&fiat=USD");
const quote = await quoteRes.json();
console.log("Card Rail:", quote.rail, "Fee:", quote.feeRate, "KTA Required:", quote.ktaRequired);