Any free APIs for checking if a domain name is taken?

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
I have an order form that I'm trying to create. One of the options is to order a custom domain name for a website, but I want to send an async request to an API to check if the domain name is available before the user submits the form.

I can't seem to find any free APIs that allow a simple domain availability check?