Web Search
by OnchainCheck Web Search in Search & web
Search the web: up to 10 results for a query, most relevant first, each with title, URL, publish date, author and the passage of the page that best matches the query. Optional filters: category (news, company, publication, people...), domains to include or exclude, and since (YYYY-MM-DD) for recent pages only. Pair with /web/contents to read the pages. Errors return 4xx/5xx JSON and aren't charged.
https://onchaincheck.dev/web/search- Price
- $0.006
- per call in USDC
- Uptime
- 97.1%
- last 30 days
- Response time
- 129 ms
- 705 ms slowest 5%
- Last check
- Passed
- 7 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://onchaincheck.dev/web/search
Each call costs $0.006 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://onchaincheck.dev/web/search?limit=5&q=x402+payment+protocol+for+AI+agentsParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | No | Limit to one kind of page One of: news, company, publication, personal site, financial report, people. |
domains | string | No | Only these hostnames, comma-separated (example.com,docs.example.org) |
exclude | string | No | Never these hostnames, comma-separated |
limit | string | No | Results to return, 1-10 (default 5) |
q | string | Yes | Search query |
since | string | No | Only pages published on or after this date (YYYY-MM-DD) |
snippets | string | No | false leaves out the matching passages (default true) One of: true, false. |
Example response
The provider's example. We can't check it without paying.
Example response, 49 lines
{
"count": 5,
"notes": "Live web search results, most relevant first. snippet is the passage of the page that best matches the query; read a whole page with /web/extract or several with /web/contents.",
"providerCostUsd": 0.004,
"query": "x402 payment protocol for AI agents",
"results": [
{
"author": null,
"publishedDate": null,
"rank": 1,
"snippet": "x402 1. AI agent sends HTTP request and receives ... Required No account setup, instant onboarding 2. AI agent pays instantly with stablecoins No signups or approvals required 3. API access granted No… (240 chars, truncated in this example)",
"title": "Home",
"url": "https://x402.org/"
},
{
"author": null,
"publishedDate": null,
"rank": 2,
"snippet": "is the open payment standard that enables services to charge for access to their APIs and content directly over HTTP. It is built around the ... Payment Required` status code and allows clients to pro… (240 chars, truncated in this example)",
"title": "Welcome to x402",
"url": "https://docs.x402.org/introduction"
},
{
"author": null,
"publishedDate": null,
"rank": 3,
"snippet": "encoded payment details: the price, accepted token, network, and merchant address. 3. The client constructs a signed payment payload and ... . 5. The server returns the resource with a `PAYMENT-RESPON… (240 chars, truncated in this example)",
"title": "x402 · Cloudflare Agents docs",
"url": "https://developers.cloudflare.com/agents/tools/payments/x402/"
},
{
"author": null,
"publishedDate": null,
"rank": 4,
"snippet": "aims to support all networks (both crypto & fiat) and forms of value (stablecoins, tokens, ... server response and creates a `PaymentPayload` based on the `scheme` & ` ... ` they have selected. 4. `Cl… (240 chars, truncated in this example)",
"title": "x402-foundation/x402",
"url": "https://github.com/x402-foundation/x402/"
},
{
"author": null,
"publishedDate": null,
"rank": 5,
"snippet": "The x402 protocol follows a standard request-response cycle with payment integration: 1. **Client Request**: Client makes a request to a resource server 2. **Payment Required Response**: If no valid p… (240 chars, truncated in this example)",
"title": "specs/x402-specification-v2.md",
"url": "https://github.com/x402-foundation/x402/blob/main/specs/x402-specification-v2.md"
}
],
"searchedAt": "2026-11-10T07:39:24.896Z"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.006.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://onchaincheck.dev/web/search?limit=5&q=x402+payment+protocol+for+AI+agents'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://onchaincheck.dev/web/search?limit=5&q=x402+payment+protocol+for+AI+agents' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.006 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.006" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.006 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fonchaincheck.dev%2Fweb%2Fsearch
const res = await pay("https://onchaincheck.dev/web/search?limit=5&q=x402+payment+protocol+for+AI+agents");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.006 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.006"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://onchaincheck.dev/web/search?limit=5&q=x402+payment+protocol+for+AI+agents")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 7 h ago | Passed | 402 | 42 ms | $0.006 |
| 16 h ago | Passed | 402 | 8 ms | $0.006 |
| 27 h ago | Passed | 402 | 20 ms | $0.006 |
| 46 h ago | Timed out | - | - | - |
| 4 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 47 ms | $0.006 |
| 5 days ago | Passed | 402 | 57 ms | $0.006 |
| 6 days ago | Passed | 402 | 263 ms | $0.006 |
| 6 days ago | Passed | 402 | 80 ms | $0.006 |
| 7 days ago | Passed | 402 | 560 ms | $0.006 |
| 7 days ago | Passed | 402 | 502 ms | $0.006 |
| 7 days ago | Passed | 402 | 616 ms | $0.006 |
| 8 days ago | Passed | 402 | 102 ms | $0.006 |
| 8 days ago | Passed | 402 | 101 ms | $0.006 |
| 8 days ago | Passed | 402 | 89 ms | $0.006 |