ParseraParsera

Precision Mode

By default, the Extractor works in standard mode. If it's unable to extract some data, you can use precision mode instead. This mode minimizes page reduction, allowing the model to detect data hidden inside HTML tags. Keep in mind that precision mode uses more credits due to its increased resource requirements.

Usage

Set the mode parameter to "precision" in your extract or parse request:

curl https://api.parsera.org/v1/extractor/extract \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <YOUR_API_KEY>' \
--data '{
    "url": "https://news.ycombinator.com/",
    "attributes": [
        {
            "name": "Title",
            "description": "News title"
        },
        {
            "name": "Points",
            "description": "Number of points"
        }
    ],
    "mode": "precision"
}'

When to Use Precision Mode

  • Data is present on the page but not returned in standard mode
  • Values are embedded in HTML attributes (e.g., data-* attributes, title, aria-label)
  • Content is hidden behind CSS or rendered via JavaScript