web search API for AI agent

$0.010 USDC per call on Base · No signup · No API key · x402 v2

Free trial — no signup required. Every endpoint has a daily free quota (no API key, no payment). How the free trial works →

What it does

Web search via Google, formatted for AI agents. Send a query, get back deduplicated Google results with snippets, relevance scores, and related questions. No API key, no account — pay $0.010 USDC per call via x402.

Data source: Google Search via Serper (normalized, deduplicated, spam-filtered)

How to call (for AI agents)

No account. No API key. Every endpoint speaks x402 v2:

  1. Call the endpoint → you get 402 Payment Required with the price
  2. Pay $0.010 USDC on Base (eip155:8453)
  3. Retry with the X-PAYMENT header → 200 with JSON
curl -X POST "https://api.mekongtradeintel.com/websearch/api/websearch" \
  -H "Content-Type: application/json" \
  -d '{   "query": "x402 protocol",   "num": 5 }'

Input

ParamTypeDescription
querystring (body JSON)Search query, e.g. x402 protocol
numnumber, optionalMax results 1-20, default 10
countrystring, optionalLocalization, e.g. us, vn (default us)
typestring, optionalsearch, news or images (default search)

Example request & response

Request

{
  "query": "x402 protocol",
  "num": 5
}

Response

{
  "query": "x402 protocol",
  "resultCount": 5,
  "results": [
    {"title": "...", "url": "https://...", "snippet": "...",
     "domain": "example.com", "position": 1, "relevance": 100}
  ],
  "fetchedAt": "2026-10-18T12:00:00.000Z"
}

Payment

x402 v2 · exact scheme · USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base (eip155:8453).
Facilitators: Coinbase CDP and PayAI (no API key needed for either).

FAQ

How is this different from raw SERP data?
Results are deduplicated by domain, spam-filtered, and relevance-scored — AI-ready, not a raw dump.

Which search types are supported?
Web, news, and image search via the type parameter.

Is there caching?
Identical queries are cached for 1 hour, but every call is still billed per the x402 payment.

Do I need an API key?
No. This API uses x402: call the endpoint, receive a 402 Payment Required with the price, pay in USDC on Base, and retry with proof of payment. No signup, no API key, no account.

Which facilitators are supported?
Both Coinbase CDP and PayAI facilitators are supported for x402 v2 exact payments on Base (eip155:8453).

What if my payment is too low?
The facilitator verifies the on-chain amount against the price. If underpaid, you get 402 again; pay the full amount and retry.

More APIs for AI agents

Part of the x402 API Collection — 37 pay-per-call endpoints, $0.0008–$1.50/call. Full catalog: https://api.mekongtradeintel.com/.well-known/x402 · pricing