RapidAPI logo

Sign Up

Log In

Domainr

FREEMIUM
By domainr
Updated 2 months ago
Business
9.7/10
Popularity Score
387ms
Latency
100%
Success Rate

Domainr API Documentation

Instant domain search.

Documentation available at https://domainr.com/docs/api

View API Details
v2
GET/v2/search
GET/v2/status
GET/v2/register
GET/v2/search

Responds with search suggestions related to the query.

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
querySTRING
REQUIREDSearch query
mashape-keyQUERY
REQUIREDYour Mashape API key
Optional Parameters
locationSTRING
OPTIONALOptional two-character country code, to include Geo TLDs.
registrarSTRING
OPTIONALOptionally restrict returned results to those supported by a registrar.
defaultsSTRING
OPTIONALOptionally include a comma-separated list of zones to include by default.
Request Snippet
unirest.get("https://domainr.p.rapidapi.com/v2/search?location=de&registrar=namecheap.com&defaults=club%2Ccoffee&query=acme+cafe")
.header("X-RapidAPI-Host", "domainr.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://domainr.p.rapidapi.com/v2/search?location=de&registrar=namecheap.com&defaults=club%2Ccoffee&query=acme+cafe")
.header("X-RapidAPI-Host", "domainr.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication