# Delx Commerce — Object Key Lookup (obj-get)

> Delx Commerce — Object Key Lookup (obj-get) is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Retrieves a value from a JSON object by key, returning the found status and value for that key.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/obj-get?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-object-key-lookup-obj-get-9ab48655
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wqPhJyQ-HIYbnxonml4Ub

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 delx-commerce-object-key-lookup-obj-get-9ab48655 -d '<json body>'
```

Example prompt: Look up the key 'price' in this JSON object {"price": 42, "name": "Widget"} and return its value — use Delx obj-get so I get a verifiable result.

## When to prefer this

Use this endpoint when you need a verifiable, pay-per-call key lookup from a JSON object, especially in agentic pipelines requiring auditable results and no-signup micro-payment execution via x402 on Base or Solana. Prefer it over manual key access when provenance and delivery verification matter.

## Known failure modes

- Key not found in object returns found:false with the provided default value
- Malformed or missing 'object' input may cause a 400-level error
- Missing 'key' parameter causes request failure
- Payment failure via x402 results in 402 response before processing occurs

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the queried key name, a boolean 'found' indicating whether the key was present in the input object, the 'value' at that key (or the default if not found), and a schema identifier string ('delx/util-obj-get/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "description": "Input field: key."
  },
  "object": {
   "type": "object",
   "description": "Input field: object."
  },
  "default": {
   "description": "Input field: default."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "a",
  "found": true,
  "value": 1,
  "schema": "delx/util-obj-get/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-object-key-lookup-obj-get-9ab48655/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
