{
  "name": "TruDeFAI Agent Platform",
  "description": "Unified cross-chain DeFi intelligence API. 47 endpoints for market data, yield/staking (with full enter/exit/manage transaction construction), pool analytics, portfolio tracking, cross-chain swaps, and perpetuals scoring across 85+ networks. Pay-per-call with USDC via x402 — no API keys needed.",
  "url": "https://app.trudef.ai/agent-api/api/v1",
  "version": "1.0.0",
  "documentationUrl": "https://trudef.ai/docs/api",
  "provider": {
    "organization": "TruDeFAI",
    "url": "https://trudef.ai"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "authentication": {
    "schemes": [
      {
        "scheme": "x402",
        "description": "x402 HTTP payment protocol. Paid endpoints return 402 with USDC payment requirements on Base network. Include signed payment in X-PAYMENT header.",
        "network": "base",
        "currency": "USDC"
      }
    ]
  },
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "market-data",
      "name": "Market Data",
      "description": "Crypto market data including trending tokens, gainers/losers, categories, global stats, and detailed coin information from CoinGecko.",
      "tags": ["crypto", "market", "trending", "defi"],
      "examples": [
        "What are the trending tokens right now?",
        "Show me the top gainers today",
        "Get global crypto market stats",
        "What is the current price of Bitcoin?"
      ]
    },
    {
      "id": "yield-discovery",
      "name": "Yield Discovery",
      "description": "Search and discover yield opportunities across 70+ chains including staking, lending, restaking, vaults, and liquidity pools from DeFiLlama and Yield.xyz.",
      "tags": ["yield", "staking", "defi", "lending", "apy"],
      "examples": [
        "Find the best staking yields for ETH",
        "Top yield opportunities on Base",
        "Search for USDC lending rates"
      ]
    },
    {
      "id": "pool-analytics",
      "name": "Pool Analytics",
      "description": "DEX pool data including search, trending pools, new pools, OHLCV charts, and on-chain token prices from GeckoTerminal.",
      "tags": ["dex", "pools", "liquidity", "defi"],
      "examples": [
        "Find USDC pools on Ethereum",
        "Show trending pools on Base",
        "Get OHLCV data for a pool"
      ]
    },
    {
      "id": "portfolio-intelligence",
      "name": "Portfolio Intelligence",
      "description": "Multi-chain portfolio tracking and analysis across 30+ chains via Zerion. Includes token balances, DeFi positions, and PnL.",
      "tags": ["portfolio", "wallet", "balance", "defi"],
      "examples": [
        "Show portfolio for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "Analyze wallet holdings across chains"
      ]
    },
    {
      "id": "cross-chain-swaps",
      "name": "Cross-Chain Swaps",
      "description": "Cross-chain swap quotes and execution across 80+ chains via Relay protocol with MEV protection.",
      "tags": ["swap", "bridge", "cross-chain", "defi"],
      "examples": [
        "Quote a swap from USDC on Base to ETH on Ethereum",
        "What chains are supported for swaps?"
      ]
    },
    {
      "id": "perpetuals-scoring",
      "name": "Perpetuals Scoring (TruPerpScore)",
      "description": "Proprietary multi-factor scoring for perpetual futures. Includes momentum analysis, funding rates, and AI-ranked trading opportunities.",
      "tags": ["perps", "futures", "trading", "scoring"],
      "examples": [
        "Show top perpetual opportunities",
        "Get momentum analysis for BTC",
        "What is the funding rate for ETH?"
      ]
    },
    {
      "id": "defi-execution",
      "name": "DeFi Execution",
      "description": "Execute DeFi operations including zaps into LP positions, token swaps, and approval management via Portals.fi across 9 EVM chains.",
      "tags": ["defi", "execution", "swap", "zap"],
      "examples": [
        "Estimate a zap into USDC-ETH LP on Base",
        "Execute a cross-chain swap"
      ]
    }
  ]
}
