# KiHustle JSON Key Rename API

> KiHustle JSON Key Rename API is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Renames keys in a JSON object according to a provided field mapping, returning the transformed object with new key names.

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/json-key-rename?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-json-key-rename-api-29f8da0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uk2XlZgIkfQVsIt9Btr2o

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kihustle-json-key-rename-api-29f8da0e -d '<json body>'
```

Example prompt: 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"}.

## When to prefer this

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).

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "mapping": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-json-key-rename-api-29f8da0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
