# Delx Object Has

> Delx Object Has is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Checks whether a JSON object contains a specified key, returning a boolean result for preflight validation before paid API calls.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/obj-has
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-object-has-7f9fd42e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zTIMyt4QTEr9GxwRbVU6u

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-object-has-7f9fd42e -d '<json body>'
```

Example prompt: Before calling the billing API, check whether this JSON object has the key 'userId': {"email": "jane@example.com", "userId": "u_123", "plan": "pro"}.

## When to prefer this

Use this endpoint when you need a lightweight, stateless check to confirm a key exists in a JSON object before committing to a more expensive or irreversible downstream call. It is ideal for agent workflows that need fast, cheap preflight validation without spinning up custom code or storing data.

## Known failure modes

- Missing 'key' or 'object' fields in the request body results in a validation error
- Non-object value passed as 'object' field causes a schema error
- Payment failure via x402 prevents the call from executing
- Network timeout returns no result; caller must retry

## How this service works

Check whether an object has a key. Call when you preflight required fields before paid calls. Returns has boolean and key for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a JSON object containing a 'has' boolean indicating whether the key exists in the provided object, along with the queried 'key' name for confirmation.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "has": true,
  "key": "a",
  "schema": "delx/util-obj-has/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-object-has-7f9fd42e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
