n8n Expired Domains Feed: Daily Workflow

Build an n8n workflow that pulls expired domains from the Karma.Domains API daily: five core n8n nodes plus output, with filters and Slack or Sheets alerts.

Try for Free!
Use bonus credits!

You can build a daily expired domains feed in n8n that pulls fresh names from the Karma.Domains API every morning, drops repeats and obvious junk, and posts a short list to Slack and a Google Sheet. It's for one person running their own domain hunting, an investor or SEO who wants a reliable morning list without opening a dashboard. Below is the node-by-node setup, the exact API request, the filter I tested, and the mistakes the test run exposed before they reached the feed. Use it to find expired domains, not to choose what to buy: review each name's archive history, backlink profile and domain authority, then confirm availability with a live check.

Table of Contents

How to build a daily expired domains feed with n8n

To build a daily expired domains feed with n8n, schedule a morning run, send your filter to the Karma.Domains search API, split the report_list into items, drop report IDs you've already seen, check page titles, and send what's left to a Google Sheet, Slack or email. A webhook can push matches as they happen.

What the feed does

The pull workflow runs once a day. Five core nodes do the work, then you add whichever output you actually read:

  1. Schedule Trigger fires at a fixed morning hour.
  2. HTTP Request sends the filter to the Karma.Domains search API.
  3. Split Out turns report_list into one item per domain.
  4. Remove Duplicates drops any report_id the workflow has already sent.
  5. Filter applies a last check on page titles.
  6. Output nodes: Google Sheets can append the rows, and Slack can post a summary (put an Aggregate node before Slack so you get one message, not one per domain).

Karma.Domains adds 400k+ new domains a day across 49 lists from 32 platforms, including the expired .com domains list, so the filter does most of the work. Everything after it exists to keep the feed short and stop it from repeating itself.

Infographic: a daily expired domains feed in n8n with five core n8n nodes plus output, from Schedule Trigger and an HTTP Request to the Karma.Domains search API through Split Out, Remove Duplicates and a title Filter to a Google Sheet and Slack. In the test run, 1,728 expired domains matched the base filter, 232 remained after a spam score cap and a referring-domain floor, and 231 after substring exclusions. The oldest row in the last24h window was about 34 hours old, and brand-new rows had no categories yet.

Before you start

You need three things:

  • An n8n instance, cloud or self-hosted.
  • A Karma.Domains API key. The Public API requires the Pro plan, and the key goes in an Authorization: Bearer header.
  • Credentials for wherever the feed lands: a Google Sheets account in n8n, a Slack app, or an email account.

The API reference is on the Karma.Domains API page, with the full schema in Swagger. Every endpoint in this article comes from that spec.

Step 1: settle the filter before you build anything

The filter decides whether the feed is useful, so I tested it before wiring a single node. I ran it through the Karma.Domains MCP server, which takes the same filter fields as the API, against the expired base. Karma.Domains has 42 MCP tools, 13M+ domains and 90+ filters, so the same query I checked in chat can go straight into the HTTP Request node:

  • domain_type: expired
  • report_added_time: last24h
  • wa_age_min: 3 (at least three years in the Wayback Machine)
  • tlds: com net org
  • wa_redirects: false
  • categories_exclude: No Content plus the risky presets (gambling, adult, pseudo-health, high-risk investments, illegal, scams, hate, astrology, cannabis)

That returned 1,728 domains, far more than anyone reads in a morning. Adding a Moz spam score cap of 10 and at least 10 referring domains (combine_seo.combine_refdomains_min) cut it to 232. For a single feed I'd also add a Karma Metric floor or a niche keyword, depending on what you hunt. The last24h window uses report-added time, not a domain expiration date or a live registrar availability check, so run a live check before buying.

The run also turned up two problems that matter for automation.

The first was a domain the exclusions couldn't see yet. Before the SEO floor went in, rusharbin.com sat near the top of the list sorted by Karma Metric. Its last archived title was an advertisement for a Thai betting site. It passed the gambling exclusion because it had no categories and no AI summary yet; those fill in after a report is created. A category filter can't remove a domain that hasn't been categorized.

The second was a label mismatch. bitchesnbrews.com made it into the 232 with category labels that included "Pornography" and "Parked or domain for sale", neither of which matches the preset names I excluded. The exclude field matches substrings, so I added "Pornography", "Parked" and a plain "Gambling" to the list. The count went from 232 to 231, and that domain was the one removed.

My working filter for the request body:

