Back to Discover

kristo-travel-api

connector

hristovdimitri2-hub

Pay-per-call DeFi intelligence API for AI agents on Base blockchain with x402 micropayments

View on GitHub
0 starsSynced Aug 5, 2026

Install to Claude Code

/plugin marketplace add hristovdimitri2-hub/kristo-travel-api

README

Kristo Intelligence — x402 Pay-Per-Call API

Pay-per-call DeFi intelligence API for AI agents on Base blockchain (Chain ID 8453). Powered by the x402 protocol.

🚀 Quick Start

# 1. Call any paid endpoint (get 402 + payment instructions)
curl https://kristo-intelligence-api.onrender.com/defi/yields

# 2. Server responds with 402 + payment details:
# {
#   "x402_version": 1,
#   "accepts": {
#     "scheme": "exact",
#     "network": "base",
#     "chain_id": 8453,
#     "asset": "USDC",
#     "amount": "0.01",
#     "payTo": "0xd4cdA980839C8FED4374EE37EA8DBE8c4ECfd88f"
#   }
# }

# 3. Send 0.01 USDC on Base to payTo address, then retry with tx hash:
curl -H "X-PAYMENT: 0xYOUR_TX_HASH" https://kristo-intelligence-api.onrender.com/defi/yields

💰 Pricing

TypePriceEndpoints
Paid0.01 USDC/call10 endpoints
FreemiumFree (rate-limited)token-prices, gas-oracle
FreeFreemetadata, health, pricing, stats

Hooks:

  • 🎁 First 3 calls FREE for new wallets
  • 📊 After 50 paid calls → 0.005 USDC/call (50% off)
  • 🔗 Referral program: earn 20% of referred agent's payments

📡 Endpoints

Paid (0.01 USDC/call)

EndpointDescription
GET /defi/yieldsTop 10 Base DeFi yield pools by TVL
GET /defi/tvl-moversBase protocols with biggest 1-day TVL changes
GET /defi/lending-ratesBest lending/borrowing rates on Base
GET /defi/dex-poolsTop DEX liquidity pools (Aerodrome, Uniswap)
GET /defi/protocol-safetyRisk scores for Base DeFi protocols
GET /crypto/token-launchesRecently launched tokens on Base
GET /crypto/token-security🛡️ Rug-pull & honeypot detection scanner
GET /crypto/wallet-profileOn-chain wallet analysis & classification
GET /crypto/whale-movesLarge USDC transfers on Base
GET /crypto/bridge-volumeCross-chain bridge volume to/from Base

Freemium (free with rate limiting)

EndpointDescription
GET /crypto/token-pricesReal-time token prices from CoinGecko
GET /crypto/gas-oracleBase gas price & cost estimates

Free

EndpointDescription
GET /Service metadata & endpoint roster
GET /healthAPI health & Web3 connectivity
GET /pricingTransparent pricing & hooks info
GET /statsPublic usage statistics
GET /sales/recentRecent sales log
GET /agent/intelligenceAutonomous intelligence report
GET /agent/recommendationsAI-generated recommendations

🛡️ Token Security Scanner

The /crypto/token-security endpoint provides comprehensive rug-pull detection:

curl -H "X-PAYMENT: 0xTX_HASH" \
  "https://kristo-intelligence-api.onrender.com/crypto/token-security?address=0xTOKEN_ADDRESS"

Returns:

  • is_safe (bool) — safe to interact with
  • is_honeypot_suspected (bool) — potential honeypot
  • risk_score (0-100) — higher is safer
  • risk_level — "Low Risk" / "Medium Risk" / "High Risk" / "Critical Risk"
  • risk_factors — detailed list of findings
  • recommendation_for_ai_agent — buy/avoid decision with confidence

🧠 Autonomous Intelligence Engine

The API includes a built-in intelligence engine that runs every hour:

  • Analyzes sales patterns and endpoint popularity
  • Checks CoinGecko for trending tokens
  • Generates dynamic pricing recommendations
  • Identifies underperforming endpoints
  • Stores all reports in SQLite

Access via GET /agent/intelligence or GET /agent/recommendations

🔗 Links

🏗️ Tech Stack

  • Backend: FastAPI + Python 3
  • Hosting: Render (API) + Vercel (Dashboard)
  • Blockchain: Base Mainnet (Chain ID 8453)
  • Payments: x402 protocol with USDC
  • Data Sources: DefiLlama, CoinGecko, direct RPC
  • Database: SQLite (replay protection + sales logs + intelligence reports)

📄 License

MIT

Rendered live from hristovdimitri2-hub/kristo-travel-api's GitHub README — not stored, always reflects the source repo.

1 Install Method

NameDescriptionCategorySource
streamable-http remoteHosted streamable-http endpointmcp-serverhttps://kristo-intelligence.vercel.app/mcp

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.