{"openapi":"3.1.0","info":{"title":"WHOIS API","version":"1.0.0","description":"Domain and IP registration lookups via RDAP — the modern, structured successor to WHOIS. Get the registrar, registration / update / expiry dates, status codes, nameservers, DNSSEC state, and IP network ownership (CIDR, organization, country).","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/whois-api","description":"oanor gateway"}],"tags":[{"name":"WHOIS"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/domain":{"get":{"operationId":"get_v1_domain","tags":["WHOIS"],"summary":"Domain registration lookup","description":"","parameters":[{"name":"domain","in":"query","required":true,"description":"Domain name","schema":{"type":"string"},"example":"google.com"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"dnssec":false,"domain":"google.com","handle":"2138514_DOMAIN_COM-VRSN","status":["client delete prohibited","client transfer prohibited","client update prohibited","server delete prohibited","server transfer prohibited","server update prohibited"],"created":"1997-09-15T04:00:00Z","expires":"2028-09-14T04:00:00Z","updated":"2019-09-09T15:39:04Z","registrar":"MarkMonitor Inc.","nameservers":["ns1.google.com","ns2.google.com","ns3.google.com","ns4.google.com"]},"meta":{"timestamp":"2026-05-29T23:00:27.535Z","request_id":"ec34f11c-859b-404b-a7d0-524ee220963e"},"status":"ok","message":"Domain lookup retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/ip":{"get":{"operationId":"get_v1_ip","tags":["WHOIS"],"summary":"IP network registration lookup","description":"","parameters":[{"name":"ip","in":"query","required":true,"description":"IPv4 or IPv6 address","schema":{"type":"string"},"example":"8.8.8.8"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"org":"Google LLC","cidr":"8.8.8.0/24","name":"GOGL","type":"DIRECT ALLOCATION","handle":"NET-8-8-8-0-2","status":["active"],"ip_version":"v4","end_address":"8.8.8.255","start_address":"8.8.8.0"},"meta":{"timestamp":"2026-05-29T23:00:28.834Z","request_id":"6c43f101-4cbc-4252-9bdf-0792fa4c8866"},"status":"ok","message":"IP lookup retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":750,"rps_limit":1,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1000,"monthly_call_quota":35000,"rps_limit":5,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3900,"monthly_call_quota":200000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":11900,"monthly_call_quota":850000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/whois-api"}