Logo
Logo

PRODUCTS

TOOLS

pricing background

C++API Integration

api

Subdomain Lookup

1#include <curl/curl.h>
2#include <stdio.h>
3
4int main() {
5	CURL *curl = curl_easy_init();
6	if(curl) {
7		curl_easy_setopt(curl, CURLOPT_URL, "https://api.whoisfreaks.com/v1.0/subdomains?apiKey=API_KEY&domain=google.com&after=2010-02-28&before=2025-05-20&status=active&page=3");
8		curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "GET");
9		curl_easy_perform(curl);
10		curl_easy_cleanup(curl);
11	}
12	return 0;
13}