# Losbeto Text Summarizer

> Losbeto Text Summarizer is a paid API for AI agents from losbeto-production-dd7c.up.railway.app, paid per call via x402, $0.008/call, status unknown (last checked 2026-11-22).

Summarizes a block of text into 1–8 sentences, preserving exact numbers, using x402 USDC micropayment per call

## Facts

- Endpoint: POST https://losbeto-production-dd7c.up.railway.app/summarize?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-text-summarizer-649cad63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CtYVqFN-j2qvOg3pAKpyQ

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-649cad63 -d '<json body>'
```

Example prompt: Summarize the following earnings call transcript into no more than 4 sentences in English, keeping all the revenue and growth numbers exact: [paste transcript here].

## When to prefer this

Choose this endpoint when an AI agent needs to cheaply compress a document, email, filing, or web page before spending expensive LLM context tokens on it. It is purpose-built for pre-processing pipelines where brevity and numeric fidelity matter — not for free-form writing or creative generation. It is preferable over calling a full LLM directly because it costs $0.008/call, requires no API key, and pays via USDC micropayment (x402) on Base, Solana, Algorand, or Polygon.

## Known failure modes

- Text shorter than 40 or longer than 6000 characters returns a validation error
- Missing required `text` field returns a 400 bad request
- Sentences value outside 1–8 range triggers a validation error
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required
- Language code not recognized may default or return an error
- Railway service downtime yields 5xx errors

## 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 response containing a condensed summary of the input text — up to the requested number of sentences (1–8), written in the specified language, with all numeric values preserved verbatim from the source text.

## 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-649cad63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from losbeto-production-dd7c.up.railway.app](https://www.zero.xyz/host/losbeto-production-dd7c.up.railway.app/llms.txt)
