ai-setup 5 min read

Superhighway – AI Agent Web Search via x402 Protocol

Superhighway serves live web search to AI agents through the x402 payment protocol, charging per-call in USDC with no API key required.

By
Share: X in
Superhighway AI agent web search thumbnail

TL;DR

TL;DR: Superhighway delivers live web search to AI agents via the x402 HTTP payment protocol, charging per-call in USDC with no API key or API key rotation needed.

Source and Accuracy Notes

What Is Superhighway?

Superhighway is a web search service designed specifically for AI agents and autonomous workflows. Unlike traditional search APIs that require account creation, API keys, and billing setup, Superhighway uses the x402 protocol to enable per-call payments directly in USDC stablecoin.

Key characteristics:

  • No API key — authentication is handled at the HTTP layer via x402
  • Pay per call — each search request costs a small amount of USDC (~$0.001–0.01 depending on query complexity)
  • MCP-compatible — ships as an MCP server with tools for web search, news lookup, and page fetching as clean markdown
  • Free tier — includes a small free allocation to start experimenting without a wallet

Setup Workflow

Step 1: Install the MCP Server

npm install -g @superhighway/mcp-server

Step 2: Configure Your AI Agent

Add the MCP server to your agent configuration:

{
  "mcpServers": {
    "superhighway": {
      "command": "npx",
      "args": ["@superhighway/mcp-server", "--network", "mainnet"]
    }
  }
}

Step 3: Fund Your Wallet

The server reads your wallet balance from the x402 payment header. You’ll need a wallet with USDC on the destination chain (Ethereum mainnet or an L2). The free tier gives 10 calls before requiring funds.

curl -X POST https://api.superhighway.walls.sh/search \
  -H "Authorization: Bearer your-agent-wallet-address" \
  -H "X-Payment: 0.001 USDC@1/1" \
  -d '{"query": "latest AI agent tool launches", "num_results": 5}'

Deeper Analysis

How x402 Payments Work

The x402 protocol (formerly known as HTTP 402) embeds payment metadata in HTTP headers. Instead of an API key, your agent signs a lightweight payment voucher with its wallet private key. The server verifies the signature and deducts the call cost from your balance.

This is different from traditional API keys in a few ways:

  1. No key rotation — wallet keys don’t expire; payment vouchers are stateless
  2. Microtransactions — costs are metered per-call, not per-month
  3. No rate limit disputes — if you can pay, you can call

Comparison to Existing Agent Search Tools

| Feature | Superhighway | Tavily | Exa | |---|---|---|---| | Payment model | Per-call USDC | Monthly subscription | Monthly subscription | | API key required | No | Yes | Yes | | MCP server | Yes | Third-party | Third-party | | Free tier | 10 calls | 1000/mo | 100/mo | | Real-time web | Yes | Yes | Yes |

Current Limitations

  • Only supports USDC — no other tokens or fiat
  • Limited free tier — 10 calls is enough for testing, not production
  • No bulk pricing — per-call model can get expensive at high volume
  • Single chain support — currently Ethereum mainnet only

Practical Evaluation Checklist

  • [ ] Successfully make an authenticated search call without an API key
  • [ ] Verify payment deduction on-chain (Etherscan for USDC transfer)
  • [ ] Test MCP server integration with your preferred agent framework
  • [ ] Confirm markdown output quality on complex pages
  • [ ] Measure latency vs. traditional search API

Security Notes

  • Wallet private keys are involved in signing — use a dedicated agent wallet with limited funds
  • Payment vouchers are stateless but should still be rotated periodically
  • No PII is required, only a wallet address for authentication

FAQ

Q: How is this different from a paid search API like Google Custom Search? A: No API key, no account dashboard, no monthly minimum. Cost is metered per-call and settled on-chain. Your agent pays directly.

Q: What happens if my wallet runs out of USDC mid-query? A: The request returns a 402 Payment Required error. Your agent should handle this gracefully and either retry with a funded wallet or fall back to a cached result.

Q: Is the free tier truly free or a trial? A: It is a free allocation — not a credit card trial that converts. After 10 calls you must fund your wallet to continue.

Q: Can I self-host the search index? A: Not currently. Superhighway operates as a hosted service. The MCP server is open source but the index infrastructure is not.

Conclusion

Superhighway solves the API key bootstrapping problem for AI agent web search by using the x402 protocol for stateless, per-call payments. If you are building agents that need live web access without the friction of traditional API key setup, this is worth evaluating. The free tier lets you validate the integration before committing to a paid wallet.