{"uid":"cap_bEkBrlHEknp1J-R_8g5IT","slug":"delx-commerce-ordinal-converter-931ce3a8","name":"Delx Commerce Ordinal Converter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/ordinal?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","description":"Input field: n."}}},"responseSchema":{"type":"json","example":{"n":21,"schema":"delx/util-ordinal/v1","ordinal":"21st"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DvTajwQjyWpWRMHeYHoF8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an integer into its English ordinal string (e.g. 21 → '21st')","exampleAgentPrompt":"What is the ordinal form of 42? I need it formatted like '42nd' for a leaderboard display.","exampleUseCases":[{"title":"Leaderboard position formatting","prompt":"I have a player ranked 13 — can you convert that to its ordinal form so I can display it as '13th' on the leaderboard?"},{"title":"Competition ranking display","prompt":"We finished in position 21 in the tournament — what's the proper ordinal string for that so I can put it in the results announcement?"},{"title":"Ordinal label for step number","prompt":"I'm building a step-by-step guide and step number 3 needs to be labeled with its ordinal — what does '3' become when written as an ordinal?"}],"resultDescription":"A JSON object containing the original integer n, a schema identifier ('delx/util-ordinal/v1'), and the ordinal string representation of n (e.g. '21st', '2nd', '100th').","failureModes":["Missing or non-integer n field returns an error","Negative integers may not be supported","Payment failure via x402 if USDC balance is insufficient or Base/Solana transaction is rejected"],"whenToPreferThis":"Choose this endpoint when an agent needs a reliable, pay-per-call, no-signup ordinal formatter with verifiable on-chain payment — especially useful in automated pipelines where you want exact pricing and no subscription overhead. Prefer it over writing custom ordinal logic when correctness and zero maintenance matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:19:12.553Z","isFirstParty":false,"canonicalSlug":"delx-commerce-ordinal-converter-931ce3a8"}