# 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":{}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clearout.io/developers/api/misc-domain-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
