# Substack Scraper (Cerawal)

> Substack Scraper (Cerawal) is a paid API for AI agents from cerawal.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Fetches and extracts content from a Substack URL, returning structured post or newsletter data

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/substack
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/substack-scraper-cerawal-6ae2a06f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9qlr2EEVvTsWPpIRe5GTu

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 substack-scraper-cerawal-6ae2a06f -d '<json body>'
```

Example prompt: Can you grab the content from this Substack post for me? https://example.substack.com/p/my-article-title

## When to prefer this

Use this endpoint when you need to extract content from a specific Substack URL without needing authentication or a subscription. It is pay-per-request via USDC x402 with no sign-up, making it ideal for agents that need on-demand Substack content retrieval without ongoing API credentials.

## Known failure modes

- Invalid or non-Substack URL returns error or empty data
- Paywalled Substack posts may return incomplete content
- Payment failure via x402 prevents the request from being processed
- Substack rate limiting or blocking may cause failed scrapes
- Malformed URL input causes validation error
- Substack page structure changes may break parsing

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing the scraped Substack content — likely including article text, title, author, publication metadata, and other structured fields extracted from the Substack page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Substack URL"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/substack-scraper-cerawal-6ae2a06f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
