# agentutility — paid x402 endpoints for autonomous agents

> agentutility — paid x402 endpoints for autonomous agents is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

## Facts

- Endpoint: POST https://x402.agentutility.ai/type-inference-from-json
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/type-inference-from-json-43a9b63d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f5zSP5ezYIRNvkRJyaS7C

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 type-inference-from-json-43a9b63d -d '<json body>'
```

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "json": {
       "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
       ],
       "description": "The JSON sample to infer from. Accept a JSON string OR a pre-parsed object/array/primitive. Max 256 KB if passed as string."
      },
      "format": {
       "type": "string",
       "enum": [
        "typescript",
        "zod",
        "jsonschema"
       ],
       "description": "Output format. Default 'typescript'."
      },
      "root_name": {
       "type": "string",
       "description": "Name of the root type / interface / Zod export. Must be a valid JS identifier. Default 'Root'."
      },
      "date_strings": {
       "type": "boolean",
       "description": "If true (default), recognize ISO-8601 date-time / UUID / URL / email strings and emit format-aware types. Set false to treat all strings as plain 'string'."
      }
     },
     "required": [
      "json"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string"
      },
      "root_name": {
       "type": "string"
      },
      "types": {
       "type": "string"
      },
      "inferred_shape": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "tags": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "joined_at": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "types": "export interface Root {\n  id: number;\n  name: string;\n  tags: Array<string>;\n  joined_at: string;\n}\n",
  "format": "typescript",
  "source": "Inferred locally; no upstream call",
  "root_name": "Root",
  "inferred_shape": {
   "id": "integer",
   "name": "string",
   "tags": [
    "string"
   ],
   "joined_at": "string<date-time>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/type-inference-from-json-43a9b63d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
