# AmanChain Text & URL Summarizer

> AmanChain Text & URL Summarizer is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.003732/call, status unknown (last checked 2026-09-14).

Summarizes any text passage or URL into a TL;DR plus key bullet points, paid per call via x402 in USDC.

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-summarize
- Price: $0.003732/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-text-url-summarizer-8221f7c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D860t19MgW0PLPcbQtJdM

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 amanchain-text-url-summarizer-8221f7c0 -d '<json body>'
```

Example prompt: Can you summarize this article for me and give me the key takeaways? Here's the URL: https://example.com/long-article-about-climate-change

## When to prefer this

Choose this endpoint when you need a pay-per-call, account-free text or URL summarization with no API key setup — ideal for agents that need occasional on-demand summarization billed in USDC via x402 micropayments. Prefer alternatives if you need bulk summarization, streaming output, or fine-grained control over summary length and format.

## Known failure modes

- URL is inaccessible or returns a non-200 status — service may return an error or empty result
- Input text is empty or malformed JSON body — returns a 400-level error
- Payment not settled or x402 handshake fails — request is rejected before processing
- URL behind a paywall or login wall — content cannot be fetched and summary will be incomplete or fail
- Very short input with nothing to summarize — output may be trivially short or echo the input

## How this service works

AI summarization API — TL;DR and key points from any text or URL; article and document summarizer. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-summarize","request":"<input>"}.

## Output

Returns a TL;DR summary and a list of key points extracted from the provided text or URL content, structured as a JSON response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-text-url-summarizer-8221f7c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
