{"uid":"cap_Fk4DnXe-8lSfT-9CJ7fTC","slug":"delx-commerce-case-convert-api-43e2ef16","name":"Delx Commerce Case Convert API","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/case-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"case":{"enum":["snake","kebab","camel","pascal","constant","title","lower","upper"],"type":"string","default":"snake"},"text":{"type":"string","maxLength":4000,"minLength":1}}},"responseSchema":{"type":"json","example":{"case":"camel","input":"Hello world API","words":["hello","world","api"],"result":"helloWorldApi","schema":"delx/case-convert/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_Hg3AHtUTt7KDFHGgs21jW","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 a text string into a specified naming case format (snake_case, camelCase, PascalCase, kebab-case, etc.)","exampleAgentPrompt":"Convert the text 'hello world API' to camelCase for me.","exampleUseCases":[{"title":"Variable naming for code generation","prompt":"I'm generating some Python code — can you convert 'User Profile Data' to snake_case so I can use it as a variable name?"},{"title":"API field name normalization","prompt":"Take 'total purchase amount' and convert it to camelCase so I can use it as a JSON field name in my API response."},{"title":"CSS class name formatting","prompt":"Convert 'Main Navigation Header' to kebab-case so I can use it as a CSS class name."}],"resultDescription":"Returns a JSON object containing the original input text, the requested case format label, the tokenized list of individual words, and the final converted result string. Schema is versioned as 'delx/case-convert/v1'.","failureModes":["Text exceeds 4000 character limit — request rejected","Invalid or unsupported case enum value — validation error","Empty string input — rejected due to minLength:1 constraint","Payment failure via x402 protocol — 402 response with no conversion performed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, pay-per-use, no-signup text case conversion with verifiable on-chain payment via USDC on Base or Solana. Ideal for agents that dynamically generate identifiers, variable names, or field names and need reliable, schema-versioned output without managing API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.462Z","isFirstParty":false,"canonicalSlug":"delx-commerce-case-convert-api-43e2ef16"}