80trust / 100

Text Numbers

by Tanod utilpeek in Weather & location

x402 APIPassing, checked 3 h ago

utilpeek (Tanod) number words: numbers to English words and back.

POST https://tanod.dev/v1/text/numbers

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://tanod.dev/v1/text/numbers" \
  -H "content-type: application/json" \
  -d '{"currency":"USD","style":"currency","value":"1234.5"}'
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%2Ftanod.dev%2Fv1%2Ftext%2Fnumbers
const res = await pay("https://tanod.dev/v1/text/numbers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"currency":"USD","style":"currency","value":"1234.5"}),
});
console.log(await res.json());

Example input

{
  "currency": "USD",
  "style": "currency",
  "value": "1234.5"
}

Example output

{
  "currency": "USD",
  "rounded_to": "1234.50",
  "source": {
    "library": "own implementation (standard library)",
    "license": "n/a"
  },
  "style": "currency",
  "value": "1234.5",
  "words": "one thousand two hundred thirty-four dollars and fifty cents"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402277 ms$0.001
7 h agoPassed402270 ms$0.001
11 h agoPassed402263 ms$0.001
14 h agoPassed402274 ms$0.001
18 h agoPassed402266 ms$0.001
21 h agoPassed402382 ms$0.001
25 h agoPassed402263 ms$0.001
30 h agoPassed402270 ms$0.001