80trust / 100

Google Maps

by agdata in Weather & location

x402 APIPassing, checked 2 h ago

Google Maps places for a search term, optionally narrowed to an area: {"query":"coffee shops","location":"Prague","limit":5}. Up to 20 places per call. Each place comes back with title, categoryName, address, phone, website, totalScore (rating), reviewsCount, location (lat, lng), openingHours, price, placeId and its Maps url. Common uses are local lead lists, store and competitor mapping, and checking a business's hours or phone number.

POST https://agdata.shveik.dev/x402/google-maps

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
128 ms typical, 146 ms slowest 5%
Last check
2 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-maps" \
  -H "content-type: application/json" \
  -d '{"limit":5,"location":"Prague","query":"coffee shops"}'
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-maps
const res = await pay("https://agdata.shveik.dev/x402/google-maps", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5,"location":"Prague","query":"coffee shops"}),
});
console.log(await res.json());

Example input

{
  "limit": 5,
  "location": "Prague",
  "query": "coffee shops"
}

Example output

{
  "address": "Pod Dráh…",
  "categoryName": "Coffee s…",
  "city": "Prague 7…",
  "location": {},
  "openingHours": [],
  "phone": "",
  "placeId": "ChIJ5f89…",
  "price": null,
  "reviewsCount": 183,
  "title": "The Mine…",
  "totalScore": 4.8,
  "url": "https://…",
  "website": "https://…"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402137 ms$0.096
5 h agoPassed402103 ms$0.096
9 h agoPassed402142 ms$0.096
13 h agoPassed402146 ms$0.096
16 h agoPassed402109 ms$0.096
20 h agoPassed402128 ms$0.096
24 h agoPassed402102 ms$0.096
26 h agoPassed40228 ms$0.096
32 h agoPassed402191 ms$0.096

History

11 Oct 2026Price changed from $0.092 to $0.096