{"uid":"cap_JkrmI8pARNIA8jtPTxsLQ","slug":"openverbs-text-case-converter-1eaba7cb","name":"OpenVerbs Text Case Converter","description":"Recase a string into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Sentence case, Capital Case, Train-Case, no case, Title Case, or plain UPPER/lower — the word boundaries are detected regardless of the input casing.","url":"https://text.openverbs.com/v1/case","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text","target"],"properties":{"text":{"type":"string","maxLength":1000000,"description":"The text to recase."},"target":{"enum":["camel","pascal","snake","kebab","constant","dot","path","sentence","capital","train","no","title","upper","lower"],"type":"string","description":"Target case, one of camel, pascal, snake, kebab, constant, dot, path, sentence, capital, train, no, title, upper, lower."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xy3l_RLPtqJxEideM3uEz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a string into any of 14 target cases (camelCase, snake_case, kebab-case, PascalCase, etc.) with automatic word-boundary detection regardless of input format.","exampleAgentPrompt":"Can you convert the string 'getUserProfileData' to snake_case for me?","exampleUseCases":[{"title":"Normalize API field names to snake_case","prompt":"I have a list of camelCase field names like 'firstName', 'lastName', 'emailAddress' — can you convert each one to snake_case so they match our database column naming convention?"},{"title":"Generate URL-friendly kebab-case slugs","prompt":"Take this article title 'My Top 10 JavaScript Tips & Tricks' and convert it to kebab-case so I can use it as a URL slug."},{"title":"Reformat constants for a config file","prompt":"I need to turn the string 'maxRetryAttempts' into CONSTANT_CASE for my environment variable names — can you recase it?"}],"resultDescription":"Returns the recased version of the input string, with word boundaries automatically detected from the original casing so the output is correctly separated regardless of whether the input was camelCase, snake_case, CONSTANT_CASE, or any other supported format.","failureModes":["Invalid target case value returns an error — must be one of the 14 allowed enum values","Input text exceeding 1,000,000 characters will be rejected","Malformed request body (missing 'text' or 'target' fields) returns a validation error","Payment failure or insufficient balance blocks the request under x402 protocol"],"whenToPreferThis":"Use this endpoint when you need deterministic, rule-based case conversion across many naming conventions without writing custom regex or parser logic. It is especially valuable when the input casing is unknown or mixed, since it auto-detects word boundaries. Prefer this over ad-hoc string manipulation when you need reliable, consistent output across 14 named formats in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:21.643Z","isFirstParty":false}