# Losbeto Text Summarizer

> Losbeto Text Summarizer is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-14).

Summarizes a block of text into a configurable number of sentences (1–8) in the language of your choice, preserving exact numbers and only stated facts

## Facts

- Endpoint: POST https://markets.losbeto.xyz/summarize?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-text-summarizer-43a3c343
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gYJRQ4_wFTlthKZYCWYtq

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 losbeto-text-summarizer-43a3c343 -d '<json body>'
```

Example prompt: Can you summarize the following earnings call transcript into 3 sentences in English, keeping all the exact numbers? [paste text here]

## When to prefer this

Choose this endpoint when you need to deterministically shrink a specific piece of text — a document, email, article, or filing — before feeding it to a downstream LLM or agent step where context budget is limited. It is purpose-built for factual compression with exact number preservation, not for free-form writing or creative generation (use the /llm endpoint for those). Ideal when you need multilingual output without a separate translation step. Prefer over general LLM calls when cost predictability ($0.008/call, no API key required) and keyless USDC micropayment via x402 matter.

## Known failure modes

- Input text shorter than 40 characters or longer than 6000 characters returns a validation error
- Requesting more than 8 or fewer than 1 sentences returns a parameter error
- Payment not received (HTTP 402) blocks the call from executing
- Invalid or missing 'text' field in body returns a 400 bad request
- Unsupported or misspelled language code may produce unexpected language output or an error

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

A JSON object containing the summarized text condensed to at most N sentences (1–8), written only from facts stated in the input, with exact numbers preserved, in the requested output language.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "method": {
     "type": "string",
     "description": "POST"
    },
    "bodyParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "lang": {
       "type": "string",
       "description": "Optional output language."
      },
      "text": {
       "type": "string",
       "description": "Text to summarize (40-6000 chars)."
      },
      "sentences": {
       "type": "integer",
       "description": "Max sentences, 1-8 (default 3)."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Summarize text in at most N sentences (1-8) in the language you choose, using only facts stated in the text with numbers kept exact. Built for agents that must shrink a page, email thread or filing before spending context on it. Do NOT use for free-form writing — that is /llm."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-text-summarizer-43a3c343/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
