{
  "version": "1.0",
  "provider": "Tetrac",
  "protocol": "x402",
  "payment_network": "Solana",
  "payment_asset": "USDC",
  "pricing_model": "per-request",
  "documentation": "https://www.tetrac.xyz/docs",
  "endpoints": [
    {
      "path": "/api/v1/markets",
      "name": "Tetrac Markets Index",
      "description": "Free discovery index of every /api/v1/markets endpoint with its price. No payment or session required; rate-limited per client.",
      "method": "GET",
      "price_usd": 0,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/ttc-scanner",
      "name": "Tetrac Scanner",
      "description": "Single-symbol technical scanner at one timeframe per call (timeframe defaults to 1h); the symbol must be listed on Binance USDT-M futures.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading",
      "request_example": "?symbol=BTCUSDT&timeframe=1h"
    },
    {
      "path": "/api/v1/markets/ttc-scanner-cache",
      "name": "Tetrac Scanner (All Markets)",
      "description": "Latest cached technical-analysis signals across every scanned market — the full snapshot in one call. Pass full=1 — without it only freshness timestamps are returned, at the same price.",
      "method": "GET",
      "price_usd": 0.5,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/hybrid-tickers",
      "name": "Tetrac Hybrid Tickers",
      "description": "Perpetual futures tickers aggregated across venues, with volume, price-change, symbol and exchange filters.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading",
      "request_example": "?exchange=binance&minimumVolume=10000000"
    },
    {
      "path": "/api/v1/markets/funding-rates",
      "name": "Tetrac Funding Rates",
      "description": "Perpetual futures funding rates across major exchanges.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/open-interest",
      "name": "Tetrac Open Interest",
      "description": "Open interest for every market from one venue per call (source param, default bybit).",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/exchanges",
      "name": "Tetrac Exchanges (Read)",
      "description": "Read-only exchange API — list supported exchanges, get positions, balances, best bid/ask, and trade history across every supported venue.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/exchanges",
      "name": "Tetrac Exchanges (Trade)",
      "description": "Trading execution API — place market/limit/stop orders, set leverage, cancel orders, and close positions across every supported venue.",
      "method": "POST",
      "price_usd": 0.05,
      "category": "trading",
      "request_schema": {
        "type": "object",
        "required": [
          "exchangeName",
          "method"
        ],
        "properties": {
          "exchangeName": {
            "type": "string",
            "description": "Target exchange identifier. Venue roster changes over time and is not enumerated here; see https://www.tetrac.xyz or the supportedExchanges array returned by GET /api/v1/exchanges."
          },
          "method": {
            "type": "string",
            "description": "Method to invoke (e.g. 'getTickers', 'placeMarketOrder', 'setLeverage')."
          },
          "params": {
            "type": "object",
            "description": "Method-specific parameters."
          }
        }
      },
      "request_example": {
        "exchangeName": "binance",
        "method": "getTickers",
        "params": {}
      }
    },
    {
      "path": "/api/v1/markets/listings",
      "name": "Tetrac New Listings",
      "description": "Markets that appeared since the previous snapshot (re-served for up to an hour).",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/insights",
      "name": "Tetrac Market Insights",
      "description": "Top movers (futures up 1%+ with $1M+ 24h volume) annotated with funding-rate arbitrage context.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/news",
      "name": "Tetrac Market News",
      "description": "Top 10 market news items from Alpha Vantage.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/calendar",
      "name": "Tetrac Economic Calendar",
      "description": "Macro economic calendar — medium- and high-impact events for this week and next.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/swap-volume",
      "name": "Tetrac Perp DEX Volume History",
      "description": "Daily perp DEX volume history (last 30 days).",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/volume-snapshot",
      "name": "Tetrac Volume Snapshot",
      "description": "Cross-exchange volume snapshots.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/quakes",
      "name": "Tetrac Market Quakes",
      "description": "Significant earthquakes from USGS (past 24 hours).",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/exchanges/latency",
      "name": "Exchange Latency",
      "description": "Per-venue TLS-handshake and data-endpoint latency probed from Tetrac's servers, with resolved hostname, IP and hosting org. Use to pick the lowest-latency venue for execution.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/markets/symbol-venues",
      "name": "Tetrac Symbol Venues",
      "description": "Cross-exchange listings index — which venues offer a market for each symbol. Rebuilt at most every 24 hours.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading"
    },
    {
      "path": "/api/v1/solana-perps/long-short",
      "name": "Tetrac Solana Perps Long/Short",
      "description": "Long/short open-interest snapshot across Solana perp venues, with per-venue reachability status. Optional venues filter.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading",
      "request_example": "?venues=pacifica"
    },
    {
      "path": "/api/v1/solana-perps/pacifica-watchlist",
      "name": "Tetrac Pacifica Watchlist",
      "description": "Top Pacifica trader accounts by open interest, for subscribing on Pacifica's public WebSocket. Address discovery only.",
      "method": "GET",
      "price_usd": 0.05,
      "category": "trading",
      "request_example": "?limit=250"
    }
  ]
}
