# Misc Domain API

The Misc Domain API provides helper endpoints to resolve MX and Whois records for any domain, so you can quickly check where email for a domain is hosted, validate domain ownership, and enrich leads or accounts with reliable domain metadata inside your workflows

## Find MX

> Convenience API to find and return the MX records for domain in higher priority order

```json
{"openapi":"3.0.2","info":{"title":"Clearout OpenAPI","version":"1.1"},"tags":[{"name":"Misc Domain API","description":"The Misc Domain API provides helper endpoints to resolve MX and Whois records for any domain, so you can quickly check where email for a domain is hosted, validate domain ownership, and enrich leads or accounts with reliable domain metadata inside your workflows"}],"servers":[{"url":"https://api.clearout.io/v2"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/domain/resolve/mx":{"post":{"tags":["Misc Domain API"],"summary":"Find MX","description":"Convenience API to find and return the MX records for domain in higher priority order","operationId":"findMX","requestBody":{"required":true,"description":"Find MX records for domain","content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Find MX records for domain"},"timeout":{"type":"number","description":"Request wait time (in milliseconds), Maximum allowed wait time should not exceed 110000 milliseconds","default":90000}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"400":{"description":"Bad Request","content":{"application/json":{}}},"401":{"description":"Unauthorized","content":{"application/json":{}}},"402":{"description":"Payment Required","content":{"application/json":{}}},"503":{"description":"Service Unavailable"},"524":{"description":"Timeout Occurred","content":{"application/json":{}}}}}}}}
```

## Find Whois

> Convenience API to find and return the Whois record for domain in JSON format

```json
{"openapi":"3.0.2","info":{"title":"Clearout OpenAPI","version":"1.1"},"tags":[{"name":"Misc Domain API","description":"The Misc Domain API provides helper endpoints to resolve MX and Whois records for any domain, so you can quickly check where email for a domain is hosted, validate domain ownership, and enrich leads or accounts with reliable domain metadata inside your workflows"}],"servers":[{"url":"https://api.clearout.io/v2"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/domain/resolve/whois":{"post":{"tags":["Misc Domain API"],"summary":"Find Whois","description":"Convenience API to find and return the Whois record for domain in JSON format","operationId":"findWhois","requestBody":{"required":true,"description":"Find Whois record for domain","content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Find Whois record for domain"},"timeout":{"type":"number","description":"Request wait time (in milliseconds), Maximum allowed wait time should not exceed 110000 milliseconds","default":90000}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{}}},"400":{"description":"Bad Request","content":{"application/json":{}}},"401":{"description":"Unauthorized","content":{"application/json":{}}},"402":{"description":"Payment Required","content":{"application/json":{}}},"503":{"description":"Service Unavailable"},"524":{"description":"Timeout Occurred","content":{"application/json":{}}}}}}}}
```
