Geonix

Lista de referencias

GEThttps://geonix.com/personal/api/v1/{apiKey}/reference/list/{type}

Este punto final obtiene la información de referencia necesaria para crear un pedido, como los tipos de proxy disponibles, los países y otros parámetros basados en el tipo de proxy especificado. Es crucial para adaptar su pedido de proxy a sus requisitos específicos.

  • Países, operadores y periodos de rotación (exclusivo para proxies móviles).

  • Duraciones de proxy disponibles para proxies IPV4, IPV6, móviles e ISP.

  • Fines y servicios específicos relacionados con IPV4, IPV6, ISP y proxies residenciales.

  • Opciones de tarifas disponibles exclusivamente para proxies residenciales.

Parámetros de la ruta

Nombre

Tipo

Descripción

apiKey*

cadena

Clave API para autorizar solicitudes

type

cadena

Valores disponibles : ipv4, ipv6, móvil, isp, residente

Cabeceras

Nombre

Valor

Acepte

application/json

Solicitar ejemplos

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();
        }
    }
}

Ejemplos de respuesta

{
  "status": "success",
  "data": {
    "items": [
      {
        "country": [
          {
            "id": 3350393,
            "name": "France",
            "alpha3": "FRA"
          }
        ],
        "period": [
          {
            "id": "1m",
            "name": "1 month"
          }
        ]
      }
    ]
  },
  "errors": []
}
{
  "status": "success",
  "data": {
    "ipv4": [
      {
        "country": [
          {
            "id": 3350393,
            "name": "France",
            "alpha3": "FRA"
          }
        ],
        "period": [
          {
            "id": "1m",
            "name": "1 month"
          }
        ],
        "target": [
          {
            "sectionId": 12,
            "name": "Social media",
            "targets": [
              {
                "id": 12,
                "name": "Proxy for Instagram"
              }
            ]
          }
        ]
      }
    ],
    "ipv6": [
      {
        "country": [
          {
            "id": 3350393,
            "name": "France",
            "alpha3": "FRA"
          }
        ],
        "period": [
          {
            "id": "1m",
            "name": "1 month"
          }
        ],
        "target": [
          {
            "sectionId": 12,
            "name": "Social media",
            "targets": [
              {
                "id": 12,
                "name": "Proxy for Instagram"
              }
            ]
          }
        ]
      }
    ],
    "mobile": [
      {
        "country": [
          {
            "id": 3350393,
            "name": "France",
            "alpha3": "FRA",
            "operators": [
              {
                "id": "telefonicao2",
                "name": "TELEFONICA O2",
                "traffic": "100 Gb",
                "rotations": [
                  {
                    "id": 5,
                    "name": "5 minutes"
                  }
                ]
              }
            ]
          }
        ],
        "period": [
          {
            "id": "1m",
            "name": "1 month"
          }
        ]
      }
    ],
    "isp": [
      {
        "country": [
          {
            "id": 3350393,
            "name": "France",
            "alpha3": "FRA"
          }
        ],
        "period": [
          {
            "id": "1m",
            "name": "1 month"
          }
        ],
        "target": [
          {
            "sectionId": 12,
            "name": "Social media",
            "targets": [
              {
                "id": 12,
                "name": "Proxy for Instagram"
              }
            ]
          }
        ]
      }
    ],
    "resident": [
      {
        "tarifs": [
          {
            "id": 3350393,
            "name": "France"
          }
        ],
        "target": [
          {
            "sectionId": 12,
            "name": "Social media",
            "targets": [
              {
                "id": 12,
                "name": "Proxy for Instagram"
              }
            ]
          }
        ]
      }
    ]
  },
  "errors": []
}

On this page

Lista de referencias | Geonix