IPIPGO ip proxy api get proxy ip: how to use the API interface to get proxy IP configuration guide

api get proxy ip: how to use the API interface to get proxy IP configuration guide

Teach you to use the API to glean a fresh proxy IP Recently, some of my friends who are doing crawling have complained to me that it is too much work to manually change the proxy IP. Today we will break open the rubbing of the talk, how to use the API interface to automatically get the proxy IP. take our ipipgo service as a chestnut, guaranteed to see the end of the hand. API is a what...

api get proxy ip: how to use the API interface to get proxy IP configuration guide

Teach you to glean fresh proxy IPs with APIs by hand.

Recently, some of my friends who are doing crawlers have been complaining to me that it's too much work to change the proxy IP manually. Today, let's break it up and talk about how to use API interface to get proxy IPs automatically.ipipgoThe service of the chestnuts, guaranteed to look and get started.

What the heck is an API?

Simply put, it is a self-service vending machine, you send a request to the past, it immediately spit out to you available proxy IP. without logging in to the web page point and click, especially suitable for the need to batch access to the scene. For example, if you do data collection, you can adjust the interface before each capture, and the IP will be changed automatically.

Five Steps to API Docking

Step 1: Register for an account
Open the official website of ipipgo and register an account with your cell phone number. Newcomers have 1G traffic trial, enough to measure a hundred or eighty times.

Step 2: Choose a package
Pick the type based on business needs:

Package Type Applicable Scenarios
Dynamic residential (standard) General Data Acquisition
Dynamic Residential (Business) high concurrency requirements
Static homes Long-term fixed IP

Step 3: Get the API link
Find an interface address like this one in the User Center:
https://api.ipipgo.com/get?key=你的密钥&count=5

Step 4: Configure the parameters
These parameters are most commonly used:
- count=5 Take 5 IPs at a time
- type=http Specifies the protocol type
- country=us Limited to US IP

Step 5: Call Test
Try the water with the curl command:


curl "https://api.ipipgo.com/get?key=你的密钥"

Code Demo

Brother Python look here:


import requests

def get_proxies(): api_url =
    api_url = "https://api.ipipgo.com/get?key=你的密钥"
    resp = requests.get(api_url)
    return resp.json()['proxies']

The PHP players take over:


$api_url = 'https://api.ipipgo.com/get?key=你的密钥';
$proxies = json_decode(file_get_contents($api_url), true);
print_r($proxies['data']);

Common pitfalls QA

Q: The returned IP is not available immediately?
A: 80% is that the whitelist is not set. Add the server IP in the account settings, which many people will forget.

Q: What if I need a specific country IP?
A: interface plus country parameters on the line, such as country = jp to get the Japanese IP. our support 200 + countries and regions, niche countries in advance to contact customer service to confirm.

Q: What happens if I use up my subscription traffic?
A: Automatic shutdown protection will not incur additional costs. It is recommended to set up traffic warning in the background.

Why ipipgo?

In addition to the affordable price (as low as $7+ 1G), there are three main advantages:
1. SupportSocks5 protocolIt's a must for certain specific scenarios.
2. Client-ownedautomatic switchingFunction, cut new IP in seconds after disconnection
3. fast customer service response, the last time I raised a work order in the middle of the night, it was resolved in 10 minutes

Just started the proposal to buy dynamic residential standard version first, 35 dollars can use 5G traffic. Enterprise users directly on the customized program, can specify the IP belongs to the operator, do cross-border e-commerce friends with this particularly appropriate.

Finally, I would like to remind you to remember to verify the validity of the proxy IP after you get it. Some friends directly throw the IP returned by the API into the crawler, and as a result, some IPs may have been blocked, wasting the number of requests. Although the success rate of our interface is 98%, it is safer to verify multiple channels, isn't it?

This article was originally published or organized by ipipgo.https://www.ipipgo.com/en-us/ipdaili/44476.html

business scenario

Discover more professional services solutions

💡 Click on the button for more details on specialized services

New 10W+ U.S. Dynamic IPs Year-End Sale

Professional foreign proxy ip service provider-IPIPGO

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact Us

13260757327

Online Inquiry. QQ chat

E-mail: hai.liu@xiaoxitech.com

Working hours: Monday to Friday, 9:30-18:30, holidays off
Follow WeChat
Follow us on WeChat

Follow us on WeChat

Back to top
en_USEnglish