{
  "domain_type": ["expired"],
  "report_added_time": "last24h",
  "wa_age_min": 3,
  "tlds": "com net org",
  "wa_redirects": false,
  "moz_ss_max": 10,
  "combine_seo": { "combine_refdomains_min": { "vl": 10 } },
  "categories_exclude": [
    "No Content", "Gambling", "Adult content (18+)", "Pornography", "Parked",
    "Pseudo-health & miracle cures", "High-risk investments (Forex, crypto, HYIP)",
    "Illegal or criminal content", "Scams & fraud", "Hate, violence & extremism",
    "Astrology & Esoteric", "Cannabis & CBD"
  ]
}

Step 2: Schedule Trigger

Configure the Schedule Trigger to run once a day at a fixed hour. I'd pick a morning time, after the overnight drops have had a few hours to collect metrics. The newest rows in my test, added minutes earlier, had no Moz numbers, no categories and no AI summary. Rows from the previous day mostly had all three.

Step 3: HTTP Request to the search API

Add an HTTP Request node:

Method:        POST
URL:           https://api.karma.domains/v1/reports/search
Query params:  sort_by = karmametric
               sort_desc = true
               page_size = 100
Header:        Authorization = Bearer YOUR_API_KEY   (store it as an n8n credential)
Body:          JSON, the filter from step 1

The body is the filter itself, with no wrapper object. Sorting and paging go in query parameters. page_size accepts 1 to 100. The response has three fields: report_list (the rows), total_count, and total_count_exact, which is false when the count is a lower bound.

If total_count is over 100, either tighten the filter or add pagination in the HTTP Request node with the page parameter. For a morning read I'd rather tighten. Nobody reads 300 domains before coffee.

Step 4: split the list and drop repeats

Add a Split Out node on the field report_list, so each domain becomes its own item.

Then add Remove Duplicates with the operation "Remove Items Processed in Previous Executions", keep items where the value is new, and set the value to dedupe on to the report ID ({{ $json.report_id }}). This operation is available in n8n 1.64 and later, and History Size defaults to 10,000.

You need this node because the window is wider than it sounds. When I sorted the last24h results by added_at, the oldest row was about 34 hours old, so two consecutive morning runs overlap. Without deduplication, part of every feed repeats yesterday's. The overlap also helps: a domain that lacked Moz data on one run and failed the spam cap can match on the next run once the data arrives, and dedupe makes sure it only shows up once.

Step 5: a last check on titles

Add a Filter node that drops items whose last archived title contains obvious spam words. For each domain name, the field is wa_last_title. A condition like "wa_last_title does not match regex" with:

(?i)(casino|slot|ufabet|betting|viagra|cialis|porn|loan)

This would have caught the betting title from step 1 even before categories arrived. Keep the list short and tuned to your niche. It's a net for what the category filters miss, and a long word list will start removing legitimate names.

Step 6: send it somewhere you'll read

I send the feed to two places. A Google Sheet keeps the history, and Slack gets the morning summary.

For the sheet, use the Google Sheets node with "Append Row" and map these columns: domain, karmametric, moz_da, moz_ss, majestic_rd, wa_age, wa_last_title and a report link built as:

https://karma.domains/app/reports/{{ $json.report_type }}/report-{{ $json.report_id }}/

For Slack, put an Aggregate node before the Slack node so you get one message rather than one per domain. Set Aggregate to Individual Fields and use domain as the Input Field Name, so the output is an array of names. Then post something like:

Expired feed: {{ $json.domain.length }} new names
{{ $json.domain.join(", ") }}

Email works the same way through the Gmail or Send Email node. If the sheet is the only output, you can skip Aggregate.

The feed doesn't recheck availability, and it shouldn't try. The expired base lists names that have dropped, but good ones get registered within hours. Before you buy an expired domain, run a live check; an expired-base result is not proof of current availability. The API has GET /v1/domains/checker/expiry?domain= for that, or use the domain expiry checker by hand.

Option: keep the filter in Karma.Domains

Hardcoding the filter in n8n means editing a workflow every time you change your mind. You can save the filter in Karma.Domains instead and have n8n read it each morning:

GET https://api.karma.domains/v1/user/saved-filters/{filter_id}
Authorization: Bearer YOUR_API_KEY

The response contains the saved filter object. Pass its filter field as the body of the search request in step 3. GET /v1/user/saved-filters lists your filters with their IDs. If a saved filter carries sort settings, I'd strip them out and keep sorting in the query parameters, where the search endpoint expects them.

After that, you tune the filter in the app, check the results there, and the next morning's feed uses the new version.

Option: push instead of pull

Karma.Domains can also push matches to n8n as they happen, through webhooks. Create a subscription with kind set to filter:

POST https://api.karma.domains/v1/webhooks/
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "kind": "filter",
  "url": "https://your-n8n-host/webhook/karma-domains",
  "events": ["domain.matched_filter"],
  "bases": ["expired"],
  "filter": { ...the filter from step 1, without report_added_time... }
}

