# Readability and Dale-Chall Score for a Web Page

**Use case:** 

Analyse the text of a web page with Flesch, grade-level and Dale-Chall scores plus reading time. This example reads the Python tutorial page. Replace the link with your own articles, help pages or product copy.

## Input

```json
{
  "texts": [
    "Readability is how easy a text is to read. Short sentences and plain words make a page easy to follow. Long sentences with many complicated, multisyllabic words make the same idea much harder to understand, especially for people who read quickly on a phone.",
    "Notwithstanding the aforementioned considerations, organizations implementing comprehensive documentation methodologies should systematically evaluate whether their communications demonstrate appropriate accessibility characteristics for heterogeneous audiences."
  ],
  "urls": [
    "https://docs.python.org/3/tutorial/index.html"
  ],
  "datasetField": "text",
  "topWords": 10,
  "removeStopwords": true,
  "minWordLength": 2,
  "longestSentences": 3,
  "includeDaleChall": true,
  "language": "auto",
  "readingWordsPerMinute": 238,
  "speakingWordsPerMinute": 150,
  "maxItems": 1000,
  "maxCharsPerText": 200000,
  "concurrency": 4,
  "timeoutSecs": 30
}
```

## Output

```json
{
  "textPreview": {
    "label": "Text",
    "format": "string"
  },
  "url": {
    "label": "Page URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "wordCount": {
    "label": "Words",
    "format": "integer"
  },
  "sentenceCount": {
    "label": "Sentences",
    "format": "integer"
  },
  "fleschReadingEase": {
    "label": "Flesch ease",
    "format": "number"
  },
  "readingLevel": {
    "label": "Reading level",
    "format": "string"
  },
  "consensusGrade": {
    "label": "Consensus grade",
    "format": "number"
  },
  "fleschKincaidGrade": {
    "label": "FK grade",
    "format": "number"
  },
  "gunningFog": {
    "label": "Fog",
    "format": "number"
  },
  "smog": {
    "label": "SMOG",
    "format": "number"
  },
  "colemanLiau": {
    "label": "Coleman-Liau",
    "format": "number"
  },
  "automatedReadabilityIndex": {
    "label": "ARI",
    "format": "number"
  },
  "readingTimeMinutes": {
    "label": "Reading min",
    "format": "number"
  },
  "speakingTimeMinutes": {
    "label": "Speaking min",
    "format": "number"
  },
  "avgWordsPerSentence": {
    "label": "Words/sentence",
    "format": "number"
  },
  "lexicalDiversity": {
    "label": "Lexical diversity",
    "format": "number"
  },
  "topWords": {
    "label": "Top words",
    "format": "array"
  },
  "longestSentences": {
    "label": "Longest sentences",
    "format": "array"
  },
  "englishLikely": {
    "label": "English?",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Readability Score Calculator & Word Frequency Counter Actor is ready to run with the inputs already set for "Readability and Dale-Chall Score for a Web Page". [Sign up or log in](https://console.apify.com/create-task-from-example/cWvz5nzXIBEzfyDRl) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Readability and Dale-Chall Score for a Web Page" task

The Readability Score Calculator & Word Frequency Counter Actor will start running based on the input automatically. You can also change all the input fields, like texts, page urls (optional), and more, to match your specific use case.

### 3. Receive the "Readability and Dale-Chall Score for a Web Page" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as text, page url, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Readability and Dale-Chall Score for a Web Page" task via API](https://apify.com/data-done-right/readability-score-calculator.md).

## About this Actor

This example demonstrates how to use [Readability Score Calculator & Word Frequency Counter](https://apify.com/data-done-right/readability-score-calculator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/data-done-right/readability-score-calculator.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/data-done-right/readability-score-calculator.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
