Russian  English  All projects

Proxy check by api



Good afternoon, I need software that will work as a website. That is, we place it somewhere on the server and can go to the site from different computers and manage it). I dont know what its called, but I hope you get the point.


To the software itself:

There is a list of proxies.

For example, 1.1.1.1:5500

These proxies are backconnect.

The essence of backconnect proxies is that when you connect to the proxy, it can give you different ip addresses.

For example, now it can be an IP address 1.1.1.1, and in 10 minutes 2.2.2.2

Learn more about backconnect: https://fosy.club/blog/backconnect-proxy-eng/

So, our goal is to find the "right" ip addresses.

to do this, we first need to get the actual ip address located on the proxy, and then make an api request to one service via the link

ipqualityscore.com/api/json/ip/3b4qx4nu7KI9BiSnNFOeYsN7sVybkd4H/72.20.81.6?strictness=1&allow_public_access_points=false&fast=false&lighter_penalties=true&mobile=true

where "3b4qx4nu7KI9BiSnNFOeYsN7sVybkd4H" is the key
"72.20.81.6" - our IP address

Accordingly, instead of 72.20.81.6, we substitute the IP, which is now on the prox
And in the key is the list of keys that I will indicate

As a result, we should have something like this answer at the link:

successtruemessage"Success"fraud_score100country_code"US"region"ND"city"Dickinson"we are only interested in the number next to the fraud score.

If we get the number "0", then such a proxy suits us and we indicate it as necessary for us.

If any other figure, then such a proxy does not suit us.

Overall, thats all thats required of a script. Next, Ill clarify some of the little things.
----

As I said, IP tends to change. There are two ways to change the IP - by time and through the API function

If our proxy shows NOT 0 in the fraud score column, then in the case of proxies that change by api, we should change the ip address and again look for fraud score 0 and change the ip until we find it

In the case of a change in time, we have to check again after a while what kind of IP address we have on the prox and check its fraud score. If it turns out to be 0, then output in the interface.

-----


In the proxy there is one specificity - there ip addresses tend to change chaotically, even without your participation. Therefore, it is necessary to track the ip address on the prox every second. And in case it has changed, then check its fraud score again. And if it turns out not to be 0, then remove from the interface and either change the IP by link, looking for 0, or wait until the IP is replaced.

---

I also need to keep track of which ip addresses on the proxies are duplicated. And if we have already taken ip, then it should be put in the list, which in the future will skip the ip addresses that are in this list (in the common people blacklist)

-----

I also need different "tabs" or copies of the checker. That is, so that I can insert 10 proxies into one tab and they work independently of the second tab, where the other 10 proxies. At the same time, they must have a common blacklist and keys for api addresses.

---

The keys for the api request have one specificity - this is the limit of 200 requests per day. This limit must be monitored and, when it is reached, the key must be changed. After a day, this limit is reset. Therefore, it is necessary to change the api keys

In this case, it is necessary to connect to the api through a proxy (I will issue a proxy)

----

All proxies are paid for traffic, so I need to spend traffic economically. especially in the case of obtaining ip
----------

There is a lot of information, but everything is very simple. I already have a similar script, it is implemented in php, but, unfortunately, not all functionality for php is possible. but for clarity, Ill show it to you if necessary.



Specify pricing and implementation method
21.06.2022 20:59



 Answers freelancers