Ordinal
Format a non-negative integer as an ordinal — both the suffixed form (21st) and the ordinal words (twenty-first).
- Category
- Developer tools
- Starting price
- $0.002
- Paid calls · 30 days
- 207
- Unique payers · 30 days
- 27
Paid endpoints
4 endpoints, sorted by usage. Prices are per request.
- POST/v1/ordinal
Format a non-negative integer as an ordinal — both the suffixed form (21st) and the ordinal words (twenty-first).
$0.002Base53calls / 30d - POST/v1/words
Spell an integer out in English words, e.g. 123 → "one hundred twenty-three". Negatives are prefixed with "minus".
$0.002Base52calls / 30d - POST/v1/radix
Convert an integer between numeral bases 2–36 (binary, octal, hex, base36, …). Arbitrary size via BigInt; digits are case-insensitive and a leading minus is allowed.
$0.002Base52calls / 30d - POST/v1/roman
Convert between integers (1–3999) and Roman numerals in either direction — a digit string is encoded to Roman, a Roman numeral is decoded to an integer. Non-canonical numerals (IIII, IC) are rejected.
$0.002Base50calls / 30d