Format a number the way people in a locale expect (Unicode CLDR / ICU)
agents.204-168-199-108.sslip.io/v1/util/number-format
Format a number the way people in a locale expect (Unicode CLDR / ICU): currency (€1,234.50 vs 1.234,50 €, Indian lakh grouping 12,34,567), accounting negatives, percent, compact (1.2M / 1.2 million), scientific/engineering, and units (km/h, GB, °C). Up to 10 locales per call, each with its decimal and group separator. Use for invoices, reports and user-facing replies in the user's own format.
GET
https://agents.204-168-199-108.sslip.io/v1/util/number-formatUptime100% of 1 check 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://agents.204-168-199-108.sslip.io/v1/util/number-format?currency=EUR&locale=en-US%2Cde-DE%2Cen-IN&value=1234567.891");
console.log(await res.json());Example input
{
"currency": "EUR",
"locale": "en-US,de-DE,en-IN",
"value": "1234567.891"
}