# ScrapFly Content Directory API

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

Returns a directory listing of available content and data endpoints on the ScrapFly platform, queryable by natural language input

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/content/directory?utm_source=zero.xyz
- Price: $0.05/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-directory-api-52fb3f1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_10mTS7sus_c-TeJMMrMoX

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

Example prompt: Search the ScrapFly directory for endpoints related to 'e-commerce product listings' so I can figure out which one to call for scraping product data.

## When to prefer this

Use this endpoint when an agent needs to discover what ScrapFly capabilities are available before deciding which specific endpoint to invoke, or when a user wants to browse available data and content categories by topic. It is a directory/discovery endpoint, not a scraping or extraction endpoint itself.

## Known failure modes

- Empty or vague query returns irrelevant or no results
- Query too narrow returns empty data object with success:true
- Payment failure via x402 if USDC balance is insufficient on Base chain
- Service unavailable returns non-200 with no data
- Malformed query string causes request 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 success flag and a data object containing a directory of matching endpoints or content categories available on the ScrapFly platform, filtered or ranked by the input query string.

## 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-52fb3f1a/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)
