# ScrapFly Content Condense API

> ScrapFly Content Condense API is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-24).

Condenses and summarizes a block of text into a shorter version using a specified style and maximum length.

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/content/condense?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-content-condense-api-d1a11965
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_asdOl0MToCtJCQa_PhTkn

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 scrapfly-content-condense-api-d1a11965 -d '<json body>'
```

Example prompt: Can you condense this 2000-word article into a concise bullet-point style summary of no more than 200 words? Here's the text: [article text]

## When to prefer this

Choose this endpoint when you need to programmatically shorten or summarize arbitrary text with style control and length constraints, especially within an automated pipeline that already uses ScrapFly for web scraping and pays per request via x402 on Base chain. Best for agents that scrape content and need to immediately condense it in the same workflow.

## Known failure modes

- Missing required 'text' field returns error
- Text too long for processing may fail or truncate
- Invalid style parameter may be ignored or cause error
- max_length of 0 or negative values may cause unexpected behavior
- Network timeout on very large text inputs

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing the condensed/summarized version of the input text, shortened according to the requested style and maximum length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "text"
  },
  "style": {
   "type": "string",
   "description": "style"
  },
  "max_length": {
   "type": "number",
   "description": "max_length"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-content-condense-api-d1a11965/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
