# ScrapFly Content Expand API

> ScrapFly Content Expand API is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.3/call, status unknown (last checked 2026-09-14).

Expands or elaborates short text into longer, styled content using AI generation

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/content/expand
- Price: $0.3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-content-expand-api-a2e9420c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j-aFTP1TOhh5L1r5njFwm

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

Example prompt: Take this short product description — 'Ergonomic chair with lumbar support' — and expand it into a detailed, professional marketing paragraph, aiming for about 150 words.

## When to prefer this

Choose this endpoint when you need to programmatically lengthen short text snippets into fuller content with style control and a target length, especially in automated agent workflows that pay per request via x402 on Base chain. Prefer it over general LLM completions when you want a simple, structured REST call that handles content expansion as a dedicated, pay-per-use service.

## Known failure modes

- Missing required 'text' field returns an error response with success: false
- Very long input text may cause truncation or timeout
- Invalid or unrecognized style values may be ignored or default to a neutral style
- Service may return success: false without descriptive error details due to minimal response schema
- Network or payment (x402) failures may prevent request completion

## 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, written in the requested style and approximately the specified target length.

## 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-a2e9420c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
