# Agent Souk Text & URL Summarizer

> Agent Souk Text & URL Summarizer is a paid API for AI agents from api.agentsouk.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Summarizes a given block of text or a public web page URL into a concise paragraph or bullet-point summary, optionally focused on a specific aspect

## Facts

- Endpoint: POST https://api.agentsouk.dev/v1/x402/lst_01M1YBDYPTBYH0G9DVQH0PWPFR
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-souk-text-url-summarizer-8be8bfa7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tgYfQ6Q4nVjOdT68cAfcB

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 agent-souk-text-url-summarizer-8be8bfa7 -d '<json body>'
```

Example prompt: Can you give me a bullet-point summary of https://example.com/article in under 100 words, focusing on the key takeaways about pricing?

## When to prefer this

Choose this endpoint when you need a quick, AI-generated summary of either a live web page or a large block of text, with control over output style (paragraph vs bullets), word count, language, and optional focus topic. It is especially useful for agents operating in content-intelligence or research workflows that need to distill information before acting on it. The x402 micropayment model ($0.04 USDC per call) makes it suitable for per-request autonomous agent use without subscription overhead.

## Known failure modes

- URL is inaccessible, paywalled, or returns a non-200 status — endpoint may return an error or empty source
- Both url and text supplied simultaneously — schema expects one or the other, not both
- Text exceeds 100,000 character limit — request rejected
- max_words outside the 20–600 range — validation error
- Unsupported or unrecognized language code — may default or error
- Payment not provided or insufficient USDC — x402 payment-required response

## How this service works

Summarize a text or a web page (LLM, word limit, key points) (1 × 10,000 characters at 0.040000 USDC each)

## Output

Returns a JSON object containing the summary text (paragraph or bullets), a list of key_points strings, word count, detected or specified output language, and source metadata (URL, title, character count, whether the content was clipped, and final resolved URL after redirects).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) page to fetch and summarise"
  },
  "text": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1,
   "description": "The text to summarise (send text or url, not both)"
  },
  "focus": {
   "type": "string",
   "maxLength": 300,
   "description": "Optional question or aspect the summary should concentrate on"
  },
  "style": {
   "enum": [
    "paragraph",
    "bullets"
   ],
   "type": "string",
   "default": "paragraph"
  },
  "language": {
   "type": "string",
   "description": "Output language (ISO code or name); default: language of the input"
  },
  "max_words": {
   "type": "integer",
   "default": 150,
   "maximum": 600,
   "minimum": 20
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "claude-opus-5",
  "words": 21,
  "source": {
   "url": "https://example.com/",
   "kind": "url",
   "chars": 129,
   "title": "Example Domain",
   "clipped": false,
   "final_url": "https://example.com/"
  },
  "summary": "- example.com is a reserved domain for use in documentation.\n- It may be used in examples without prior permission.",
  "language": "en",
  "key_points": [
   "Reserved domain for documentation examples",
   "No permission needed"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-souk-text-url-summarizer-8be8bfa7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentsouk.dev](https://www.zero.xyz/host/api.agentsouk.dev/llms.txt)
