77trust / 100

Parse

by Parse a coordinate string in Documents & files

x402 APIPassing, checked 2 h ago

Parse a coordinate string into decimal lat/lon. Accepts a plain decimal pair ('40.4462, -79.9822') or DMS with hemisphere letters ('40°26'46"N 79°58'56"W'). Anything unrecognized is a clean 400.

POST https://geospatial.openverbs.com/v1/parse

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
561 ms typical, 631 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://geospatial.openverbs.com/v1/parse' \
  -H 'content-type: application/json' \
  --data-raw '{"coordinate":"37.7749, -122.4194"}'
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%2Fgeospatial.openverbs.com%2Fv1%2Fparse
const res = await pay("https://geospatial.openverbs.com/v1/parse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"coordinate\":\"37.7749, -122.4194\"}",
});
console.log(await res.json());

Example input

{
  "coordinate": "37.7749, -122.4194"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402588 ms$0.002
6 h agoPassed402536 ms$0.002
10 h agoPassed402561 ms$0.002
14 h agoPassed402600 ms$0.002
18 h agoPassed402563 ms$0.002
22 h agoPassed402559 ms$0.002
25 h agoPassed402580 ms$0.002
29 h agoPassed402560 ms$0.002
32 h agoPassed402571 ms$0.002
36 h agoPassed402546 ms$0.002
39 h agoPassed402534 ms$0.002
43 h agoPassed402631 ms$0.002
47 h agoPassed402166 ms$0.002
2 days agoPassed402571 ms$0.002
2 days agoPassed402164 ms$0.002