# Web Schema Extractor (web-extract/schema-extract)

> Web Schema Extractor (web-extract/schema-extract) is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches a URL and extracts specified named fields from the page's structured content, returning their values as a JSON object.

## Facts

- Endpoint: POST https://api.firstmention.uk/s/web-extract/schema-extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-schema-extractor-web-extract-schema-extract-b81afec0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q5mjM4UChAuybH9mSAajY

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 web-schema-extractor-web-extract-schema-extract-b81afec0 -d '<json body>'
```

Example prompt: Can you fetch https://example.com and extract the 'title' and 'description' fields from the page for me?

## When to prefer this

Choose this endpoint when you need to extract specific named fields from a known URL as structured JSON rather than raw HTML. It is ideal for lightweight metadata extraction (title, description, custom fields) on a per-URL basis without needing a full web scraper or browser automation setup. Best suited for single-URL, field-targeted extraction where you know what you want to pull.

## Known failure modes

- URL is unreachable or returns a non-200 status — ok may be false or fields may be empty
- Requested field names don't match any detectable content on the page — fields returned with null or missing values
- Paywalled or bot-blocked pages may return incomplete or no content
- Malformed URL input returns a validation error
- Page uses heavy JavaScript rendering that the extractor cannot process

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

A JSON object with an 'ok' boolean and a 'fields' map containing the values of each requested named field extracted from the target webpage (e.g. title, description, and any other requested fields).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri"
  },
  "fields": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "fields": {
   "title": "Example Domain",
   "description": "Illustrative examples"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-schema-extractor-web-extract-schema-extract-b81afec0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
