extract_json_from_web
Extract structured JSON data matching a custom schema directly from any webpage. Extracts clean content and processes schema mapping via fast LLM parsing. Requires x402 micropayment (0.015 USDC on Base).
When to use: Scraping structured data (product specs, prices, jobs, articles) into clean JSON. When NOT to use: Do NOT use for general open-ended chat without a defined schema.
Parameters:
url(string, required): Target webpage URL.schema(object, required): JSON object describing fields or schema to extract.instructions(string, optional): Specific guidance for extraction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target webpage URL. | |
| schema | Yes | Schema definition or list of fields to extract. | |
| instructions | No | Optional instructions for parsing or field formatting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| data | Yes | Extracted JSON fields | |
| title | No | ||
| elapsed_ms | No |