# Strale Structured Web Scraper

> Strale Structured Web Scraper is a paid API for AI agents from api.strale.io, paid per call via x402, $0.216001/call, status unknown (last checked 2026-09-13).

Renders any URL with a headless browser and uses AI to extract structured data matching a caller-defined JSON schema

## Facts

- Endpoint: POST https://api.strale.io/x402/structured-scrape
- Price: $0.216001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-b329e0d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PwPCe7-XJNyb_IhqdiwW1

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 api-strale-io-b329e0d0 -d '<json body>'
```

Example prompt: Scrape https://example.com/product/123 and extract structured data using this schema: {"name": "string", "price": "number", "description": "string", "inStock": "boolean"} — the page is JavaScript-rendered so you'll need a real browser to see the content.

## When to prefer this

Choose this endpoint when you need to extract arbitrary structured data from any web page using a schema you define at call time, especially when the page is JavaScript-rendered and requires a real browser. Ideal when you need flexible, schema-driven extraction rather than a fixed scraper for a known site type (like pricing pages or SEO audits, which have their own dedicated endpoints on this provider).

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Schema fields cannot be mapped from page content — returns nulls or empty values for unmatched fields
- JavaScript-heavy SPA takes too long to render — timeout error
- Malformed or invalid JSON schema provided — validation error before scraping
- Page requires authentication or blocks headless browsers — partial or empty extraction
- Schema too complex or deeply nested — AI mapping may be incomplete

## How this service works

Extract structured data from any URL using a caller-defined JSON schema. Browserless renders the page, AI maps content to your schema.

## Output

A JSON object conforming to the caller-provided schema, with fields populated by AI-mapped content extracted from the fully browser-rendered page. Fields that could not be found may be null or omitted.

## Example request

```json
{
 "url": "https://example.com",
 "schema": {
  "type": "object",
  "required": [
   "title"
  ],
  "properties": {
   "title": {
    "type": "string"
   },
   "headings": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "description": {
    "type": "string"
   }
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to scrape"
  },
  "schema": {
   "type": "object",
   "description": "JSON schema describing the data to extract"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-b329e0d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
