{
  "service": "tollbooth",
  "name": "Tollbooth",
  "version": "0.8.0",
  "description": "Paid MCP and HTTP tools for live Polymarket/Kalshi spread intelligence, web data, lead intel, resource lookup, receipts, and manifest checks.",
  "endpoints": {
    "mcp": "https://tollbooth-testnet.memerhuwhite.workers.dev/mcp",
    "info": "https://tollbooth-testnet.memerhuwhite.workers.dev/api/info",
    "agent": "https://tollbooth-testnet.memerhuwhite.workers.dev/.well-known/agent.json",
    "x402": "https://tollbooth-testnet.memerhuwhite.workers.dev/.well-known/x402",
    "x402_json": "https://tollbooth-testnet.memerhuwhite.workers.dev/.well-known/x402.json",
    "receipt": "https://tollbooth-testnet.memerhuwhite.workers.dev/receipt/{tx}",
    "docs": "https://tollbooth-testnet.memerhuwhite.workers.dev/docs",
    "openapi": "https://tollbooth-testnet.memerhuwhite.workers.dev/openapi.json",
    "agentspec": "https://tollbooth-testnet.memerhuwhite.workers.dev/agentspec",
    "bazaar_search": "https://tollbooth-testnet.memerhuwhite.workers.dev/api/x402/bazaar/search?query=search&limit=10",
    "polymarket_event_scan": "https://tollbooth-testnet.memerhuwhite.workers.dev/paid/polymarket/event-scan",
    "polymarket_market_scan": "https://tollbooth-testnet.memerhuwhite.workers.dev/paid/polymarket/market-scan",
    "cross_platform_arb_scan": "https://tollbooth-testnet.memerhuwhite.workers.dev/paid/markets/cross-platform-scan"
  },
  "x402_discovery": {
    "bazaar_search_proxy": "https://tollbooth-testnet.memerhuwhite.workers.dev/api/x402/bazaar/search",
    "cdp_catalog": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "facilitator": "https://facilitator.payai.network",
    "network": "eip155:84532"
  },
  "payments": {
    "protocol": "x402",
    "scheme": "exact",
    "network": "eip155:84532",
    "network_name": "Base Sepolia testnet",
    "asset": "USDC",
    "asset_contract": "0x1a35EE5c47503e1B627338D2c1943774f2E50B6D",
    "facilitator": "https://facilitator.payai.network",
    "seller": "0x62a0D3d9DF0dE8804983009949c714EaeAFd87F1"
  },
  "tools": [
    {
      "name": "scrape",
      "price_usd": "0.01",
      "description": "Fetch a URL and return title, description, meta tags, headings, links, text, and tech signals.",
      "input": {
        "url": "string, include https://"
      },
      "example": {
        "url": "https://example.com"
      }
    },
    {
      "name": "detect_stack",
      "price_usd": "0.02",
      "description": "Fingerprint a URL for framework, analytics, hosting, payment, CRM, and site-platform signals.",
      "input": {
        "url": "string, include https://"
      },
      "example": {
        "url": "https://stripe.com"
      }
    },
    {
      "name": "extract_contacts",
      "price_usd": "0.02",
      "description": "Extract visible emails, phone-like strings, social links, and contact/about/pricing/careers URLs from a page.",
      "input": {
        "url": "string, include https://"
      },
      "example": {
        "url": "https://example.com"
      }
    },
    {
      "name": "score_lead",
      "price_usd": "0.03",
      "description": "Score a company domain for outbound fit using HTTPS, DNS, tech stack, contact paths, social links, platform, and copy depth.",
      "input": {
        "domain": "string, example stripe.com"
      },
      "example": {
        "domain": "stripe.com"
      }
    },
    {
      "name": "check_agent_policy",
      "price_usd": "0.01",
      "description": "Check robots.txt, llms.txt, security.txt, and agent.json for crawl/discovery signals before an agent touches a site.",
      "input": {
        "domain": "string, example example.com"
      },
      "example": {
        "domain": "example.com"
      }
    },
    {
      "name": "find_agent_resource",
      "price_usd": "0.01",
      "description": "Search a small curated atlas of agent-useful APIs, self-hosted tools, payment rails, scraping helpers, and automation primitives.",
      "input": {
        "query": "string",
        "category": "optional string"
      },
      "example": {
        "query": "open source CRM",
        "category": "sales"
      }
    },
    {
      "name": "validate_agentspec_manifest",
      "price_usd": "0.03",
      "description": "Validate an AgentSpec-style manifest for required identity, endpoint, tools, pricing, and payment fields.",
      "input": {
        "manifest_json": "JSON string"
      },
      "example": {
        "manifest_json": "{...}"
      }
    },
    {
      "name": "enrich_lead",
      "price_usd": "0.05",
      "description": "Enrich a company domain with site metadata, tech stack, social links, DNS, platform cues, and contact links.",
      "input": {
        "domain": "string, example stripe.com"
      },
      "example": {
        "domain": "stripe.com"
      }
    },
    {
      "name": "polymarket_event_scan",
      "price_usd": "0.03",
      "description": "Scan one live Polymarket negRisk event for fee-adjusted outcome-sum violations.",
      "input": {
        "slug": "Polymarket event slug",
        "min_edge": "optional decimal, default 0.02",
        "min_liquidity": "optional USD, default 1000"
      },
      "example": {
        "slug": "democratic-presidential-nominee-2028",
        "min_edge": "0.02",
        "min_liquidity": "1000"
      },
      "http_path": "/paid/polymarket/event-scan"
    },
    {
      "name": "polymarket_market_scan",
      "price_usd": "0.05",
      "description": "Scan high-volume active Polymarket markets for resolution candidates and fee-adjusted YES+NO bundle violations.",
      "input": {
        "limit": "optional integer 10-200",
        "min_certainty": "optional decimal, default 0.95",
        "min_edge": "optional decimal, default 0.02"
      },
      "example": {
        "limit": "100",
        "min_certainty": "0.95",
        "min_edge": "0.02"
      },
      "http_path": "/paid/polymarket/market-scan"
    },
    {
      "name": "cross_platform_arb_scan",
      "price_usd": "0.10",
      "description": "Match live Polymarket and Kalshi markets for a topic, compare complementary top-of-book asks, and report fee-adjusted cross-platform spread candidates.",
      "input": {
        "query": "required topic, entity, or asset",
        "min_similarity": "optional decimal, default 0.62",
        "min_net_edge": "optional decimal, default 0.015",
        "kalshi_max_pages": "optional integer 1-20"
      },
      "example": {
        "query": "bitcoin",
        "min_similarity": "0.62",
        "min_net_edge": "0.015",
        "kalshi_max_pages": "12"
      },
      "http_path": "/paid/markets/cross-platform-scan"
    },
    {
      "name": "rebalance_arb_scan",
      "price_usd": "0.04",
      "description": "Scan Polymarket for single-market rebalance arbitrage: YES+NO pricing violations where guaranteed profit exists. Returns long and short opportunities with confidence scores.",
      "input": {
        "limit": "optional, default 500, max 2000",
        "min_edge": "optional decimal, default 0.005",
        "min_liquidity": "optional integer, default 1000"
      },
      "example": {
        "limit": 500,
        "min_edge": 0.005
      },
      "http_path": "/paid/polymarket/rebalance-scan"
    },
    {
      "name": "trending_markets",
      "price_usd": "0.02",
      "description": "Get top trending Polymarket markets by 24h volume. Includes current prices, liquidity, and volume data. Perfect for market discovery and signal generation.",
      "input": {
        "limit": "optional, default 20, max 100",
        "category": "optional, e.g. politics, sports, crypto"
      },
      "example": {
        "limit": 20
      },
      "http_path": "/paid/polymarket/trending"
    },
    {
      "name": "odds_feed",
      "price_usd": "0.02",
      "description": "Normalized live odds across Polymarket and Kalshi in a single JSON response. YES/NO prices, spreads, volume, and liquidity for cross-platform comparison.",
      "input": {
        "limit": "optional, default 30, max 100",
        "platform": "optional: polymarket, kalshi, or both (default)"
      },
      "example": {
        "limit": 30,
        "platform": "both"
      },
      "http_path": "/paid/odds/feed"
    },
    {
      "name": "volume_analytics",
      "price_usd": "0.03",
      "description": "Top Polymarket markets ranked by 24h volume with liquidity, total volume, current price, and 24h price change. Market momentum and flow analytics.",
      "input": {
        "limit": "optional, default 30, max 100",
        "min_volume": "optional integer, default 1000"
      },
      "example": {
        "limit": 30,
        "min_volume": 5000
      },
      "http_path": "/paid/polymarket/volume-analytics"
    },
    {
      "name": "resolution_history",
      "price_usd": "0.03",
      "description": "Recently resolved Polymarket markets with final outcomes, resolution dates, and volumes. Essential for backtesting strategies and model calibration.",
      "input": {
        "limit": "optional, default 30, max 100",
        "days_back": "optional integer, default 7"
      },
      "example": {
        "limit": 30,
        "days_back": 7
      },
      "http_path": "/paid/polymarket/resolution-history"
    },
    {
      "name": "kalshi_markets",
      "price_usd": "0.02",
      "description": "Live Kalshi market list with bid/ask spreads, volume, open interest, and close dates. CFTC-regulated prediction market data for agents.",
      "input": {
        "limit": "optional, default 30, max 100",
        "category": "optional event ticker filter"
      },
      "example": {
        "limit": 30
      },
      "http_path": "/paid/kalshi/markets"
    }
  ]
}