Api Endpoint

Number to Words (12 Languages)

Number to words: spell a number out in English, Dutch, German, French, Spanish, Italian, Portuguese, Polish, Russian, Turkish, Swedish or Japanese, in cardinal, ordinal or currency form. Currency form agrees the number with the currency noun and gives real minor-unit names for 19 currencies (EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, RUB, TRY, CNY, INR, BRL, MXN, CAD, AUD, NZD, CZK, HUF); any other ISO 4217 code uses a fraction such as 56/100. Values up to 10^15.

Open interactive test console

Offering

Provider
api.duoleads.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.duoleads.com/v1/num/words
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
number-to-words, spell-number, amount-in-words, numbers, localisation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39"
  }
]

Observed health

Status
Healthy
Latest latency
40 ms
Average latency
378 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "Integer or decimal number, absolute value below 1e15, e.g. 1234 or 1234.56.",
          "pattern": "^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$",
          "maxLength": 32
        },
        "lang": {
          "type": "string",
          "description": "Language, ISO 639-1. Default en.",
          "enum": [
            "en",
            "nl",
            "de",
            "fr",
            "es",
            "it",
            "pt",
            "pl",
            "ru",
            "tr",
            "sv",
            "ja"
          ],
          "maxLength": 64,
          "default": "en"
        },
        "form": {
          "type": "string",
          "description": "cardinal (default), ordinal, currency or year.",
          "enum": [
            "cardinal",
            "ordinal",
            "currency",
            "year"
          ],
          "maxLength": 64,
          "default": "cardinal"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 code. Required when form=currency, rejected otherwise.",
          "maxLength": 16
        },
        "case": {
          "type": "string",
          "description": "lower (default), sentence or title.",
          "enum": [
            "lower",
            "sentence",
            "title"
          ],
          "maxLength": 64,
          "default": "lower"
        }
      },
      "required": [
        "value"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "case": {
              "default": "lower",
              "description": "lower (default), sentence or title.",
              "enum": [
                "lower",
                "sentence",
                "title"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "currency": {
              "description": "ISO 4217 code. Required when form=currency, rejected otherwise.",
              "maxLength": 16,
              "type": "string"
            },
            "form": {
              "default": "cardinal",
              "description": "cardinal (default), ordinal, currency or year.",
              "enum": [
                "cardinal",
                "ordinal",
                "currency",
                "year"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "lang": {
              "default": "en",
              "description": "Language, ISO 639-1. Default en.",
              "enum": [
                "en",
                "nl",
                "de",
                "fr",
                "es",
                "it",
                "pt",
                "pl",
                "ru",
                "tr",
                "sv",
                "ja"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "value": {
              "description": "Integer or decimal, absolute value below 1e15.",
              "maxLength": 32,
              "type": "string"
            }
          },
          "required": [
            "value"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "currency": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "minor_plural": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "minor_singular": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "minor_units": {
                      "type": "integer"
                    },
                    "unit_plural": {
                      "type": "string"
                    },
                    "unit_singular": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "unit_singular",
                    "unit_plural",
                    "minor_singular",
                    "minor_plural",
                    "minor_units"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "form": {
                  "type": "string"
                },
                "lang": {
                  "type": "string"
                },
                "parts": {
                  "properties": {
                    "integer_words": {
                      "type": "string"
                    },
                    "minor_words": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "integer_words",
                    "minor_words"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "rounding_applied": {
                  "type": "boolean"
                },
                "value": {
                  "type": "string"
                },
                "words": {
                  "type": "string"
                }
              },
              "required": [
                "words",
                "value",
                "lang",
                "form",
                "currency"
              ],
              "type": "object"
            },
            "meta": {
              "properties": {
                "computed_at": {
                  "description": "RFC 3339 UTC with milliseconds",
                  "type": "string"
                },
                "deterministic": {
                  "type": "boolean"
                },
                "disclaimer": {
                  "type": "string"
                },
                "price_usd": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "sources": {
                  "items": {
                    "required": [
                      "id",
                      "version",
                      "published"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "request_id",
                "computed_at",
                "price_usd",
                "deterministic",
                "disclaimer"
              ],
              "type": "object"
            },
            "ok": {
              "const": true
            },
            "route": {
              "const": "/v1/num/words"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "route",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}