{"uid":"cap_2VHYWcnzm6-XmmeK7JsaN","slug":"delx-swap-case-bc455b06","name":"Delx Swap Case","description":"Swap letter case for deterministic transform tests. Call when you need a pure case flip without locale rules. Returns case-swapped text for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.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_BO8wefGZGBmS5Z69Xntlc","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":"Flips the case of every letter in a string — uppercase becomes lowercase and vice versa — as a stateless, deterministic text transform.","exampleAgentPrompt":"Swap the case of this string for me: 'Hello World, This Is A TEST' — flip every uppercase letter to lowercase and every lowercase to uppercase.","exampleUseCases":[{"title":"Deterministic test fixture generation","prompt":"I need a case-swapped version of 'The Quick Brown Fox Jumps Over The Lazy Dog' to use as a predictable test fixture in my string-processing unit tests."},{"title":"Inverting a user-typed label","prompt":"The user typed 'hELLO wORLD' — can you swap the case so it reads properly as 'Hello World'? Actually wait, just fully invert whatever they typed."},{"title":"Agent pipeline sanity check","prompt":"Run a case-flip on the string 'aGENT oUTPUT v2.3a' so I can verify my text pipeline is handling mixed-case tokens correctly before I ship this."}],"resultDescription":"Returns a plain text response containing the input string with every letter's case inverted — uppercase letters become lowercase and lowercase letters become uppercase; non-letter characters are passed through unchanged.","failureModes":["Empty or missing 'text' field returns a validation error","Excessively long strings may be rejected or time out","Payment failure (insufficient USDC balance or x402 protocol error) results in a 402 response and no transform","Non-UTF-8 or malformed input may produce unexpected output or an error"],"whenToPreferThis":"Choose this endpoint when you need a guaranteed, locale-neutral, deterministic case flip on a string — particularly in testing or pipeline-validation scenarios where you need a known reversible transform. It is not a locale-aware title-case or sentence-case converter; it simply mirrors each letter's case bit. Prefer it over building your own logic when you want a cheap, stateless, no-side-effect utility call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:54:44.439Z","isFirstParty":false,"canonicalSlug":"delx-swap-case-bc455b06"}