Skip to content

Latest ENS Registrations

Fetch the latest registrations and their associated Domains. See Connect for setup.

SQL
SELECT
d.canonical_name,
r.start,
r.expiry,
r.grace_period,
r.base,
r.premium,
r.type as registration_type,
d.owner_id,
d.id as domain_id
FROM "ensindexer_0".registrations r
JOIN "ensindexer_0".latest_registration_index lri
ON r.domain_id = lri.domain_id
AND r.registration_index = lri.registration_index
JOIN "ensindexer_0".domains d ON r.domain_id = d.id
WHERE r.start <= EXTRACT(EPOCH FROM NOW())
AND d.canonical = true
AND r.type <> 'NameWrapper'
ORDER BY r.start DESC
LIMIT 5;
Output
# canonical_namestartexpirygrace_periodbasepremiumregistration_typeowner_iddomain_id
1 [67f53c740a0051f85075dc2383fb83a7b48d2984fc9ed9db56b334ca96d1d309].eth 1779816216 1811352216 7776000 3125000000003490 0 BaseRegistrar 0x205d2686da3bf33f64c17f21462c51b5ead462cf
11155111-0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e-0x085bfc7f3695efa2e9d3f9717214d85474f40b4b3ef902b67d2bb49654679fa1
2 coolorg.eth 1779794160 1811330160 7776000 3125000000003490 0 BaseRegistrar 0x5f71c6074141d41d0e769689dc9830388a5c7e3e
11155111-0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e-0xe2a76df5554592c08c28946f750aad17d0c2bb3553c6dd2f0298e0f2fe873be3
3 [1d79e56219bd305bbd3fa8ab125997beceebe63b8f6e12d0b6cb956e955549ca].eth 1779785856 1906016256 7776000 12508561643849586 0 BaseRegistrar 0x07a811c0bd3f46733822df66d7e2d723e6f73fd6
11155111-0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e-0x8f9e9956842380910d836aa4ac85bc50bee0999824ea8b54412d02bc56d57c6c
4 kevin-af.eth 1779768924 1874463324 7776000 9383561643846096 0 BaseRegistrar 0x6a89280251f72918b6b143817201008b3d99d96e
11155111-0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e-0x49c87057b1dbe6a6bdfdcf9cc9b2bc12544bc3cd9fd01aa6ea8efb7dab89ca7e
5 executor1.eth 1779743592 1937509992 7776000 15633561643853076 0 BaseRegistrar 0xbb0274908a353d7c37a97ea1ea099352ee39734e
11155111-0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e-0x56fc11b057812d300b43fd13136ee7e656fa9081e5a3063ed011224302b3658f

Output matches a point in time snapshot of ENSDb result from our "Alpha Sepolia" Hosted ENSNode instance. Live output depends on the configuration of your ENSNode instance and also changes that may have happened in ENS since this point in time snapshot example response was captured.