{"uid":"cap_Kyru9x6uKNzb-FsUU8rDr","slug":"kihustle-json-key-rename-02e87a63","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/nexus/api/v1/json-key-rename?utm_source=zero.xyz","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_ubMV2Flp2fTYe7zHRwMzI","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 key mapping","exampleAgentPrompt":"Take this JSON object and rename its keys using this mapping: rename 'user_id' to 'userId', 'first_name' to 'firstName', and 'last_name' to 'lastName'.","exampleUseCases":[{"title":"Normalize API response field names","prompt":"I'm getting data from a legacy API that uses snake_case keys like 'order_id', 'created_at', and 'total_price' — can you rename them to camelCase 'orderId', 'createdAt', and 'totalPrice' so it matches our frontend data model?"},{"title":"Standardize webhook payload keys","prompt":"Our Stripe webhook sends fields like 'customer_email' and 'payment_amount', but our database expects 'email' and 'amount' — can you remap those keys in this JSON payload before we store it?"},{"title":"Translate JSON keys for third-party integration","prompt":"I need to send this data to a partner API that expects 'productCode' instead of 'sku' and 'unitCost' instead of 'price' — can you rename those keys in my JSON object before I submit it?"}],"resultDescription":"Returns a transformed JSON object with keys renamed according to the provided mapping. The response includes the restructured object under a 'result' field along with a 'status' field indicating success.","failureModes":["Missing 'data' or 'mapping' fields in request body returns an error","Mapping references keys not present in the data object — those keys are silently skipped or cause an error","Malformed JSON input results in a parse error","Nested keys may not be recursively renamed if only top-level keys are supported"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON key renaming operation without spinning up custom transformation code. Useful in automation pipelines where field names must be normalized between systems, and you want to avoid writing boilerplate mapping logic. At $0.002 per call it is cost-effective for low-to-moderate volume use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:47:54.604Z","isFirstParty":false,"canonicalSlug":"kihustle-json-key-rename-02e87a63"}