layout: post title: "Whois JSON API" date: 2015-06-07 20:34:46 last_modified_at: 2015-08-02 19:05:00 excerpt: "Walter Elias Disney was an American entrepreneur, cartoonist, animator, voice actor, and film producer. As a prominent..." categories: history tags: disney image: feature: j1x-whois.jpg topPosition: 0px bgContrast: dark bgGradientOpacity: darker syntaxHighlighter: yes
Today I want to introduce a new little service that i created: a Whois JSON API.
My motivation behind this project was the lack of another good whois lookup service that responded with a JSON file and could return decent querys from TDLs like
Something cool that i had found was the Whoiz project from Jason Ormand. It uses a gem called Ruby Whois to query the various diferent servers for each TDL. I used this as my starting point. Then I took the raw responses from some of the diferent TDLs server and made a little regex to get the information that I needed from each one.
I only did this for some domains:
.com. Maybe I'll make more in the future. The queries for
.com.br domains usually come with limited information because of the registrar's API call allowance and there is a bug where some
.com domains return an error sometimes (ex: google.com).