Menu

Spotting Dropped and Re-registered Domains with the Wayback CDX API
📰

Spotting Dropped and Re-registered Domains with the Wayback CDX API

DEV Community: python·DAPA Checker·about 7 hours ago
#tJ9V0QCa
#devtopython#devto#dev#domain#first
Long article (547 words) — no AI summary yet.
Reading 0:00
15s threshold

A domain's WHOIS creation date tells you when the current registration started. It does not tell you whether the name had a previous life. Expired domains are re-registered every day, and a domain that looks two months old in WHOIS may have ten years of history, including history the new owner would rather you did not see. When I vet sites for links or partnerships, I compare two dates: the registration date and the first time the Internet Archive saw the site. A big gap between them is worth a closer look.

The Wayback CDX API

The Internet Archive exposes a simple index of captures at web.archive.org/cdx/search/cdx . You can ask for the earliest capture of a domain with a few parameters:

https://web.archive.org/cdx/search/cdx?url=example.com&output=json&limit=1&fl=timestamp,statuscode

Enter fullscreen mode

Exit fullscreen mode

Results are sorted oldest first, so limit=1 returns the first capture. Timestamps look like 20120314093012 (YYYYMMDDhhmmss).

A small Python helper

import json import urllib .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.