neuron_extract_to_json
Extract structured data from any webpage by defining a schema, then output clean JSON, CSV, or YAML for APIs, files, or webhooks. Build data pipelines with normalized rows.
Instructions
Extract structured data from a page and return it as clean JSON ready for piping to an API, spreadsheet, or file. Navigates to the URL, extracts data matching a schema you define, and returns normalized rows. Use for building data pipelines — scrape a page and push the data to a webhook, save as CSV, or append to a collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to extract from | |
| pages | No | Number of pages to paginate through (default: 1) | |
| tabId | No | Use existing tab (optional) | |
| format | No | Output format: 'json' (default), 'csv', 'yaml' | |
| schema | No | Expected output schema — keys are field names, values describe what to extract (e.g. {title: 'the post title', price: 'the price as a number', url: 'link to the item'}) | |
| selector | No | CSS selector for repeating items (optional — auto-detects) | |
| webhook_url | No | POST extracted data to this URL as JSON (optional) |