---
title: How do I get the list of newly registered domains on Linux/UNIX?
description: How do I get a list of newly registered (dropped, discovered, etc.) domains from a CSV file in the Newly Registered Domains data feed (on Linux/UNIX)?
---

[Skip to content](https://knowledge.whoisxmlapi.com/how-do-i-get-the-list-of-newly-registered-domains-linux-unix#main-content)

English

Show submenu for translations

![Logo inline notagline (1)-1.png\]](https://knowledge.whoisxmlapi.com/hs-fs/hubfs/Logo%20inline%20notagline%20(1)-1.png?height=40&name=Logo%20inline%20notagline%20(1)-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Go to whoisxmlapi.com

 Go to whoisxmlapi.com

 What do you want to know?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://knowledge.whoisxmlapi.com/?hsLang=en)
2. [NRD2](https://knowledge.whoisxmlapi.com/nrd2?hsLang=en)

# How do I get the list of newly registered domains on Linux/UNIX?

## How do I get a list of newly registered (dropped, discovered, etc.) domains from a CSV file in the Newly Registered Domains data feed (on Linux/UNIX)?

Assume you are using the downloaded file "nrd.2022-07-23.ultimate.daily.data.csv.gz", and you want to get the domain names only in a text file.  To do so:

1. Verify if the 'csvcut' utility is available on your system. If it isn't, install '[csvkit](https://csvkit.readthedocs.io/en/latest)' with your package manager or Python 'pip'.
2. Execute the command:

```
zcat nrd.2022-07-20.ultimate.daily.data.csv.gz | csvgrep -c reason -m added | csvcut "domainName" > nrd.2022-07-20.ultimate.daily.domains.added.csv
```

which will generate a csv with the domain names only.

 

Remarks:

- The traditional 'cut' command or 'awk' is not the best choice as the CSV files may contain quoted multiline fields.
- Replace "added" with "dropped", "changed" or "discovered" to get the respective lists.
- By simple modifications of the command line you can do more complex queries. For instance, to get both the newly registered and discovered domains and include the WHOIS registration date, you can execute the below:

```
zcat nrd.2022-07-20.ultimate.daily.data.csv.gz | csvgrep -c reason -r '(added|discovered)' | csvcut -c "domainName,createdDateParsed" > nrd.2022-07-20.ultimate.daily.domains_with_regdate.added_and_discovered.csv 
```

- Consult the manals of \`csvgrep' and \`csvcut', and the specs of the Newly Registered Domains feed for additional ideas.

- [NRD2](https://knowledge.whoisxmlapi.com/nrd2?hsLang=en#main-content)
  
  
  
  
  
    - [Tutorials](https://knowledge.whoisxmlapi.com/nrd2?hsLang=en#tutorials)
- [General Support](https://knowledge.whoisxmlapi.com/general-support?hsLang=en)
- [WHOIS Domain Data](https://knowledge.whoisxmlapi.com/whois-domain-data?hsLang=en#main-content)
  
  
  
  
  
    - [WHOIS vs. Historical WHOIS](https://knowledge.whoisxmlapi.com/whois-domain-data?hsLang=en#whois-vs-historical-whois)
    - [Quarterly feeds](https://knowledge.whoisxmlapi.com/whois-domain-data?hsLang=en#quarterly-feeds)
    - [WHOIS data fields](https://knowledge.whoisxmlapi.com/whois-domain-data?hsLang=en#whois-data-fields)
    - [Bulk WHOIS Lookup](https://knowledge.whoisxmlapi.com/whois-domain-data?hsLang=en#bulk-whois-lookup)
- [DNS Data](https://knowledge.whoisxmlapi.com/dns-data?hsLang=en)
- [APIs](https://knowledge.whoisxmlapi.com/apis?hsLang=en#main-content)
  
  
  
  
  
    - [WHOIS API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#whois-api)
    - [WHOIS History API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#whois-history-api)
    - [DNS Lookup API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#dns-lookup-api)
    - [IP Geolocation API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#ip-geolocation-api)
    - [Email Verification API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#email-verification-api)
    - [Domain Reputation API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#domain-reputation-api)
    - [Subdomain Lookup API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#subdomain-lookup-api)
    - [Reverse WHOIS API](https://knowledge.whoisxmlapi.com/apis?hsLang=en#reverse-whois-api)
- [Databases / Data Feeds](https://knowledge.whoisxmlapi.com/databases-data-feeds?hsLang=en#main-content)
  
  
  
  
  
    - [Threat Intelligence Data Feeds (TIDF)](https://knowledge.whoisxmlapi.com/databases-data-feeds?hsLang=en#threat-intelligence-data-feeds-tidf)
    - [IP Geolocation / IP Netblocks Databases](https://knowledge.whoisxmlapi.com/databases-data-feeds?hsLang=en#ip-geolocation-ip-netblocks-databases)
- [Legacy](https://knowledge.whoisxmlapi.com/legacy?hsLang=en)
- [Dev & Data Science Corner](https://knowledge.whoisxmlapi.com/dev-data-science-corner?hsLang=en#main-content)
  
  
  
  
  
    - [Dev resources](https://knowledge.whoisxmlapi.com/dev-data-science-corner?hsLang=en#dev-resources)
- [Domain Research Suite (DRS)](https://knowledge.whoisxmlapi.com/domain-research-suite-drs-1?hsLang=en)
- [IP Data](https://knowledge.whoisxmlapi.com/ip-data?hsLang=en)

[![Chill listening crop-3](https://knowledge.whoisxmlapi.com/hs-fs/hubfs/Logo%20eye%20icon%20(1).png?width=37&height=24&name=Logo%20eye%20icon%20(1).png "Chill listening crop-3")](http://whoisxmlapi.com)

Copyright © 2026, whoisxmlapi.com