scrape_batch
Fetch up to five web pages in one request and return ordered JSON results with content in markdown, text, HTML, or schema.org data for batch web data extraction.
Instructions
Fetch up to 5 web pages at once. Returns a JSON array in input order, one item per URL: url, title, format, content, or url and error if that page failed. content is the page in one format, markdown by default. Pick another with the format param:
text: plain text, no links or headings
html: raw HTML, for CSS selectors or data hidden in the markup
ld_json: schema.org data (price, rating, author...) If a page has no data in that format, markdown is returned instead, with a note. No JavaScript rendering. Pages that take longer than 35 s time out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| format | No | markdown |