# Spanish Number Words

> Spanish Number Words is a paid API for AI agents from number-words.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts a whole number into its Spanish cardinal and ordinal word forms, with gender agreement, apocope (un/uno), and long-scale naming.

## Facts

- Endpoint: GET https://number-words.x402tookit.com/spanish-words?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spanish-number-words-03e7c635
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8nNGhjBEKeffYDeRfn87K

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 spanish-number-words-03e7c635
```

Example prompt: Can you write out 1,000,000,021 in Spanish words — I need the cardinal form in feminine gender and also the ordinal, for a legal contract draft?

## When to prefer this

Choose this endpoint when you need authoritative Spanish-language number-to-words conversion with gender agreement, apocope handling, and correct long-scale (European Spanish) naming — especially for legal documents, localized UIs, or educational content where grammatical correctness matters.

## Known failure modes

- Number exceeds 15 digits — request rejected or truncated
- Non-numeric or decimal input returns an error
- Invalid gender enum value returns validation error
- Missing required 'value' query parameter returns 400
- Numbers outside ordinal range (>100) return null ordinal fields

## How this service works

A whole number as Spanish words (cardinal, ordinal 1-100), gender, un/uno apocope, long scale (mil millones, un billón).

## Output

Returns the cardinal word form (e.g. 'veintiún' or 'uno'), the ordinal word form and figure for numbers 1–100, gender applied, apocope variant (un/uno), long-scale naming (mil millones, un billón), plus a summary, disclaimer, and optional degraded/reasons flags.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Whole number up to 999,999,999,999,999 (15 digits); negatives get 'menos'"
      },
      "gender": {
       "enum": [
        "masculine",
        "feminine"
       ],
       "type": "string",
       "description": "masculine (default) or feminine: una, veintiuna, doscientas"
      },
      "beforeNoun": {
       "type": "boolean",
       "description": "true gives un/veintiún (or una) as before a noun; false (default) gives uno/veintiuno"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "value": {
       "type": [
        "null",
        "string"
       ]
      },
      "gender": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "ordinal": {},
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "cardinal": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "beforeNoun": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "ordinalFigure": {
       "type": [
        "null",
        "string"
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spanish-number-words-03e7c635/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from number-words.x402tookit.com](https://www.zero.xyz/host/number-words.x402tookit.com/llms.txt)
