# x402-tools Amount Type Diagnostic

> x402-tools Amount Type Diagnostic is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns the payment amount type metadata for an x402-protected endpoint, demonstrating the paid diagnostic SKU shape with EIP-3009 payment extras.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/amounttype?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-amount-type-diagnostic-1bbf40b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_36lSrsZDXaPg9PGs-Z0Qa

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 x402-tools-amount-type-diagnostic-1bbf40b2
```

Example prompt: Can you run the x402 amount type diagnostic on https://example.com to check what payment amount type that endpoint uses and show me the SKU shape?

## When to prefer this

Choose this endpoint when you need to inspect or validate the x402 payment amount type metadata for a specific URL or origin, particularly when debugging or integrating with x402-protected APIs that use the OpenX402 facilitator and EIP-3009 payment extras. It is a diagnostic tool best suited for developers and agents building x402 payment flows, not for production data retrieval.

## Known failure modes

- HTTP 402 returned if the request is unpaid — includes EIP-3009 extras indicating required payment details
- Invalid or unreachable URL results in an error response
- Only GET, HEAD, and DELETE HTTP methods are accepted; other methods will be rejected
- The facilitator must be OpenX402; other facilitators are not supported and may cause errors
- Malformed input object (missing required 'type' or 'method' fields) causes a validation error

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns a JSON object containing the SKU identifier ('amounttype'), a human-readable title ('Amount Type'), the price ('$0.02'), and an example paid JSON shape. This is a diagnostic example response illustrating the structure of a paid x402 SKU, not a live settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "Public 402 or well-known URL. Defaults to this origin's Pipe Check."
      },
      "origin": {
       "type": "string",
       "description": "Public origin URL. Alias of url."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object",
   "required": [
    "type",
    "properties"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "object"
    },
    "required": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "properties": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "amounttype",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.02",
  "title": "Amount Type"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-amount-type-diagnostic-1bbf40b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
