API Examples

#### Examples needed! Help us out by sending over some sample code. If you have code that interacts with the RoboWhois API in any way, then we would love to see it. Please, send over any code samples you have to support@robowhois.com.

PHP

Get whois properties

This example uses cURL with PHP through RoboWhois Whois API to get the parsed WHOIS record for a domain.

Python

Get whois record

This example uses Python through RoboWhois Whois API to get the WHOIS record for a domain.

Get whois record (Class)

Starting from the script above, the following example packages the same code into a Class you can re-use in your projects.

C#

Get whois record

This example uses C# through RoboWhois Whois API to get the WHOIS record for a domain.

ASP Classic

Get whois record

This example uses ASP + VBScript through RoboWhois Whois API to get the WHOIS record for a domain.

Get whois properties

This example uses ASP + VBScript through RoboWhois Whois API to get the WHOIS properties for a domain.