Title: AI-powered scrape Upstream: POST /webhook/scrape-wp with a json format

Scrapes a URL using AI-driven extraction. You describe the fields you want as a schema mapping names to type hints, and JetScrape extracts matching data. Use it when you do not know the selectors but know the shape of the data.

Parameters

  • apiKey (string, required).
  • url (string, required) — the page to scrape.
  • schema (object, required) — field names mapped to type hints, for example { "title": "string", "price": "number" }.

Example

{
  "name": "ai_scrape",
  "arguments": {
    "apiKey": "js_YOUR_API_KEY",
    "url": "https://shop.example.com/p/dress-a",
    "schema": {
      "name": "string",
      "price": "number",
      "currency": "string",
      "in_stock": "boolean",
      "sizes": ["string"]
    }
  }
}

The server wraps your schema as { "items": [ <schema> ] }, so the extraction returns a list of records shaped like it, one per matching item on the page.

When to use it

  • Good for — one-off jobs, unfamiliar page structures, quick prototyping, pages whose layout keeps changing.
  • Not for — high-volume recurring work. Selector-based scrape_unblocker is cheaper and its output is deterministic.
  • Pair with — generate_schema, which drafts the schema from a plain-language description.

An ai_scrape result is not accompanied by a diagnostics block, because there are no selectors to check. Validate the returned records yourself before building on them.

Use AI extraction to discover what a page holds, then move to selectors for production. A single discovery pass usually pays for itself within a few runs.

Last updated: September 22, 2026