Skip to main content

Email & Domain

validateEmail​

You can use this service to validate an email. For example, You have a String named str with value "Johnsmith@gmail.com". The API will return String value "valid".

URL:

https://api.rightwave.net/rdn/api/ss/validateEmail?email={Marketo token for email}

Headers:

Key NameValueDescription
auth-key5wt-be28f07942848582b5915443Use for authentication
Content-Typeapplication/jsonHeader for Content-Type

Query Parameters:

Parameter NameData TypeDescription
emailStringInput for validateEmail

Output:

{
"success": true,
"input": {
"email": "Johnsmith@gmail.com"
},
"result": {
"output": "valid"
},
"requestId": "21666878682541658"
}

Example:

curl -X GET \
-H 'Content-Type: application/json' \
-H 'auth-key: 5wt-be28f07942848582b59154453' \
"https://api.rightwave.net/rdn/api/ss/validateEmail?email=Johnsmith@gmail.com"

domainFromEmail​

You can use this service to get the domain from the email. For example, You have a String named str with value "jsmith@gmail.com". The API will return string value "gmail.com".

URL:

https://api.rightwave.net/rdn/api/ss/domainFromEmail?emailAddress={Marketo token for emailAddress}

Headers:

Key NameValueDescription
auth-key5wt-be28f07942848582b5915443Use for authentication
Content-Typeapplication/jsonHeader for Content-Type

Query Parameters:

Parameter NameData TypeDescription
emailAddressStringInput for domainFromEmail

Output:

{
"success": true,
"input": {
"emailAddress": "jsmith@gmail.com"
},
"result": {
"output": "gmail.com"
},
"requestId": "2166687928181941"
}

Example:

curl -X GET \
-H 'Content-Type: application/json' \
-H 'auth-key: 5wt-be28f07942848582b59154453' \
"https://api.rightwave.net/rdn/api/ss/domainFromEmail?emailAddress=jsmith@gmail.com"

fetchDomain​

You can use this service to get a domain from a URL. For example, You have a String named str with value "https://www.google.com". The API will return string value "google.com".

URL:

https://api.rightwave.net/rdn/api/ss/fetchDomain?inputURL={Marketo token for inputURL}

Headers:

Key NameValueDescription
auth-key5wt-be28f07942848582b5915443Use for authentication
Content-Typeapplication/jsonHeader for Content-Type

Query Parameters:

Parameter NameData TypeDescription
inputURLStringInput for fetchDomain

Output:

{
"success": true,
"input": {
"inputURL": "https://www.rightwave.com"
},
"result": {
"output": "rightwave.com"
},
"requestId": "21667218719242612"
}

Example:

curl -X GET \
-H 'Content-Type: application/json' \
-H 'auth-key: 5wt-be28f07942848582b59154453' \
"https://api.rightwave.net/rdn/api/ss/fetchDomain?inputURL=https://www.rightwave.com"

isISPDomain​

You can use this service to search for a domain. For example:

  • String "163.com" → returns true
  • String "abc.com" → returns false

URL:

https://api.rightwave.com/rdn/api/ss/isISPDomain?domain={Marketo token for domain}

Headers:

Key NameValueDescription
auth-key62m-8db697ee26b6eb4e17876775Use for authentication
Content-Typeapplication/jsonHeader for Content-Type

Query Parameters:

Parameter NameData TypeDescription
domainStringInput for isISPDomain

Output:

{
"success": true,
"input": {
"domain": "mail.com"
},
"result": {
"output": "true"
},
"requestId": "21666676345885609"
}

Example:

curl -X GET \
-H 'Content-Type: application/json' \
-H 'auth-key: 62m-8db697ee26b6eb4e17876775' \
"https://api.rightwave.com/rdn/api/ss/isISPDomain?domain=mail.com"