ort.halowerk.com/v1/plus-code
Encode coordinates as Plus Codes (Open Location Code) of length 2–15 and decode full or short codes to their area, with shortening and recovery relative to a reference point. Own implementation of the Open Location Code specification (github.com/google/open-location-code, Apache-2.0) with integer arithmetic; degrees are converted with exact decimal arithmetic, so the official encoding, decoding, v
POST
https://ort.halowerk.com/v1/plus-codeUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ort.halowerk.com/v1/plus-code", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"codes":["9F4794QR+"],"points":[{"lat":52.212,"lon":7.042}],"reference":{"lat":52.21,"lon":7.04}}),
});
console.log(await res.json());Example input
{
"codes": [
"9F4794QR+"
],
"points": [
{
"lat": 52.212,
"lon": 7.042
}
],
"reference": {
"lat": 52.21,
"lon": 7.04
}
}