# Run One AI Browser Task on Many Pages — JSON Results

**Use case:** 

Pass a list of start URLs, one plain-language task and an optional JSON Schema, and a browser agent runs the same task on every page, returning one result per URL in the shape you defined, with an action log and a final screenshot for each. resultComplete says whether each answer is whole. It runs logged out unless you supply a session from your own account.

## Input

```json
{
  "url": "",
  "urls": [
    "https://en.wikipedia.org/wiki/Patagonia,_Inc.",
    "https://en.wikipedia.org/wiki/Ben_%26_Jerry%27s",
    "https://en.wikipedia.org/wiki/REI"
  ],
  "task": "Read this company's article. Return the year it was founded, its headquarters city, and its founders as listed in the infobox. Do not edit or submit anything.",
  "outputSchema": {
    "type": "object",
    "properties": {
      "company": {
        "type": "string"
      },
      "founded_year": {
        "type": "integer"
      },
      "headquarters": {
        "type": "string"
      },
      "founders": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "required": [
      "company",
      "founded_year"
    ]
  },
  "modelTier": "basic",
  "maxSteps": 100,
  "timeoutSeconds": 270,
  "stepTimeoutSeconds": 45,
  "proxyGeo": "",
  "authMode": "none",
  "authAttestation": false
}
```

## Output

```json
{
  "url": {
    "label": "Final URL",
    "format": "string"
  },
  "task": {
    "label": "Task",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "result": {
    "label": "Result",
    "format": "object"
  },
  "screenshotUrl": {
    "label": "Screenshot URL",
    "format": "string"
  }
}
```

## How it works

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

The Stealth Browser Agent — Anti-Detect AI Browser Automation Actor is ready to run with the inputs already set for "Run One AI Browser Task on Many Pages — JSON Results". [Sign up or log in](https://console.apify.com/create-task-from-example/eyVt7tQgl0XnFcFbE) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Run One AI Browser Task on Many Pages — JSON Results" task

The Stealth Browser Agent — Anti-Detect AI Browser Automation Actor will start running based on the input automatically. You can also change all the input fields, like start urls (batch), task, and more, to match your specific use case.

### 3. Receive the "Run One AI Browser Task on Many Pages — JSON Results" 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 final url, task, status, 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 "Run One AI Browser Task on Many Pages — JSON Results" task via API](https://apify.com/shelvick/stealth-browser-agent.md).

## FAQ

### Do I have to give a JSON schema?

No. Without outputSchema the agent returns the fields your task asks for; with one, every result follows your schema.

### What if a page can't be finished?

Each result carries resultComplete. Step and time caps can leave a partial result, and it is marked as partial instead of guessed.

### Can it sign in to a site?

It never types a password. To work inside an account you own, supply a session exported from your own logged-in browser and confirm you own the account.

### Will it submit forms or buy things?

Only when your task tells it to. This example only reads pages and submits nothing.

## About this Actor

This example demonstrates how to use [Stealth Browser Agent — Anti-Detect AI Browser Automation](https://apify.com/shelvick/stealth-browser-agent.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/shelvick/stealth-browser-agent.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/shelvick/stealth-browser-agent.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`).
