Web search with AI-generated summaries

Google search results synthesized by AI into direct answers with key bullet points and cited sources. Not just links — actual understanding.

$0.015 USDC / call free trial: 2/day per IP contabo

Endpoint

POST https://contabo-vps.taild7e69a.ts.net/aisearch/api/aisearch

Data source: Google (Serper) + vilao deepseek-v4-flash

Parameters

ParamTypeDescription
querystring (body JSON)Search query, max 500 chars
num_resultsnumber (body JSON)Results to synthesize, 3-10 (default 8)

Example request

curl -X POST "https://contabo-vps.taild7e69a.ts.net/aisearch/api/aisearch" \
  -H "Content-Type: application/json" \
  -d '{ "query": "x402 protocol", "num_results": 5 }'

Example response

{
  "query": "x402 protocol",
  "summary": "x402 is a payment protocol...",
  "keyPoints": ["HTTP 402 revival", "USDC on Base", "..."],
  "confidence": "high",
  "sources": [{"title": "...", "url": "https://...", "domain": "..."}]
}

How payment works (x402)

  1. Call the endpoint without any payment header → you get 402 Payment Required with the exact price, the USDC contract, the network (eip155:8453 = Base), and the pay-to address.
  2. Pay 0.015 USDC on Base to the pay-to address — with any wallet, the Coinbase CDP x402 SDK, or any x402 client library.
  3. Retry the same request with the X-PAYMENT header set to the base64-encoded signed payment payload → 200 with JSON.
# 1. Get the 402 payment requirements
curl -s -X POST "https://contabo-vps.taild7e69a.ts.net/aisearch/api/aisearch" -H "Content-Type: application/json" -d '{ "query": "x402 protocol", "num_results": 5 }'

# 2. Pay 0.015 USDC on Base, then retry with the payment proof
curl -X POST "https://contabo-vps.taild7e69a.ts.net/aisearch/api/aisearch" \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <base64-signed-payment-payload>" \
  -d '{ "query": "x402 protocol", "num_results": 5 }'

Facilitators: Coinbase CDP and PayAI (no API key needed for either). Scheme: x402 v2 exact. Asset: USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base.

Free trial

Every IP gets 2/day free calls to this endpoint — no payment needed. Free calls run automatically when you call without an X-PAYMENT header. The X-Free-Remaining response header shows how many free calls you have left today. When the quota is exhausted, the request falls through to the normal 402 payment flow.

FAQ

How is this different from plain web search?
Instead of raw links, you get an AI-written summary with key points and source citations. One call replaces search + read + summarize.
Which AI model synthesizes results?
deepseek-v4-flash via vilao, tuned for factual synthesis with low hallucination.
How many sources are synthesized?
3-10 per query (your choice). Deduplicated by domain, spam-filtered.
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 the X-PAYMENT header. 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

All 37 x402 API docs · Postman collection (download) · About this API