# HTML to JSON Smart Parser Scraper

**Use case:** 

Turn any web page into clean structured JSON using AI. Extract product fields, prices and metadata from raw HTML without writing selectors.

## Input

```json
{
  "url": [
    {
      "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
    }
  ],
  "htmlFileUrl": [],
  "openAIApiKey": "***",
  "model": "gpt-4o-mini",
  "systemPrompt": ""
}
```

## Output

```json
{
  "fetchedData": {
    "label": "Fetched Data",
    "format": "json"
  }
}
```

## About this Actor

This example demonstrates how to use [HTML to JSON Smart Parser](https://apify.com/parseforge/html-to-json-smart-parser) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/html-to-json-smart-parser) to learn more, explore other use cases, and run it yourself.