81trust / 100
Google Search
by agdata in Search & web
x402 APIPassing, checked 5 h ago
Google Search results (SERP) for a query, as JSON. Each record is one results page with organicResults (position, title, url, displayedUrl, description), paidResults, relatedQueries, peopleAlsoAsk and searchQuery metadata. Body: {query, limit}. limit (1-20) is rounded up to whole pages of about 10 results, so 1-10 returns one page and 11-20 returns two. Useful for rank checks, source discovery and grounding answers in search results.
POST https://agdata.shveik.dev/x402/google-search
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 139 ms typical, 139 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agdata.shveik.dev/x402/google-search" \
-H "content-type: application/json" \
-d '{"limit":5,"query":"best CRM tools"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagdata.shveik.dev%2Fx402%2Fgoogle-search
const res = await pay("https://agdata.shveik.dev/x402/google-search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":5,"query":"best CRM tools"}),
});
console.log(await res.json());Example input
{
"limit": 5,
"query": "best CRM tools"
}Example output
{
"organicResults": [],
"paidResults": [],
"peopleAlsoAsk": [],
"relatedQueries": [],
"searchQuery": {}
}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 |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 139 ms | $0.03 |