# ScrapFly Content Expand API

> ScrapFly Content Expand 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).

Expands and elaborates a given piece of text into a longer, more detailed version with optional style and length controls

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/content/expand?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-expand-api-987f2477
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tE34NM_7xIj-7xvs5BzqD

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-expand-api-987f2477 -d '<json body>'
```

Example prompt: Take this short product teaser — 'Our new coffee maker brews in under a minute and fits any countertop' — and expand it into a detailed, persuasive paragraph using a professional style, aiming for about 200 words.

## When to prefer this

Choose this endpoint when you need to programmatically lengthen or elaborate short text with style control and per-request micropayment billing via Base chain USDC — ideal for AI agents that need on-demand content expansion without a subscription, or when integrating content expansion into automated content pipelines.

## Known failure modes

- Missing required 'text' field returns an error response with success: false
- Extremely long input text may result in truncated or incomplete expansion
- Invalid or unrecognized style values may be ignored or cause unexpected output style
- Network timeout for very large text expansion requests
- Payment failure via x402 protocol prevents endpoint from executing

## 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 expanded, elaborated version of the input text, rewritten according to the requested style and target length parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "text"
  },
  "style": {
   "type": "string",
   "description": "style"
  },
  "target_length": {
   "type": "string",
   "description": "target_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-expand-api-987f2477/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)
