ipdata.co

Enrich IP Addresses with Location, Company, Carrier & Threat Data

Integrate the ipdata.co API with the Python API

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

GET /{ip_address} with the ipdata.co API

Lookup a specific IP Address

 
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
GET /carrier/{ip_address} with the ipdata.co API

The ipdata API supports looking up the Mobile Carrier of an IP Address. Our database currently consists of over 2500 carriers in 234 countries. https://docs.ipdata.co/overview/mobile-carrier-detection

 
Try it
GET /time_zone/{ip_address} with the ipdata.co API

We provide detailed and accurate Timezone data, adjusted for DST where necessary. https://docs.ipdata.co/overview/timezone-detection

 
Try it

Connect ipdata.co

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ipdata_co: {
      type: "app",
      app: "ipdata_co",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.ipdata.co?api-key=${this.ipdata_co.$auth.api_key}`,
    })
  },
})

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}}