# Money Parse: Locale-Aware Money String Parser

> Money Parse: Locale-Aware Money String Parser is a paid API for AI agents from money.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Parses a formatted money string (e.g. '1.234,56') back into a plain numeric value, respecting locale-specific grouping and decimal separators, and stripping currency symbols, codes, and whitespace.

## Facts

- Endpoint: POST https://money.openverbs.com/v1/parse
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/money-parse-locale-aware-money-string-parser-e130f574
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N4KHTvUeFjnIIKdMRLCPz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability money-parse-locale-aware-money-string-parser-e130f574 -d '<json body>'
```

Example prompt: Parse the money string '1.234,56 €' into a plain number using the German locale (de-DE) — strip the currency symbol and give me back 1234.56.

## When to prefer this

Choose this endpoint when you need to reliably convert human-readable, locale-formatted money strings back into machine-usable numbers, especially when dealing with non-English locales where '.' and ',' have swapped roles as grouping/decimal separators. It is part of the money.openverbs.com suite and pairs naturally with its formatting and rounding siblings for round-trip currency workflows.

## Known failure modes

- Input string contains no numeric content → 400 Bad Request
- Locale code is invalid or unsupported BCP-47 tag → possible 400 or fallback to en-US
- Ambiguous separator usage (e.g. '1.234' without locale context) → may misinterpret grouping vs decimal
- Empty string input → 400 Bad Request (minLength:1 enforced)
- String exceeds 100 characters → rejected by schema validation

## How this service works

Parse a formatted money string back into a number, using the locale's grouping and decimal separators (so '1.234,56' in de-DE → 1234.56). Currency symbols/codes and whitespace are stripped; parentheses or a leading minus mean negative. A string with no numeric amount is a clean 400.

## Output

Returns a plain numeric value (e.g. 1234.56) derived from the input money string, with currency symbols, codes, whitespace, and locale-specific formatting removed. Negative values are indicated by a leading minus sign or parentheses in the input. An unparseable string with no numeric content returns a 400 error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "maxLength": 100,
       "minLength": 1,
       "description": "The formatted money string."
      },
      "locale": {
       "type": "string",
       "description": "BCP-47 locale that determines the separators. Default en-US."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/money-parse-locale-aware-money-string-parser-e130f574/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money.openverbs.com](https://www.zero.xyz/host/money.openverbs.com/llms.txt)
