{"uid":"cap_1ILcr-wr_8vxiVN2kl3is","slug":"delx-commerce-swap-case-text-transformer-be220b12","name":"Delx Commerce — Swap Case Text Transformer","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/swap-case?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"text":"hELLOwORLD","schema":"delx/util-swap-case/v1"}},"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_Em2LLVObosOVjKiEUX_G2","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 all uppercase letters in a text string to lowercase and all lowercase letters to uppercase (swap case transformation).","exampleAgentPrompt":"Swap the case of this text for me: 'Hello World' — so uppercase letters become lowercase and lowercase become uppercase.","exampleUseCases":[{"title":"Normalize mixed-case user input","prompt":"Take this string 'JoHn DoE' and swap the case of every letter so I can see it inverted."},{"title":"Invert formatted code snippet casing","prompt":"I have this label 'camelCaseVariable' — can you swap all the uppercase and lowercase letters in it?"},{"title":"Flip casing in a stylized social post","prompt":"Swap the case in this phrase 'hELLO fRIENDS' so the uppercase letters become lowercase and the lowercase ones become uppercase."}],"resultDescription":"A JSON object containing a 'text' field with the case-swapped version of the input string (all uppercase characters converted to lowercase and vice versa), along with a 'schema' field identifying the response format as 'delx/util-swap-case/v1'.","failureModes":["Missing or empty 'text' field in request body — likely returns a 400 error","Non-string value passed as 'text' — may return a validation error","Payment failure or insufficient USDC balance — returns HTTP 402 requiring payment","Network timeout — returns connection error"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-result, no-signup swap-case transformation with verifiable delivery and USDC micropayment settlement. Ideal for agents that need deterministic character-level case inversion without setting up API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:02.484Z","isFirstParty":false,"canonicalSlug":"delx-commerce-swap-case-text-transformer-be220b12"}