80trust / 100

Address Geocode

by api.strale.io in Weather & location

x402 APIPassing, checked 15 min ago

Convert an address to geographic coordinates (latitude/longitude). Also returns structured address components and bounding box via OpenStreetMap Nominatim.

GET https://api.strale.io/x402/v2/address-geocode

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
137 ms typical, 331 ms slowest 5%
Last check
15 min ago
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.strale.io/x402/v2/address-geocode?address=example_address"
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%2Fapi.strale.io%2Fx402%2Fv2%2Faddress-geocode
const res = await pay("https://api.strale.io/x402/v2/address-geocode?address=example_address");
console.log(await res.json());

Example input

{
  "address": "example_address"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
15 min agoPassed402145 ms$0.022
4 h agoPassed402427 ms$0.022
8 h agoPassed402137 ms$0.022
11 h agoPassed402123 ms$0.022
15 h agoPassed402331 ms$0.022
18 h agoPassed402122 ms$0.022
22 h agoPassed402299 ms$0.022
26 h agoPassed402277 ms$0.022
29 h agoPassed402125 ms$0.022
34 h agoPassed402130 ms$0.022