{"uid":"cap_bE3QHaDE3ZjQIHZuw9Lxi","slug":"kihustle-json-key-rename-56e824d7","name":"KiHustle JSON Key Rename","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/api/v1/json-key-rename","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object"},"mapping":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"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_ZgE7JwjBsoEFyX0c1pc70","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":"Renames keys in a JSON object according to a provided field-name mapping","exampleAgentPrompt":"Rename the keys in this JSON object — change 'first_name' to 'firstName', 'last_name' to 'lastName', and 'phone_number' to 'phone' — using the mapping I'll pass alongside the data object.","exampleUseCases":[{"title":"Normalize API response field names","prompt":"I'm getting data from a third-party API that uses snake_case keys like 'user_id' and 'created_at', but my system expects camelCase like 'userId' and 'createdAt' — can you rename all those keys for me using a mapping?"},{"title":"Standardize CSV-imported JSON keys","prompt":"I imported a CSV and converted it to JSON but the column headers became messy keys like 'First Name' and 'Last Name' — rename them to clean keys like 'firstName' and 'lastName' using this mapping."},{"title":"Remap webhook payload fields","prompt":"A webhook is sending me a payload with keys named 'evt_type' and 'ts' but my database schema expects 'eventType' and 'timestamp' — rename those fields in the incoming JSON object so I can store it correctly."}],"resultDescription":"A JSON object with the same values as the input but with keys renamed according to the provided mapping. The response includes a 'result' field with the transformed object and a 'status' field confirming success.","failureModes":["Missing or malformed 'data' object returns an error","Missing or malformed 'mapping' object returns an error","Keys referenced in mapping that don't exist in data are silently skipped or cause an error","Deeply nested keys may not be remapped if only top-level renaming is supported","Payment failure (x402) prevents the call from being processed"],"whenToPreferThis":"Use this endpoint when you need a simple, stateless, pay-per-call JSON key renaming operation without spinning up your own transformation logic. It is especially useful in automation pipelines where field-name normalization is a recurring step, or when integrating disparate APIs that use different naming conventions for the same data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:58:28.889Z","isFirstParty":false}