# Cap spend at 3 analyzed sites

**Use case:** 

A capped tech stack detector run. Use maxSites to limit how many websites are analyzed and charged — here, 3 sites, or $0.0015 at $0.50 per 1,000. Failed, blocked and unreachable sites stay free and do not count toward the cap.

## Input

```json
{
  "urls": [
    "wordpress.org",
    "https://www.allbirds.com/",
    "https://nextjs.org/",
    "https://www.squarespace.com/",
    "https://webflow.com/"
  ],
  "maxSites": 3,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 20,
  "respectRobotsTxt": true,
  "checkDns": true
}
```

## Output

```json
{
  "input": {
    "label": "Site",
    "format": "string"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "statusCode": {
    "label": "HTTP",
    "format": "integer"
  },
  "cms": {
    "label": "CMS",
    "format": "string"
  },
  "ecommerce": {
    "label": "Ecommerce",
    "format": "string"
  },
  "analytics": {
    "label": "Analytics",
    "format": "array"
  },
  "cdn": {
    "label": "CDN",
    "format": "array"
  },
  "server": {
    "label": "Server",
    "format": "string"
  },
  "frameworks": {
    "label": "Frameworks",
    "format": "array"
  },
  "technologyCount": {
    "label": "# Tech",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "errorCode": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Tech Stack Detector: Bulk Website Technology & CMS Lookup Actor is ready to run with the inputs already set for "Cap spend at 3 analyzed sites". [Sign up or log in](https://console.apify.com/create-task-from-example/RdsB3gH1FkIwrKbJU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Cap spend at 3 analyzed sites" task

The Tech Stack Detector: Bulk Website Technology & CMS Lookup Actor will start running based on the input automatically. You can also change all the input fields, like websites or domains, max sites to analyze (spend cap), and more, to match your specific use case.

### 3. Receive the "Cap spend at 3 analyzed sites" 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 site, final url, HTTP, 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 "Cap spend at 3 analyzed sites" task via API](https://apify.com/hillcountrybots/tech-stack-detector.md).

## FAQ

### Does maxSites cap the charge?

Yes. At most maxSites websites are analyzed and charged. Invalid inputs, robots.txt blocks, unreachable sites and HTTP errors are free and do not count toward the cap.

### How else can I cap spend?

You can also set the run's maximum charge in the Console or API (maxTotalChargeUsd). Either cap stops further charges once it is reached.

## About this Actor

This example demonstrates how to use [Tech Stack Detector: Bulk Website Technology & CMS Lookup](https://apify.com/hillcountrybots/tech-stack-detector.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hillcountrybots/tech-stack-detector.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/hillcountrybots/tech-stack-detector.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`).
