# ScrapFly Content Directory API

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

Returns a directory listing of available content and data categories accessible through the ScrapFly AI agent API suite

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/content/directory
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-content-directory-api-d44a9ee9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G92NaujgOoqY2mTY91mqb

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-directory-api-d44a9ee9 -d '<json body>'
```

Example prompt: Can you query the ScrapFly content directory with 'news articles' to see what news-related data categories and endpoints are available?

## When to prefer this

Use this endpoint when an agent needs to discover what data categories or content types are available before making specific data requests — essentially as a navigation or catalog lookup step. Prefer this over direct data endpoints when the user's need is exploratory or when the specific content category name is unknown.

## Known failure modes

- Empty or vague query returns broad or unhelpful directory results
- Query for unsupported content type returns empty data or success:false
- Service unavailable due to Vercel hosting instability returns server error
- Payment failure on x402 Base chain causes request to be rejected before processing
- Malformed request body missing required 'query' field returns validation error

## 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 directory listing of content categories, endpoint types, or data options matching the query — helping agents understand what further data calls are available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Input query"
  }
 }
}
```

## 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-directory-api-d44a9ee9/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)
