{"uid":"cap_uk2XlZgIkfQVsIt9Btr2o","slug":"kihustle-json-key-rename-api-29f8da0e","name":"KiHustle JSON Key Rename API","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/bot-bazaar/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_VG5rc6ZF2U3rN75jFf2Kr","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 mapping, returning the transformed object with new key names.","exampleAgentPrompt":"Rename the keys in this JSON object — change 'firstName' to 'first_name', 'lastName' to 'last_name', and 'emailAddress' to 'email': {\"firstName\": \"Anna\", \"lastName\": \"Müller\", \"emailAddress\": \"anna@example.com\"}.","exampleUseCases":[{"title":"Normalize API response field names","prompt":"I'm getting a response from a third-party API with fields like 'usr_nm' and 'acct_id' — can you rename them to 'username' and 'accountId' in this JSON object so I can pass it to my database?"},{"title":"Convert camelCase to snake_case keys","prompt":"Take this JSON object with camelCase keys like 'createdAt', 'userId', and 'orderTotal' and rename them to 'created_at', 'user_id', and 'order_total' for my Python backend."},{"title":"Adapt data for a different schema","prompt":"I need to reformat this JSON payload before sending it to a webhook — rename 'name' to 'full_name', 'phone' to 'phone_number', and 'city' to 'location_city': {\"name\": \"John\", \"phone\": \"555-1234\", \"city\": \"Berlin\"}."}],"resultDescription":"Returns 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 containing the transformed object and a 'status' field confirming success.","failureModes":["Missing 'data' or 'mapping' fields in the request body — returns error","Mapping references keys not present in the data object — those keys are silently skipped or cause partial transformation","Malformed JSON in either field — returns parse error","Circular or conflicting key mappings — undefined behavior","Empty mapping object — returns original object unchanged"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless key-rename operation on a JSON object without deploying custom transformation logic. Ideal for agent pipelines that need to normalize field names between APIs, adapt payloads to a target schema, or convert naming conventions (e.g. camelCase to snake_case) on the fly at low cost ($0.002 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:47:05.720Z","isFirstParty":false,"canonicalSlug":"kihustle-json-key-rename-api-29f8da0e"}