# x402 Orthogonal ScrapeGraphAI Extract

> x402 Orthogonal ScrapeGraphAI Extract is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-01).

LLM-driven structured data extraction from a URL, raw HTML, or markdown using a natural language prompt and optional JSON schema.

## Facts

- Endpoint: POST https://x402.orthogonal.com/scrapegraphai/api/extract?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-orthogonal-scrapegraphai-extract-f70d2a25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wTGpHRMLSn28UYsApfHfW

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 x402-orthogonal-scrapegraphai-extract-f70d2a25 -d '<json body>'
```

Example prompt: Go to https://www.ycombinator.com/companies and extract a list of company names, one-line descriptions, and website URLs — use reader mode and return the results as structured JSON with fields: name, description, url.

## When to prefer this

Choose this endpoint when you need LLM-driven, prompt-guided extraction that returns structured JSON from arbitrary web content. It is superior to raw HTML scrapers when you want semantic extraction (not just DOM parsing), and better than generic search APIs when you already have a specific page to extract from. The optional JSON schema enforcement makes it ideal for agent pipelines that require consistent output shape. Use it when you need flexibility across URL, raw HTML, and markdown inputs in a single endpoint.

## Known failure modes

- URL is inaccessible or returns a non-200 status — extraction fails with a fetch error
- Prompt is too vague — LLM returns partial or poorly structured data
- No matching content found on the page for the requested fields — returns empty or null values
- Rate limiting or bot detection on target site blocks fetch — returns fetch timeout or blocked error
- Invalid JSON schema provided — schema validation error returned
- HTML or markdown input is malformed or too large — parsing error or truncation

## How this service works

LLM-driven extraction from a URL, HTML, or markdown input with a prompt and optional JSON schema.

## Output

Returns structured JSON containing the fields extracted from the source content (URL, HTML, or markdown) as guided by the prompt and optional JSON schema. When a schema is provided, the output conforms to that schema. Without a schema, the LLM determines the output structure based on the prompt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to extract from"
  },
  "html": {
   "type": "string",
   "description": "Raw HTML to extract from"
  },
  "mode": {
   "type": "string",
   "description": "Content mode: normal, reader, or prune"
  },
  "prompt": {
   "type": "string",
   "description": "Extraction prompt (1-10000 chars)"
  },
  "schema": {
   "type": "object",
   "description": "JSON schema for structured output"
  },
  "markdown": {
   "type": "string",
   "description": "Markdown to extract from"
  },
  "contentType": {
   "type": "string",
   "description": "Force content type"
  },
  "fetchConfig": {
   "type": "object",
   "description": "Fetch options: mode, stealth, timeout, wait, headers, cookies, country, scrolls"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-orthogonal-scrapegraphai-extract-f70d2a25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
