{"uid":"cap_wcj5URSjHfQsaZ97-L9Kq","slug":"number-words-ordinal-format-485be191","name":"Number Words Ordinal Format","description":"Ordinal suffix and word for a number: 1st/2nd/3rd/11th, French 1er/2e, Spanish 1.º/1.ª, German 1. with the word form.","url":"https://number-words.x402tookit.com/ordinal-format?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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 0 up to 999,999,999,999,999"},"gender":{"enum":["masculine","feminine"],"type":"string","description":"masculine (default) or feminine, for Spanish and French"},"language":{"enum":["en","es","fr","de"],"type":"string","description":"en (default), es, fr or de"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"word":{"type":["null","string"]},"value":{"type":["null","string"]},"figure":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"language":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"alternatives":{"type":["array","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6FRLJWLOrUJ1PNbX86lq2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ordinal suffix, figure, and word form for a whole number in English, Spanish, French, or German (e.g. 1st/first, 1.º/primero, 1er/premier, 1.).","exampleAgentPrompt":"What is the ordinal figure and word form for 42 in Spanish, using the feminine gender?","exampleUseCases":[{"title":"Multilingual ranking labels","prompt":"I need to display position labels in a leaderboard — give me the ordinal figure and word for 21 in French, masculine."},{"title":"English ordinal suffix checker","prompt":"What's the correct ordinal suffix and word form for 11 in English — is it 11th or 11st?"},{"title":"Spanish feminine ordinal for document","prompt":"I'm writing a legal document in Spanish — what is the ordinal figure and word for 3 in the feminine form?"}],"resultDescription":"Returns a JSON object containing the ordinal figure (e.g. '42nd', '42.º'), the ordinal word (e.g. 'forty-second', 'cuadragésimo segunda'), the language used, and optional metadata fields such as summary and disclaimer. Null fields are included for unused output slots.","failureModes":["Non-integer or out-of-range value (above 999,999,999,999,999) returns an error or null result","Unsupported language code returns an error or falls back to English default","Supplying gender for English or German (where it is not applicable) may be ignored silently","Missing required 'value' query parameter causes a validation error","Decimal numbers or negative numbers may not be supported and return null or an error"],"whenToPreferThis":"Choose this endpoint when you need both the ordinal suffix/figure (e.g. '1st', '1er', '1.º') AND the spelled-out ordinal word form for a number, especially in a multilingual context supporting English, Spanish, French, or German. Prefer it over a generic number-to-words library when you need gender-aware ordinals (Spanish/French) or locale-specific formatting conventions (French 1er/2e, German 1.) in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:30:19.250Z","isFirstParty":false,"canonicalSlug":"number-words-ordinal-format-485be191"}