# Domain expiry watch for supplier websites

**Use case:** 

Turn on only the domain check to get a medium-risk result when a supplier's domain expires inside the window.

## Input

```json
{
  "customerId": "task-domain-expiry",
  "suppliers": [
    {
      "supplierId": "example",
      "name": "Example Supplier",
      "domain": "example.com"
    }
  ],
  "maxSuppliers": 25,
  "checks": {
    "register": false,
    "vat": false,
    "sanctions": false,
    "domain": true
  },
  "matchMode": "strict",
  "minScore": 80,
  "expiryWithinDays": 30,
  "listMaxAgeHours": 24,
  "refreshLists": false,
  "resetState": false,
  "webhookUrl": "",
  "webhookFormat": "generic"
}
```

## Output

```json
{
  "supplierId": {
    "label": "Supplier",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "eventType": {
    "label": "Event",
    "format": "string"
  },
  "risk": {
    "label": "Risk",
    "format": "string"
  },
  "severity": {
    "label": "Severity",
    "format": "string"
  },
  "failClosed": {
    "label": "Fail closed",
    "format": "boolean"
  },
  "checkedAt": {
    "label": "Checked",
    "format": "string"
  }
}
```

## How it works

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

The Supplier Risk Monitor Actor is ready to run with the inputs already set for "Domain expiry watch for supplier websites". [Sign up or log in](https://console.apify.com/create-task-from-example/gxpJFrN9bZdRDVfoM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Domain expiry watch for supplier websites" task

The Supplier Risk Monitor Actor will start running based on the input automatically. You can also change all the input fields, like customer id, suppliers, and more, to match your specific use case.

### 3. Receive the "Domain expiry watch for supplier websites" 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 supplier, name, country, 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 "Domain expiry watch for supplier websites" task via API](https://apify.com/mikee368/supplier-risk-monitor.md).

## FAQ

### What is flagged?

A domain expiring inside the expiry window is a medium result.

### When is an alert billed?

Only when risk changes.

### Can I enable more checks later?

Yes. A newly enabled clean check is stored as a baseline.

## About this Actor

This example demonstrates how to use [Supplier Risk Monitor](https://apify.com/mikee368/supplier-risk-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mikee368/supplier-risk-monitor.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/mikee368/supplier-risk-monitor.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`).
