Reference list
GET https://geonix.com/personal/api/v1/{apiKey}/reference/list/{type}
This endpoint fetches reference information necessary for creating an order, such as available proxy types, countries, and other parameters based on the specified proxy type. It's crucial for tailoring your proxy order to your specific requirements.
Headers
Name
Value
Accept
application/json
Path parameters
Name
Type
Description
apiKey*
string
API key to authorize requests
type
string
Available values : ipv4, ipv6, mobile, isp, resident
Request examples
curl -X GET "https://geonix.com/personal/api/v1/YOUR_API_KEY_HERE/reference/list/ipv4" \
-H "Accept: application/json"<?php
$apiKey = 'YOUR_API_KEY_HERE'; // Replace with your actual API key
$url = "https://geonix.com/personal/api/v1/$apiKey/reference/list/ipv4";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept: application/json'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class FetchReferenceInfoExample {
public static void main(String[] args) {
String apiKey = "YOUR_API_KEY_HERE"; // Replace with your API key
String urlString = "https://geonix.com/personal/api/v1/" + apiKey + "/reference/list/ipv4";
try {
URL url = new URL(urlString);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestProperty("Accept", "application/json");
con.setRequestMethod("GET");
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuilder response = new StringBuilder();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println("Reference Information: " + response.toString());
} catch (Exception e) {
e.printStackTrace();
}
}
}
Response examples
Last updated