81trust / 100
Place Search
by Place search in Search & web
x402 APIPassing, checked 18 min ago
Search OpenStreetMap for places by keyword, optionally restricted to a bounding box or country. Returns ranked hits with coordinates and place type - e.g. coffee shops in a city, airports in a region.
GET https://agent402.tools/api/place-search
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 188 ms typical, 199 ms slowest 5%
- Last check
- 18 min ago
- Next check
- in 11 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/place-search?limit=3&q=Eiffel+Tower"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%2Fagent402.tools%2Fapi%2Fplace-search
const res = await pay("https://agent402.tools/api/place-search?limit=3&q=Eiffel+Tower");
console.log(await res.json());Example input
{
"limit": 3,
"q": "Eiffel Tower"
}Example output
{
"count": 1,
"query": "Eiffel Tower",
"results": [
{
"boundingBox": {
"east": 2.2956671,
"north": 48.8590453,
"south": 48.8574753,
"west": 2.2933342
},
"class": "tourism",
"displayName": "Eiffel Tower, 5, Avenue Anatole France, Quartier du Gros-Caillou, Paris 7e Arrondissement, Paris, …, France",
"importance": 0.84,
"lat": 48.8582599,
"lon": 2.2945006,
"osm": "way/5013364",
"type": "attraction"
}
],
"source": "nominatim.openstreetmap.org (ODbL)"
}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 |
|---|---|---|---|---|
| 18 min ago | Passed | 402 | 188 ms | $0.001 |
| 3 h ago | Passed | 402 | 188 ms | $0.001 |
| 7 h ago | Passed | 402 | 199 ms | $0.001 |
| 12 h ago | Passed | 402 | 208 ms | $0.001 |