Summarize URL or text to JSON brief
summarize[PAID $0.02 USDC per call via x402 on Base; errors are free] Fetch a public web page (or take raw text) and return a structured JSON brief made by Llama 3.3 70B: title, language, contentType, summary, keyPoints, named entities with types, topic tags, concrete facts (prices, dates, versions, limits) as label/value pairs, sentiment and audience. Grounded in the page only, no invented facts. Reads up to 24,000 chars of main content (2 MB HTML, 10 s fetch timeout). All params optional: with none it summarizes https://example.com. GET with query params, or POST a JSON body for long text (up to 200,000 chars accepted, first 24,000 analyzed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to read (hostname, not IP; private addresses refused). Optional: defaults to https://example.com. Ignored when `text` is given. | |
| lang | No | Optional output language for summary/keyPoints (ISO 639-1, e.g. "en"). Default: same as the content. | |
| text | No | Raw text or Markdown to summarize instead of a URL (optional, max 200000 chars, first 24000 analyzed). Prefer POST for long text. | |
| focus | No | Optional aspect to emphasize, e.g. "pricing", "API limits", "risks" (max 200 chars). | |
| length | No | Summary length: short = 1-2 sentences, medium = 3-4 (default), long = 5-8. | |
| maxPoints | No | Max number of keyPoints (default 5). |