# FastAF Structured Web Extraction

> FastAF Structured Web Extraction is a paid API for AI agents from api.fastaf.co, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Extracts structured JSON data from any public web page by accepting a URL and a JSON Schema, returning data that conforms to the schema.

## Facts

- Endpoint: POST https://api.fastaf.co/x402/v1/extract?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastaf-structured-web-extraction-b0304a88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JzbtTiokXsGvI0hcPkVOl

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 fastaf-structured-web-extraction-b0304a88 -d '<json body>'
```

Example prompt: Extract the product name, price, and availability from https://www.example.com/product/12345 — give me the result as structured JSON with fields: name (string, required), price (number, required), and availability (string, optional).

## When to prefer this

Choose this endpoint when you need to extract specific, schema-defined fields from an arbitrary public web page and want the result as validated JSON — especially when you know what data shape you need in advance. Prefer it over general-purpose scrapers when structured output conforming to a schema is required, and over search APIs when you already have the exact URL of the page.

## Known failure modes

- Page is behind a login or paywall — returns no data or partial match
- Dynamic JavaScript-rendered content missed without render_js flag set to true
- JSON Schema is too strict or has no matching content on the page — response may be empty or uncharged
- URL is invalid, blocked, or rate-limited — extraction fails
- Schema has no required fields and page content is ambiguous — optional fields may all be null

## How this service works

Extract structured JSON from a public web page for AI agents: URL and JSON Schema in, JSON valid against it out. For specific fields as data, not page text. Optional schema fields may be missing or null; only fields listed in required are guaranteed to be present in a successful response. Optional nulls are omitted before validation. Non-matching answers are never charged. Provided by Structured data extraction (JSON Schema). Price: $0.020000 USDC per successful call. Docs: https://fastaf.co

## Output

A JSON object validated against the provided JSON Schema. Required fields are guaranteed present in a successful response; optional fields may be null or omitted. Non-matching responses are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "schema": {
   "type": "object"
  },
  "dynamic": {
   "type": "boolean"
  },
  "premium": {
   "type": "boolean"
  },
  "render_js": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastaf-structured-web-extraction-b0304a88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastaf.co](https://www.zero.xyz/host/api.fastaf.co/llms.txt)
