# Website Status & Parked Domain Classifier (`afkdigital/website-status-parked-domain-classifier`) Actor

Classify CRM and Clay domains by homepage evidence. Detect parked, for-sale, coming-soon and default hosting pages, and distinguish HTTP, DNS, TLS and timeout issues. Includes redirect counts and short evidence.

- **URL**: https://apify.com/afkdigital/website-status-parked-domain-classifier.md
- **Developed by:** [AFK Digital](https://apify.com/afkdigital) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 completed unique domain checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Website Status & Parked Domain Classifier

Clean a CRM or Clay domain column before enrichment. Find recognizable parking pages, sale notices, launch placeholders and hosting defaults, with the HTTP status, redirect count and a short explanation for every completed check.

### Run a live demo

Paste the following JSON into Apify Console. These are real public homepage checks. Their responses can change.

```json
{"domains":["afkmesh.com","example.org"],"timeoutSeconds":10,"maxRedirects":4,"concurrency":4,"maxDomains":100}
```

Supply either a domain array or a direct HTTP(S) domainsFile URL (512 KiB maximum, uncompressed UTF-8). CSV accepts a domain column or one domain per line. JSON accepts an array of strings or objects with a domain property. An empty input object runs the live demo. Domain names and homepage URLs are accepted. Explicit HTTP URLs use HTTP. Bare names start with HTTPS. The first occurrence determines the scheme. Internationalized names are normalized to ASCII. Paths, IP literals, credentials and nonstandard ports are excluded. At most 20,000 input entries and 1,000 unique checks per run.

### Interpret results

| Classification | Observation |
| --- | --- |
| active | A titled HTML homepage has substantive text and links to at least two recognizable site sections. |
| parked | A short page or title explicitly identifies domain parking. |
| forSale | A short page or title advertises the domain for sale. |
| comingSoon | A short page or title announces launch or construction. |
| defaultHostingPage | A recognized server or hosting placeholder appears. |
| accessRestricted | HTTP 401, 403, 407, 429 or 451. Inspect errorType for rate limiting. |
| unreachable | The probe observed a definitive DNS lookup failure, TLS/connection error, redirect loop or server error. |
| unknown | Evidence is inconclusive, including a single timeout, a transient DNS failure, an ambiguous 200 or an unsupported response. |

Use reasonCodes and evidenceText for review. checkedAt is UTC. A transport failure can leave httpStatus null. finalUrl records the last attempted address with query and fragment removed. A website can be healthy despite an inconclusive or failed probe. The Actor observes one address from one region, examines English signatures, and performs no browser rendering or proxy retries. It cannot establish business closure or domain purchase availability.

### Boundaries and billing

Each request validates the destination and all DNS answers, then connects to a checked IP with the original TLS hostname. Only standard web ports are allowed. The Actor samples at most 128 KiB of HTML plus a one-byte truncation check, follows at most eight redirects and sets an overall deadline per domain. Private or unsafe destinations, including redirects, produce no dataset item. SUMMARY in the run's key-value store records invalid, duplicate, blocked and written counts when applicable.

Each completed unique domain check written to the run's default dataset costs USD 0.002. There is no start fee. A classified network observation is a result. Invalid inputs and worker failures without a result produce no chargeable row. A resumed run consults its existing dataset before scheduling checks. A fresh run is a new observation. Use the Apify run spending cap when starting paid runs.

### Connect Clay, n8n and Make

Use an HTTP action with method POST and the endpoint below. Store the Apify token in your integration's credential store. Set Authorization to Bearer followed by your token, and Content-Type to application/json. Each synchronous call returns an array of dataset rows. For large batches start an asynchronous run and fetch the default dataset after the run succeeds.

```text
https://api.apify.com/v2/acts/afkdigital~website-status-parked-domain-classifier/run-sync-get-dataset-items
```

**Clay.** Add an HTTP API enrichment, choose POST, and insert the Domain column from Clay's column picker in place of example.org. Map the first result's classification, reasonCodes and evidenceText back to columns.

```json
{"domains":["example.org"],"maxDomains":1}
```

**n8n.** In an HTTP Request node enable Send Body, choose JSON, switch the entire body to Expression and paste the following. The incoming item must have a domain field.

```text
={{ { domains: [$json.domain], maxDomains: 1 } }}
```

**Make.** Add HTTP → Make a request. Use JSON body input, map the source domain into the first array element, and enable response parsing. For a first module that exposes domain, the raw JSON template is:

```json
{"domains":["{{1.domain}}"],"maxDomains":1}
```

Filter downstream CRM updates on classification and retain checkedAt for later rechecks.

# Actor input Schema

## `domains` (type: `array`):

Homepage domains. Prefilled live demo uses real public pages.

## `domainsFile` (type: `string`):

Direct public HTTP(S) URL to a UTF-8 CSV or JSON domain list (512 KiB maximum). Use one input source.

## `timeoutSeconds` (type: `integer`):

Total DNS, TLS and HTTP deadline.

## `maxRedirects` (type: `integer`):

Redirects followed per domain.

## `concurrency` (type: `integer`):

Parallel domain probes.

## `maxDomains` (type: `integer`):

Unique valid domains scheduled per run.

## Actor input object example

```json
{
  "domains": [
    "afkmesh.com",
    "example.org"
  ],
  "timeoutSeconds": 10,
  "maxRedirects": 4,
  "concurrency": 4,
  "maxDomains": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "afkmesh.com",
        "example.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("afkdigital/website-status-parked-domain-classifier").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domains": [
        "afkmesh.com",
        "example.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("afkdigital/website-status-parked-domain-classifier").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "afkmesh.com",
    "example.org"
  ]
}' |
apify call afkdigital/website-status-parked-domain-classifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afkdigital/website-status-parked-domain-classifier"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fGExzHMOAAz8Bficj/builds/dHkUAfNkMfPi0FLGe/openapi.json
