# 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.04/call, status unknown (last checked 2026-09-15).

## Facts

- Endpoint: POST https://x402.agentutility.ai/sql-query-review
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sql-query-review-268050ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PR0X4nFFKnpAhmzW8M_lF

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 sql-query-review-268050ad -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": {
      "prompt": {
       "type": "string",
       "description": "Natural-language analytics or database request. Max 5000 chars."
      },
      "schema": {
       "type": "string",
       "description": "Optional schema DDL or table/column description. Max 30000 chars."
      },
      "dialect": {
       "type": "string",
       "enum": [
        "postgres",
        "mysql",
        "sqlite",
        "bigquery",
        "snowflake",
        "mssql",
        "duckdb",
        "ansi"
       ],
       "description": "SQL dialect. Default postgres."
      }
     },
     "required": [
      "prompt"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "sql": {
       "type": "string"
      },
      "dialect": {
       "type": "string"
      },
      "is_destructive": {
       "type": "boolean"
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "review": {
       "type": "string"
      },
      "composed_of": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "components": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string"
         },
         "ok": {
          "type": "boolean"
         },
         "ms": {
          "type": "integer"
         }
        }
       }
      },
      "degraded": {
       "type": "boolean"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sql": "SELECT customer_id, SUM(amount) AS lifetime_spend FROM orders WHERE created_at >= DATE '2026-01-01' GROUP BY customer_id ORDER BY lifetime_spend DESC LIMIT 10;",
  "review": "Headline: This is a read-only top-customer query...",
  "dialect": "postgres",
  "degraded": false,
  "warnings": [
   "Assumes orders.amount stores spend in one currency."
  ],
  "components": [
   {
    "ms": 1800,
    "ok": true,
    "name": "sql-from-prompt"
   },
   {
    "ms": 1200,
    "ok": true,
    "name": "summarize-text"
   }
  ],
  "composed_of": [
   "sql-from-prompt",
   "summarize-text"
  ],
  "is_destructive": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sql-query-review-268050ad/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)
