{"uid":"cap_uXCBCowb1rtz1_CjwlhMB","slug":"money-format-e3e2d5d2","name":"Money Format","description":"Format a numeric amount with thousands separators, a chosen decimal precision and a currency symbol.","url":"https://x402.agentindex.world/money/format?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"number","title":"Amount"},"decimals":{"type":"integer","title":"Decimals","default":2,"maximum":6,"minimum":0},"currency_symbol":{"type":"string","title":"Currency Symbol","default":"$"}}},"responseSchema":{"type":"json","example":{"formatted":"$1,234,567.50"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WzOGPeAvqZwxN2Nk60tnY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Format a numeric amount with thousands separators, configurable decimal precision, and a currency symbol prefix.","exampleAgentPrompt":"Format 1234567.89 as a dollar amount with 2 decimal places and a $ symbol — I need a clean, comma-separated string like $1,234,567.89.","exampleUseCases":[{"title":"Invoice total display","prompt":"Format 48750.5 as a dollar amount with 2 decimal places and the $ symbol so I can show it nicely on the invoice."},{"title":"Crypto balance presentation","prompt":"I have a raw ETH balance of 0.123456 — can you format it with the Ξ symbol and 6 decimal places for display in the wallet dashboard?"},{"title":"Price tag with no decimals","prompt":"Format 2999 as a price in euros using the € symbol and 0 decimal places, with thousands separators, so it reads as €2,999."}],"resultDescription":"A formatted currency string with thousands separators applied, the specified number of decimal places, and the chosen currency symbol prepended — e.g. '$1,234,567.89'.","failureModes":["Invalid or missing amount field returns an error","Decimals value outside 0-6 range rejected","Non-numeric amount causes a 400/422 error","Network timeout on the paid endpoint"],"whenToPreferThis":"Use this endpoint when you need a quick, consistent, server-side currency formatting call — especially within agent pipelines where locale-specific formatting logic would be error-prone to implement inline, or when you need to format amounts across varying decimal precisions and currency symbols without writing custom code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:30:27.586Z","isFirstParty":false,"canonicalSlug":"money-format-e3e2d5d2"}