In n8n, add a Webhook node with the method set to POST and use its production URL. Each delivery is one event with the domain, report_id and report_type, plus a link to the report. It doesn't carry metrics, so follow it with an HTTP Request to GET /v1/reports/report?report_type=expired&report_id={{ $json.body.object.report_id }} if you need numbers in the message.

The create response includes a whsec_ secret, shown once, and every delivery is signed using the Standard Webhooks scheme: webhook-id, webhook-timestamp and webhook-signature headers. To verify in n8n, turn on Raw Body in the Webhook node and add a Code node. On n8n Cloud, the Code node already includes the Node.js crypto module. On self-hosted n8n, set NODE_FUNCTION_ALLOW_BUILTIN=crypto. This is a sketch; I tested the signature logic against the Standard Webhooks test vector, not inside a live n8n instance, so run it with the ping event first (POST /v1/webhooks/{id}/ping). Set the Code node to Run Once for All Items:

const crypto = require('crypto');
const secret = 'whsec_...'; // from the create response; keep it in an n8n credential or env var
const h = $input.first().json.headers;
const raw = (await this.helpers.getBinaryDataBuffer(0, 'data')).toString('utf8');

if (Math.abs(Date.now() / 1000 - Number(h['webhook-timestamp'])) > 300) {
  throw new Error('Timestamp too old');
}
const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64');
const expected = crypto.createHmac('sha256', key)
  .update(`${h['webhook-id']}.${h['webhook-timestamp']}.${raw}`)
  .digest('base64');
const ok = (h['webhook-signature'] || '').split(' ').some(s => {
  const [ver, sig] = s.split(',');
  return ver === 'v1' && sig && sig.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
});
if (!ok) throw new Error('Bad signature');
return [{ json: JSON.parse(raw) }];

A few limits shape how you use it. The subscription starts from the moment you create it and doesn't replay older matches. An account can have 30 subscriptions and 5,000 deliveries per UTC day; past that, the subscription is paused (its status shows quota_paused). A filter that requires a metric can delay the event until that metric arrives.

For a single morning list, I'd use the scheduled pull. It gives metrics time to arrive, sends one digest instead of a stream of pings, and is simpler to debug. Use the webhook if you're racing other buyers for specific drops and minutes matter more than complete data.

If you don't want to build anything, a saved filter can also arrive as a daily email digest, and Pro accounts can read a saved filter as an RSS feed.

Troubleshooting

The feed is empty

Check total_count in the raw HTTP Request output first. If it's 0, the filter is too tight for one day of drops; loosen the link floor or the spam cap. If it's above 0 but nothing reaches Slack, the Remove Duplicates or title Filter node is dropping everything. Look at each node's output.

The same names keep coming back

Remove Duplicates must compare report_id, not domain. A domain can appear in more than one base with different reports, and the same report can show up in two overlapping windows.

Rows have empty Moz or Majestic fields

They were added recently and the metrics haven't arrived. Run the feed later in the day, or keep a metric condition in the filter so those rows wait until tomorrow's run.

The webhook never fires

Send a ping to the subscription and look at the Webhook node's executions. Make sure the workflow is active and the subscription points at the production URL, not the test URL. GET /v1/webhooks/{id}/deliveries shows what was sent.

FAQ

Do I need to know how to code to build this?

No. The pull version uses standard n8n nodes and one JSON body. Code appears only in the optional webhook signature check.

How often should the feed run?

Once a day suits most people. Running it more often mostly adds rows with missing metrics. If you need speed, use the webhook option rather than a tighter schedule.

Can I use the same workflow for auction domains?

Yes. The same workflow can cover domain auctions: change domain_type to auctions and swap report_added_time for a filter on auction end time. The rest of the workflow stays the same.

Does the feed tell me whether a domain is still available?

No. It lists what matched the filter. Run a live availability check before you buy, because good names are often registered within hours of dropping.

What API access does this need?

A Karma.Domains API key on the Pro plan, sent as a Bearer token. The same key works for search, saved filters and webhooks.

What to do next

Test your filter in the Karma.Domains app or through the API until one day of results fits on one screen, and compare it with the expired .com domains list. Then build the core nodes and an output, let the feed run for a week, and adjust the title word list based on what slips through.

Lucy Kim
Lucy Kim

Co-founder and Head of Support

Lucy Kim is a co-founder of Karma.domains and the head of the support service with more than 8 years of experience in the field of SEO and the analysis of domains. She specializes in business help in finding high -quality expired domains and developing effective promotion strategies.

Try for Free!

Use bonus credits!

Open domain list
+5