# X Pay Summarize

> X Pay Summarize is a paid API for AI agents from www.api-xpay.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Summarizes arbitrary text content via a pay-per-request POST endpoint using USDC micropayments on Base.

## Facts

- Endpoint: POST https://www.api-xpay.com/x402/summarize
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-pay-summarize-6648949b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MIuDdR0JeXE9l2w5KRajr

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 x-pay-summarize-6648949b -d '<json body>'
```

Example prompt: Can you summarize the following article for me? It's quite long and I just need the key points: [paste article text here]. Use the X Pay summarize endpoint and pay the $0.01 USDC fee.

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-use text summarization without a subscription or API key, particularly in agent workflows that already use x402 micropayment infrastructure and USDC on Base. Ideal for sporadic, low-volume summarization tasks where per-call billing at $0.01 is more cost-effective than a monthly plan.

## Known failure modes

- Payment not received or insufficient USDC balance — returns 402 Payment Required
- Missing required 'input' body fields (type, method, bodyType, body) — returns 400 Bad Request
- Empty or malformed body content — may return an empty or low-quality summary
- Network congestion on Base blockchain may delay payment confirmation
- Unsupported bodyType enum value causes schema validation error

## How this service works

Pay-per-request utility APIs powered by x402 using USDC on Base.

## Output

Returns a JSON object containing a 'summary' field with the condensed text, a 'success' boolean, and metadata about the payment asset (USDC) and network (Base) used.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": "USDC",
  "network": "base",
  "success": true,
  "summary": "Example summary text."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-pay-summarize-6648949b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.api-xpay.com](https://www.zero.xyz/host/www.api-xpay.com/llms.txt)
