> For the complete documentation index, see [llms.txt](https://docs.api.market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.api.market/api-product-docs/magicapi/domain-availability-checker-api.md).

# Domain Availability Checker API

Developer Portal : <https://api.market/store/magicapi/domainchecker>

### About

Our Domain Availability API simplifies the process of checking domain name availability across 500 domain extensions. Designed for developers and businesses, this API provides a quick and efficient way to determine whether a domain name is taken or available.

Integrating our API into your application or workflow is straightforward. Simply send a POST request to the '/check\_domains/' endpoint with the desired domain name in the request body. The API then checks the availability of the domain name across multiple extensions simultaneously.

The output format of the API response is a JSON object, categorizing domain names as either 'available' or 'taken'. This structured format allows for easy parsing and integration with your applications.

Use cases for our Domain Availability API include domain registration platforms, brand protection services, and market research tools. By automating the domain availability check process, our API saves valuable time and resources, enabling you to make informed decisions quickly.

Whether you're building a domain search tool, enhancing your brand's online presence, or conducting market analysis, our API provides the functionality you need to succeed. Streamline your domain availability checks and stay ahead of the competition with our Domain Availability API.

### Curl Request and Response :&#x20;

#### Request

{% tabs %}
{% tab title="CURL" %}

```bash
curl -X 'POST' \
  'https://prod.api.market/api/v1/magicapi/domainchecker/check_domains/' \
  -H 'accept: application/json' \
  -H 'x-api-market-key: API-KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "domain_name": "google"
}'
```

{% endtab %}

{% tab title="NodeJS" %}

```javascript
const fetch = require('node-fetch');

let url = 'https://prod.api.market/api/v1/magicapi/domainchecker/check_domains/';

let options = {
  method: 'POST',
  headers: {'x-api-market-key': 'SOME_STRING_VALUE', 'content-type': 'application/json'},
  body: '{"domain_name":"google"}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
```

{% endtab %}

{% tab title="Python" %}

```bash
import http.client

conn = http.client.HTTPSConnection("api.magicapi.dev")

payload = "{\"domain_name\":\"google\"}"

headers = {
    'x-api-market-key': "SOME_STRING_VALUE",
    'content-type': "application/json"
    }

conn.request("POST", "/api/v1/magicapi/domainchecker/check_domains/", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
```

{% endtab %}

{% tab title="Java" %}

```bash
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"domain_name\":\"google\"}");
Request request = new Request.Builder()
  .url("https://prod.api.market/api/v1/magicapi/domainchecker/check_domains/")
  .post(body)
  .addHeader("x-api-market-key", "SOME_STRING_VALUE")
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
```

{% endtab %}

{% tab title="PHP" %}

```bash
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://prod.api.market/api/v1/magicapi/domainchecker/check_domains/",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{\"domain_name\":\"google\"}",
  CURLOPT_HTTPHEADER => [
    "content-type: application/json",
    "x-api-market-key: SOME_STRING_VALUE"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
```

{% endtab %}
{% endtabs %}

{% code overflow="wrap" %}

```bash
curl -X 'POST' \
  'https://prod.api.market/api/v1/magicapi/domainchecker/check_domains/' \
  -H 'accept: application/json' \
  -H 'x-api-market-key: API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "domain_name": "google"
}'
```

{% endcode %}

#### Response&#x20;

```json
{
  "available": [
    "google.design",
    "google.bz",
    "google.city",
    "google.studio",
    "google.style",
    "google.cn.com",
    "google.br.com",
    "google.jpn.com",
    "google.eu.com",
    "google.sa.com",
    "google.us.com",
    "google.ru.com",
    "google.za.com",
    "google.uk.com"
  ],
  "taken": [
    "google.shop",
    "google.jp",
    "google.de",
    "google.li",
    "google.lt",
    "google.hn",
    "google.fashion",
    "google.direct",
    "google.ai",
    "google.chat",
    "google.games",
    "google.cm",
    "google.immo",
    "google.life",
    "google.market",
    "google.money",
    "google.gr",
    "google.dev",
    "google.mx",
    "google.lc",
    "google.app",
    "google.health",
    "google.ae",
    "google.net.au",
    "google.vip",
    "google.au",
    "google.org.au",
    "google.com.ar",
    "google.ph",
    "google.id.au",
    "google.in",
    "google.cl",
    "google.es",
    "google.com.au",
    "google.pe",
    "google.page",
    "google.at",
    "google.as",
    "google.ch",
    "google.berlin",
    "google.accountant",
    "google.co.uk",
    "google.career",
    "google.be",
    "google.brussels",
    "google.ca",
    "google.co",
    "google.beer",
    "google.nl",
    "google.eu",
    "google.gg",
    "google.biz",
    "google.apartments",
    "google.club",
    "google.name",
    "google.sg",
    "google.actor",
    "google.cx",
    "google.accountants",
    "google.gay",
    "google.org",
    "google.mu",
    "google.codes",
    "google.builders",
    "google.boutique",
    "google.lat",
    "google.cards",
    "google.cheap",
    "google.gmail",
    "google.com.sg",
    "google.online",
    "google.center",
    "google.net",
    "google.bingo",
    "google.adult",
    "google.charity",
    "google.band",
    "google.coffee",
    "google.contact",
    "google.cab",
    "google.company",
    "google.associates",
    "google.attorney",
    "google.construction",
    "google.condos",
    "google.diamonds",
    "google.exchange",
    "google.computer",
    "google.democrat",
    "google.store",
    "google.careers",
    "google.academy",
    "google.contractors",
    "google.capital",
    "google.futbol",
    "google.engineer",
    "google.fan",
    "google.fish",
    "google.coach",
    "google.fail",
    "google.consulting",
    "google.flights",
    "google.energy",
    "google.cool",
    "google.community",
    "google.exposed",
    "google.dating",
    "google.fund",
    "google.haus",
    "google.gifts",
    "google.je",
    "google.is",
    "google.dog",
    "google.email",
    "google.discount",
    "google.koeln",
    "google.kaufen",
    "google.qa",
    "google.ryukyu",
    "google.claims",
    "google.fitness",
    "google.healthcare",
    "google.casino",
    "google.international",
    "google.it",
    "google.church",
    "google.to",
    "google.cafe",
    "google.boston",
    "google.dance",
    "google.okinawa",
    "google.bargains",
    "google.org.uk",
    "google.care",
    "google.gives",
    "google.lawyer",
    "google.marketing",
    "google.com",
    "google.wf",
    "google.engineering",
    "google.am",
    "google.se",
    "google.pm",
    "google.tech",
    "google.ltd",
    "google.hamburg",
    "google.clinic",
    "google.cc",
    "google.expert",
    "google.casa",
    "google.jetzt",
    "google.foundation",
    "google.guru",
    "google.catering",
    "google.holiday",
    "google.gen.nz",
    "google.site",
    "google.im",
    "google.clothing",
    "google.house",
    "google.website",
    "google.football",
    "google.co.nz",
    "google.space",
    "google.kiwi.nz",
    "google.school.nz",
    "google.forsale",
    "google.realestate",
    "google.cologne",
    "google.save",
    "google.events",
    "google.live",
    "google.agency",
    "google.jewelry",
    "google.blog",
    "google.ac.nz",
    "google.geek.nz",
    "google.farm",
    "google.cam",
    "google.cleaning",
    "google.gallery",
    "google.furniture",
    "google.com.sb",
    "google.fi",
    "google.lease",
    "google.lv",
    "google.ws",
    "google.ngo",
    "google.institute",
    "google.uk",
    "google.maison",
    "google.mba",
    "google.loans",
    "google.delivery",
    "google.re",
    "google.graphics",
    "google.estate",
    "google.guide",
    "google.financial",
    "google.me.uk",
    "google.fans",
    "google.vlaanderen",
    "google.fm",
    "google.florist",
    "google.cash",
    "google.credit",
    "google.cricket",
    "google.hospital",
    "google.digital",
    "google.directory",
    "google.nu",
    "google.land",
    "google.deals",
    "google.paris",
    "google.gold",
    "google.giving",
    "google.io",
    "google.ae.org",
    "google.pl",
    "google.dentist",
    "google.fyi",
    "google.cz",
    "google.degree",
    "google.net.nz",
    "google.ong",
    "google.wien",
    "google.build",
    "google.org.nz",
    "google.us",
    "google.mortgage",
    "google.bet",
    "google.tw",
    "google.pink",
    "google.enterprises",
    "google.business",
    "google.london",
    "google.best",
    "google.media",
    "google.fr",
    "google.date",
    "google.blue",
    "google.compare",
    "google.ag",
    "google.auction",
    "google.la",
    "google.bond",
    "google.garden",
    "google.host",
    "google.properties",
    "google.fit",
    "google.download",
    "google.earth",
    "google.fishing",
    "google.ac",
    "google.hair",
    "google.osaka",
    "google.miami",
    "google.melbourne",
    "google.moe",
    "google.photo",
    "google.menu",
    "google.nyc",
    "google.me",
    "google.faith",
    "google.archi",
    "google.homes",
    "google.review",
    "google.bayern",
    "google.tattoo",
    "google.racing",
    "google.select",
    "google.ink",
    "google.luxe",
    "google.wedding",
    "google.cooking",
    "google.one",
    "google.men",
    "google.win",
    "google.sydney",
    "google.surf",
    "google.vodka",
    "google.buzz",
    "google.science",
    "google.stream",
    "google.study",
    "google.rodeo",
    "google.work",
    "google.tv",
    "google.yoga",
    "google.wiki",
    "google.party",
    "google.porn",
    "google.horse",
    "google.courses",
    "google.trade",
    "google.tube",
    "google.taipei",
    "google.maori.nz",
    "google.soy",
    "google.qpon",
    "google.wales",
    "google.lu",
    "google.press",
    "google.mom",
    "google.camp",
    "google.how",
    "google.express",
    "google.bar",
    "google.mn",
    "google.eco",
    "google.lol",
    "google.dk",
    "google.tf",
    "google.gl",
    "google.capetown",
    "google.xyz",
    "google.education",
    "google.college",
    "google.nz",
    "google.global",
    "google.top",
    "google.click",
    "google.kim",
    "google.pw",
    "google.durban",
    "google.africa",
    "google.rest",
    "google.wang",
    "google.day",
    "google.finance",
    "google.scot",
    "google.joburg",
    "google.love",
    "google.legal",
    "google.domains",
    "google.pics",
    "google.asia",
    "google.immobilien",
    "google.kiwi",
    "google.yt",
    "google.mobi",
    "google.link",
    "google.art",
    "google.sx",
    "google.vg",
    "google.skin",
    "google.gift",
    "google.fun",
    "google.black",
    "google.beauty",
    "google.quest",
    "google.tokyo",
    "google.help",
    "google.gd",
    "google.onl",
    "google.co.za",
    "google.group",
    "google.quebec",
    "google.rent",
    "google.uno",
    "google.bio",
    "google.tc",
    "google.boats",
    "google.cloud",
    "google.tel",
    "google.parts",
    "google.news",
    "google.bid",
    "google.id",
    "google.glass",
    "google.red",
    "google.doctor",
    "google.watch",
    "google.video",
    "google.gs",
    "google.ec",
    "google.ms",
    "google.ht",
    "google.gy",
    "google.investments",
    "google.kitchen",
    "google.plus",
    "google.industries",
    "google.management",
    "google.moda",
    "google.repair",
    "google.memorial",
    "google.plumbing",
    "google.rehab",
    "google.pro",
    "google.lighting",
    "google.promo",
    "google.info",
    "google.photos",
    "google.place",
    "google.pictures",
    "google.pub",
    "google.partners",
    "google.ninja",
    "google.reisen",
    "google.recipes",
    "google.organic",
    "google.photography",
    "google.salon",
    "google.bike",
    "google.sc",
    "google.reviews",
    "google.family",
    "google.rip",
    "google.shopping",
    "google.green",
    "google.schule",
    "google.sarl",
    "google.school",
    "google.tours",
    "google.camera",
    "google.solutions",
    "google.productions",
    "google.software",
    "google.singles",
    "google.pet",
    "google.sh",
    "google.social",
    "google.rocks",
    "google.report",
    "google.shiksha",
    "google.hockey",
    "google.team",
    "google.poker",
    "google.lgbt",
    "google.vc",
    "google.insure",
    "google.tennis",
    "google.training",
    "google.vacations",
    "google.vin",
    "google.pt",
    "google.limited",
    "google.supply",
    "google.services",
    "google.toys",
    "google.tips",
    "google.technology",
    "google.support",
    "google.solar",
    "google.restaurant",
    "google.dental",
    "google.villas",
    "google.equipment",
    "google.surgery",
    "google.supplies",
    "google.town",
    "google.sale",
    "google.rentals",
    "google.coupons",
    "google.limo",
    "google.tax",
    "google.tools",
    "google.tienda",
    "google.zone",
    "google.wtf",
    "google.soccer",
    "google.vet",
    "google.pizza",
    "google.holdings",
    "google.works",
    "google.vision",
    "google.systems",
    "google.gripe",
    "google.today",
    "google.network",
    "google.golf",
    "google.vegas",
    "google.ventures",
    "google.voyage",
    "google.ski",
    "google.trading",
    "google.shoes",
    "google.show",
    "google.university",
    "google.wine",
    "google.theater",
    "google.world",
    "google.tl",
    "google.run",
    "google.vote"
  ]
}
```
