agent402.tools/api/number-words
Read English number words as digits ("forty-two thousand and seven" is 42007), with ordinals ("twenty-first" is 21, 21st) and decimals ("three point five" is 3.5), or write digits as words, with the ordinal and the check-writing form ("Forty-two thousand seven and 50/100"). The direction follows the input: digits are written as words, words are read as digits. Whole numbers up to 9,007,199,254,740
POST
https://agent402.tools/api/number-wordsUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/number-words", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"forty-two thousand and seven"}),
});
console.log(await res.json());Example input
{
"text": "forty-two thousand and seven"
}