Domains
Search Domains
Search for available domains based on a keyword.
Returns a list of domain suggestions with availability and pricing.
POST
/
api
/
v1
/
registrar
/
search
Search Domains
curl --request POST \
--url https://api.dotlet.net/api/v1/registrar/search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"query": "<string>",
"tlds": [
"<string>"
],
"limit": 10
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', tlds: ['<string>'], limit: 10})
};
fetch('https://api.dotlet.net/api/v1/registrar/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dotlet.net/api/v1/registrar/search"
payload = {
"query": "<string>",
"tlds": ["<string>"],
"limit": 10
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dotlet.net/api/v1/registrar/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"tlds\": [\n \"<string>\"\n ],\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"query": "<string>",
"suggestions": [
{
"domain": "<string>",
"available": true,
"price": "<string>",
"currency": "USD"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
APIKeyHeaderHTTPBearer
Query Parameters
Body
application/json
⌘I
Search Domains
curl --request POST \
--url https://api.dotlet.net/api/v1/registrar/search \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"query": "<string>",
"tlds": [
"<string>"
],
"limit": 10
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', tlds: ['<string>'], limit: 10})
};
fetch('https://api.dotlet.net/api/v1/registrar/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dotlet.net/api/v1/registrar/search"
payload = {
"query": "<string>",
"tlds": ["<string>"],
"limit": 10
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dotlet.net/api/v1/registrar/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"tlds\": [\n \"<string>\"\n ],\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"query": "<string>",
"suggestions": [
{
"domain": "<string>",
"available": true,
"price": "<string>",
"currency": "USD"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}