IP2Proxy

The IP2Proxy™ Proxy Detection Web Service is a hosted Web Service that allows instant detection of anonymous proxy, VPN, TOR exit nodes, search engine robots (SES) and residential proxies (RES) by IP address. It is a REST API supporting both JSON and XML responses and provides IP location lookup information when a proxy is detected.

Integrate the IP2Proxy API with the Python API

Setup the IP2Proxy API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate IP2Proxy and Python remarkably fast. Free for developers.

Query IP address with the IP2Proxy API

Query IP address using IP2Proxy API. See the docs here for how to use this API.

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it

Overview of IP2Proxy

The IP2Proxy API helps you detect and prevent fraud by identifying proxy and VPN traffic. With this API, you can programmatically check IP addresses and uncover whether they're originating from known data centers, residential proxies, or public VPNs. This is crucial for maintaining the integrity of your web services and preventing abuse. By integrating IP2Proxy with Pipedream, you can automate actions based on the traffic’s legitimacy, enrich data streams with proxy detection, and enhance security measures within your digital ecosystem.

Connect IP2Proxy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ip2proxy: {
      type: "app",
      app: "ip2proxy",
    },
    ip: {
      type: "string",
      default: "201.42.237.89"
    },
    package: {
      type: "string",
      default: "PX11"
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.ip2proxy.com`,
      params: {
        key: `${this.ip2proxy.$auth.api_key}`,
        ip: `${this.ip}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}