# Object From Entries Utility

> Object From Entries Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Converts an array of key-value entry pairs into a plain object, analogous to JavaScript's Object.fromEntries()

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/object-from-entries?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/object-from-entries-utility-dbbb2722
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l78jfajFIu8NIYIP0BACt

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 object-from-entries-utility-dbbb2722 -d '<json body>'
```

Example prompt: Take these key-value pairs — [['name', 'Alice'], ['age', 30], ['city', 'NYC']] — and convert them into a single object for me.

## When to prefer this

Choose this endpoint when an agent needs a simple, deterministic, pay-per-call transformation of entry pairs into a plain object without spinning up local code execution. Useful when operating in a sandboxed or stateless agent environment where JavaScript's Object.fromEntries() is unavailable.

## Known failure modes

- Malformed input entries (non-array or non-pair elements) may cause a 400 error
- Duplicate keys in entries may result in last-value-wins behavior without warning
- Empty entries array returns an empty object rather than an error
- Payment failure via x402 returns a 402 status before processing occurs

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with a 'result' field containing the constructed object built from the input entries, and an 'operation' field confirming 'object_from_entries'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "object_from_entries"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/object-from-entries-utility-dbbb2722/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
