78trust / 100
Fr Geocode
by eu-verify in Weather & location
x402 APIPassing, checked 31 min ago
French address geocoding on the official Base Adresse Nationale (api-adresse.data.gouv.fr, Etalab/IGN, continuously updated). Forward: ?q=8 boulevard du port amiens with optional &type=housenumber|street|locality|municipality &citycode=80021 (INSEE filter). Reverse: ?lat=49.897&lon=2.290. &limit=1-10 (default 3). Each match returns normalized label, confidence score, lat/lon, street, postcode, city, INSEE citycode and context. No match returns 400 (not billed). Cached 24h.
GET https://x402-datashop-production.up.railway.app/v1/fr/geocode
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 346 ms typical, 437 ms slowest 5%
- Last check
- 31 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-datashop-production.up.railway.app/v1/fr/geocode?limit=1&q=8+boulevard+du+port+amiens"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%2Fx402-datashop-production.up.railway.app%2Fv1%2Ffr%2Fgeocode
const res = await pay("https://x402-datashop-production.up.railway.app/v1/fr/geocode?limit=1&q=8+boulevard+du+port+amiens");
console.log(await res.json());Example input
{
"limit": 1,
"q": "8 boulevard du port amiens"
}Example output
{
"count": 1,
"matches": [
{
"city": "Amiens",
"citycode": "80021",
"context": "80, Somme, Hauts-de-France",
"housenumber": "8",
"label": "8 Boulevard du Port 80000 Amiens",
"lat": 49.897442,
"lon": 2.290084,
"postcode": "80000",
"score": 0.97072,
"street": "Boulevard du Port",
"type": "housenumber"
}
],
"mode": "search",
"query": "8 boulevard du port amiens",
"source": "Base Adresse Nationale via api-adresse.data.gouv.fr (Etalab/IGN, Licence Ouverte 2.0)"
}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 |
|---|---|---|---|---|
| 31 min ago | Passed | 402 | 334 ms | $0.001 |
| 4 h ago | Passed | 402 | 334 ms | $0.001 |
| 7 h ago | Passed | 402 | 337 ms | $0.001 |
| 11 h ago | Passed | 402 | 371 ms | $0.001 |
| 15 h ago | Passed | 402 | 356 ms | $0.001 |
| 18 h ago | Passed | 402 | 453 ms | $0.001 |
| 23 h ago | Passed | 402 | 334 ms | $0.001 |
| 26 h ago | Passed | 402 | 360 ms | $0.001 |
| 30 h ago | Passed | 402 | 437 ms | $0.001 |
| 33 h ago | Passed | 402 | 409 ms | $0.001 |
| 36 h ago | Passed | 402 | 340 ms | $0.001 |
| 41 h ago | Passed | 402 | 346 ms | $0.001 |