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

Registrar.AM

Service officiel d'enregistrement des domaines .AM

Documentation API

Intégrez les données Registrar.AM WHOIS dans vos applications.

1. API HTTP JSON

Requête HTTP GET simple pour recevoir des données structurées.

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

Paramètres

ParamètreTypeDescription
domainstringEntrez le domaine .am (ex. google.am)

Exemple de réponse

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

2. WHOIS standard (Port 43)

Notre serveur supporte le protocole standard RFC 3912 WHOIS.

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

3. Exemples de code

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"