# New Certificate Alerts: Certificate Transparency by Domain (`accountable_eel/ct-log-new-certificate-alerts`) Actor

Get an alert when a new TLS certificate is issued for your domain or any of its subdomains, read from public Certificate Transparency logs: issuer, hostnames, valid-from date. Monitoring mode returns and bills only certificates new since your last run. Export to Google Sheets or n8n.

- **URL**: https://apify.com/accountable_eel/ct-log-new-certificate-alerts.md
- **Developed by:** [Adriana Voss](https://apify.com/accountable_eel) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.25 / 1,000 certificate returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## New Certificate Alerts: Certificate Transparency by Domain

**Find out the day a new TLS certificate is issued for your domain or any subdomain of it.**
Give it a list of domains and it reads the public Certificate Transparency logs: every certificate
that was issued for a name under one of your domains, with the issuer, every hostname on it, and the
valid-from and valid-until dates. Turn on monitoring mode and run it on a schedule to get only the
certificates logged since your last run, charged per certificate and free on a quiet day. No API key,
no account, no proxy.

### Who it's for

- **Security and IT teams** who want to hear about shadow IT: a team that spun up `staging-eu.example.com`
  or a vendor that obtained a certificate for a name you did not know existed.
- **Brand protection and phishing response**: a certificate for `login.example.com` or a lookalike
  subdomain you did not request is often the first public trace of a phishing kit.
- **Agencies and consultancies** that watch client domains and want a list of what was issued, by whom,
  since the last report.
- **Anyone auditing certificate hygiene**: wildcard certificates, unexpected CAs, and certificate
  lifetimes.

### What you get

One row per certificate:

| What | Columns |
| --- | --- |
| The certificate | `certId`, `certSha256`, `issuer`, `issuerName`, `notBefore`, `notAfter`, `validityDays`, `isWildcard` |
| The names | `domain` (the one you watch), `matchedHostnames` (names under it), `hostnames` (every name on the certificate), `hostnameCount` |
| Monitoring | `isNew`, `firstSeenAt`, `monitorStatus`, `domainResults` (one status per domain you gave) |
| Provenance | `sourceUrl`, `scrapedAt` |

Two example rows for `example.com`, shortened:

| domain | certId | matchedHostnames | issuer | notBefore | notAfter | validityDays |
| --- | --- | --- | --- | --- | --- | --- |
| example.com | 17433446883 | \*.example.com, example.com | SSL.com | 2026-09-26T22:49:11Z | 2026-12-25T22:56:35Z | 90 |
| example.com | 17893609773 | emudhra-lab.example.com | emSign | 2026-10-20T21:19:03Z | 2027-08-01T21:19:03Z | 285 |

### Use it from an AI agent

**Job:** list the TLS certificates issued for a domain and its subdomains, or only the ones new since the last run. **Input:** `domains`, a list of domains (`["example.com"]`); add `onlyNewSinceLastRun: true` and a `deltaName` to turn it into an alert. **Output per certificate:** `domain`, `matchedHostnames`, `issuer`, `notBefore`, `notAfter`, `validityDays`, `isWildcard`, `certId`, `sourceUrl`; set `outputMode` to `compact` to drop empty fields and get one summary line per row. **Cost:** see Pricing below, nothing for a domain with no certificates or a quiet monitoring run. **Apify MCP:** add `https://mcp.apify.com?tools=accountable_eel/ct-log-new-certificate-alerts` to your MCP client so the agent can call this actor directly.

### How to use

1. **In the Apify Console.** Open the actor page and click **Start** — the `domains` field is already pre-filled with a working example. Results land in the run's dataset as soon as each item is found.
2. **Via the API.** Call it directly with a POST request — no Console needed once you have an API token:
   ```bash
   curl "https://api.apify.com/v2/acts/accountable_eel~ct-log-new-certificate-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
     -X POST \
     -H "Content-Type: application/json" \
     -d '{"domains":["example.com"]}'
   ```
3. **On a schedule.** Save this actor as an Apify **Task** with the input you want, then add a **Schedule** (hourly, daily, weekly) so it runs on its own — no server of your own required.

### Input

```json
{
  "domains": [
    "example.com"
  ]
}
```

One domain per line, for example example.com. A pasted URL such as https://www.example.com/ is cut down to its host. With the subdomain option on (default) a watch on example.com also reports certificates for mail.example.com, vpn.example.com and every other name under it. Up to 50 domains per run. Accepted formats: example.com, https://www.example.com/, \*.example.com.

Domains are cut down to their host, so `https://www.example.com/login` and `example.com` mean the same
thing. **Include subdomains** (on by default) makes a watch on `example.com` report certificates for
`mail.example.com`, `vpn.example.com` and every other name under it; switch it off to see only
certificates that list `example.com` itself. **Issued in the last N days** is how far back the first
run looks (default 30, up to 365). **Max certificates per run** (default 100, up to 500) caps what you
get and pay for across all domains.

### Output

One row per item, for example:

| query | found | status | searchSummary | certificateCount | truncated | monitorStatus | domainResults | certificates | domain | certId | matchedHostnames | hostnames | hostnameCount | isWildcard | issuer | issuerName | notBefore | notAfter | validityDays | certSha256 | sourceUrl | isNew | firstSeenAt | scrapedAt |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| example.com | true | OK | <watch run> | <certificates returned> | <more results were available> | <monitoring status> | <per-domain result> | \<all certificates (full list)> | <watched domain> | <certificate id> | <matched hostnames> | <all hostnames on the certificate> | <hostname count> | <wildcard certificate> | <issuer> | <issuer distinguished name> | <valid from> | <valid until> | \<validity (days)> | <certificate sha-256> | <source> | \<is this certificate new?> | <first seen on a run> | 1970-01-01T00:00:00.000Z |

A domain with no logged certificates, or a run that hit the rate limit, comes back as a row with `"found": false` and a plain-English `message`, and is never charged. A quiet monitoring run is one row with `certificateCount: 0` and `monitorStatus: NO_NEW_CERTIFICATES`, also free. Missing values are `null`, never `0`.

A miss comes back as a row with `"found": false` and is never charged.

### Pricing

Pay-per-event. A flat per-run fee covers session/proxy warmup; you're billed
per item only when data is actually found and returned — see
`.actor/pay_per_event.json` for exact prices. A miss is never charged.

### Limits

- **The log feed is rate-limited.** The keyless tier of the public feed allows a small number of
  requests per hour (the response headers showed 10 and 100 on different requests). A run that hits it
  waits once, then reports `RATE_LIMITED` for that domain, charges nothing and leaves monitoring memory
  where it was, so the next run picks up from the same place. Keep schedules to a few domains per hour.
- **Up to 50 domains per run**, and up to 10 pages of the feed per domain per run. A domain with a very
  long history (thousands of certificates) is read oldest first, so an untracked run can stop before it
  reaches the recent ones; in monitoring mode each run continues from where the last one stopped and
  `truncated` is `true` until it has caught up.
- **Certificate Transparency lists certificates that were issued, not whether a site serves one.**
  It will not show a private-CA certificate, and a new entry can appear a few hours after issuance.
- **Monitoring remembers by certificate, per domain list.** Changing the list starts a new memory unless
  you pin one with the watchlist name.
- Certificate data comes from the public Cert Spotter issuance feed, which publishes these logs as
  public data. Check its terms before using the output commercially.

### Example runs

Paste any of these into the Input tab and press Start. All three return rows with no key, no token
and no account of your own beyond an Apify login.

**Certificates issued for example.com and its subdomains, last 30 days.** The default shape.

```json
{
  "domains": ["example.com"],
  "sinceDays": 30,
  "maxItems": 20
}
```

**Only certificates that list the domain itself, last year.** Subdomains off, longer window.

```json
{
  "domains": ["example.com"],
  "includeSubdomains": false,
  "sinceDays": 365
}
```

**A scheduled alert: only certificates new since the last run.** The first run returns the last 30
days and remembers them; from then on you get, and pay for, only what is new.

```json
{
  "domains": ["example.com", "example.org"],
  "onlyNewSinceLastRun": true,
  "deltaName": "my-domains"
}
```

### Use it from Clay, n8n, Make, or an AI agent

This actor runs synchronously over plain HTTP — call it directly from a script, a workflow tool, or an AI agent, no Apify Console needed once you have an API token.

```bash
curl "https://api.apify.com/v2/acts/accountable_eel~ct-log-new-certificate-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"domains":["example.com"]}'
```

**n8n.** Add an HTTP Request node: Method `POST`, URL `https://api.apify.com/v2/acts/accountable_eel~ct-log-new-certificate-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>`, Body Content Type `JSON`, JSON Body `{"domains":["example.com"]}` (swap in an expression from an earlier node for a real value).

**Clay.** Add an "HTTP API" column: Method `POST`, URL `https://api.apify.com/v2/acts/accountable_eel~ct-log-new-certificate-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>`, Body `{"domains":["{{watch}}"]}`, mapping the row's watch into the `domains` array.

**MCP.** In Claude, Cursor, or any MCP client with the Apify MCP server, ask for "certificate transparency monitor" — the agent will find and run this actor.

# Actor input Schema

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

One domain per line, for example example.com. A pasted URL such as https://www.example.com/ is cut down to its host. With the subdomain option on (default) a watch on example.com also reports certificates for mail.example.com, vpn.example.com and every other name under it. Up to 50 domains per run. Accepted formats: example.com, https://www.example.com/, \*.example.com. You're only charged for the ones we actually find — a miss costs nothing.

## `includeSubdomains` (type: `boolean`):

On: certificates for any name under the domain (mail.example.com, \*.example.com) are included, which is what shadow-IT and phishing-lookalike alerting needs. Off: only certificates that list the domain itself.

## `sinceDays` (type: `integer`):

How far back the first run looks, by the certificate's valid-from date. Up to 365. Once monitoring has a memory for a domain, every new log entry counts whatever its date.

## `maxItems` (type: `integer`):

Up to 500. Caps how many certificates you get (and pay for) in one run, across all domains.

## `onlyNewSinceLastRun` (type: `boolean`):

On: only certificates logged since your last run are returned and charged for. Run this on a schedule as a certificate alert. Off: every certificate in the date window is returned every time.

## `deltaName` (type: `string`):

Optional. Name this watch's monitoring memory so you can tell two schedules of this actor apart, or keep one memory across a change of domain list. Leave empty to auto-derive one from your domains.

## `outputMode` (type: `string`):

Full keeps every column. Compact leaves out empty fields and adds one short summary line, so a script or AI agent reads far less per row. What you are charged does not change.

## `testRun` (type: `boolean`):

Turn this on to test your input on a small sample before running the full list. Turn it off to process everything.

## `onlyFound` (type: `boolean`):

Only keep rows where something was actually found. Misses are always free, whether or not you show them here.

## `includeKeywords` (type: `array`):

Optional. Only keep results that mention at least one of these words (e.g. a job title, a city, a product name). Leave empty to keep everything.

## `excludeKeywords` (type: `array`):

Optional. Drop any result that mentions one of these words. Leave empty to skip nothing.

## `maxResults` (type: `integer`):

Optional. Stop the run once this many results have been found — useful for a quick, cheap sample. Leave blank for no limit.

## `columns` (type: `array`):

Choose which pieces of information to include in each result row. All are included by default.

## `expandRows` (type: `boolean`):

When on, each certificate found gets its own row instead of being grouped under its watch. You're still only charged once per watch, no matter how many rows it produces.

## `maxConcurrency` (type: `integer`):

Parallel requests. Keep conservative — this target has no browser fallback, so getting blocked costs more than slow-and-steady.

## Actor input object example

```json
{
  "domains": [
    "example.com"
  ],
  "includeSubdomains": true,
  "sinceDays": 30,
  "maxItems": 100,
  "onlyNewSinceLastRun": false,
  "deltaName": "",
  "outputMode": "full",
  "testRun": false,
  "onlyFound": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "columns": [
    "searchSummary",
    "certificateCount",
    "truncated",
    "monitorStatus",
    "domainResults",
    "certificates",
    "domain",
    "certId",
    "matchedHostnames",
    "hostnames",
    "hostnameCount",
    "isWildcard",
    "issuer",
    "issuerName",
    "notBefore",
    "notAfter",
    "validityDays",
    "certSha256",
    "sourceUrl",
    "isNew",
    "firstSeenAt"
  ],
  "expandRows": true,
  "maxConcurrency": 1
}
```

# Actor output Schema

## `results` (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": [
        "example.com"
    ],
    "includeKeywords": [],
    "excludeKeywords": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("accountable_eel/ct-log-new-certificate-alerts").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": ["example.com"],
    "includeKeywords": [],
    "excludeKeywords": [],
}

# Run the Actor and wait for it to finish
run = client.actor("accountable_eel/ct-log-new-certificate-alerts").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": [
    "example.com"
  ],
  "includeKeywords": [],
  "excludeKeywords": []
}' |
apify call accountable_eel/ct-log-new-certificate-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,accountable_eel/ct-log-new-certificate-alerts"
        }
    }
}
```

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/LQOXkcgWo976gOV2d/builds/MJ8RsswbxTwFmJZA2/openapi.json
