# OpenAI web page analysis – example

**Use case:** 

Ready-made example: analyse a public web page with OpenAI and get a structured summary.

## Input

```json
{
  "texts": [
    "Apify is a platform where developers build, deploy and publish web scrapers and automation tools called Actors. Actors store their results in datasets that other Actors can read, so a scraper and an AI step can be chained."
  ],
  "task": "summarize",
  "multiLabel": false,
  "analysisLevel": "quick",
  "analyzePageImages": false,
  "maxItems": 3,
  "maxInputTokensPerItem": 100000,
  "maxOutputTokensPerItem": 0,
  "maxChunksPerItem": 10,
  "maxTotalTokens": 0,
  "maxCostUsd": 0.5,
  "estimateOnly": false,
  "exactTokenCount": false,
  "concurrency": 3,
  "itemTimeoutSecs": 0,
  "failRunOnError": false,
  "dataIntelligence": false,
  "dedupeMode": "precise",
  "dedupeSharedValueRows": 4,
  "evidence": true,
  "serviceTier": "standard",
  "flexFallback": true,
  "promptCacheTtl": "30m",
  "batchMode": false,
  "batchMinItems": 20,
  "webSearch": false,
  "codeInterpreter": false,
  "maxToolCalls": 3
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "serviceTierUsed": {
    "label": "Tier used",
    "format": "string"
  },
  "taskId": {
    "label": "Task",
    "format": "string"
  },
  "sourceType": {
    "label": "Type",
    "format": "string"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  },
  "keyPoints": {
    "label": "Key points",
    "format": "array"
  },
  "labels": {
    "label": "Labels",
    "format": "array"
  },
  "model": {
    "label": "Model",
    "format": "string"
  },
  "costUsd": {
    "label": "Est. cost (USD)",
    "format": "number"
  },
  "truncated": {
    "label": "Truncated",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "object"
  }
}
```

## How it works

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

The AI Document & Web Analyzer — powered by OpenAI GPT Actor is ready to run with the inputs already set for "OpenAI web page analysis – example". [Sign up or log in](https://console.apify.com/create-task-from-example/Q5zC23p2SbWHa7ZBq) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "OpenAI web page analysis – example" task

The AI Document & Web Analyzer — powered by OpenAI GPT Actor will start running based on the input automatically. You can also change all the input fields, like 📝 texts, 🎯 task, and more, to match your specific use case.

### 3. Receive the "OpenAI web page analysis – example" 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 title, source, tier used, 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 "OpenAI web page analysis – example" task via API](https://apify.com/badr_xba/ai-document-web-analyzer-openai.md).

## About this Actor

This example demonstrates how to use [AI Document & Web Analyzer — powered by OpenAI GPT](https://apify.com/badr_xba/ai-document-web-analyzer-openai.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/badr_xba/ai-document-web-analyzer-openai.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/badr_xba/ai-document-web-analyzer-openai.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`).
