English Русский Հայերեն Español Français Deutsch 中文 Қазақша Українська ქართული हिन्दी فارسی

Registrar.AM

Official .AM Domain Registration & Information Service

API Documentation

Integrate Registrar.AM WHOIS data into your own applications.

1. HTTP JSON API

Simple HTTP GET request to receive structured domain data.

GET https://whois.registrar.am/api.php?domain={domain}

Parameters

ParameterTypeDescription
domainstringEnter .am domain name (e.g. google.am)

Sample Response

{
  "domain": "GOOGLE.AM",
  "status": "success",
  "registrar": "INTMEN LLC",
  "expiry_date": "2026-12-31",
  "nameservers": [
    "ns1.google.com",
    "ns2.google.com"
  ],
  "raw_data": "..."
}

2. Standard WHOIS (Port 43)

Our server supports the standard RFC 3912 WHOIS protocol.

# Querying via command line
whois -h whois.registrar.am google.am

3. Code Examples

PHP

$json = file_get_contents("https://whois.registrar.am/api.php?domain=google.am");
$data = json_decode($json, true);
echo $data['registrar'];

Python (Requests)

import requests
response = requests.get("https://whois.registrar.am/api.php?domain=google.am")
print(response.json()['registrar'])

cURL

curl "https://whois.registrar.am/api.php?domain=google.am"