IP2Location

Identify Geographical Location and Proxy by IP Address

Go to site
Explore
/
Apps
/
IP2Location

IP2Location API Integrations

Build and run workflows using the IP2Location API. Use 1000s of source-available triggers and actions across 1400+ apps. Or write custom code to integrate any app or API in seconds.

Overview

IP2Location provides a number of API calls that can be used to determine the location of an IP address. This can be useful for a number of applications, including:

  • Determining the location of a user for targeted content
  • Tracking the location of a user for security purposes
  • Allowing or blocking access to content based on location
  • And more!
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
28
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ip2location: {
      type: "app",
      app: "ip2location",
    },
    ip: {
      type: "string",
      default: "142.113.220.31"
    },
    package: {
      type: "string",
      default: "WS1"
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.ip2location.com/v2`,
      params: {
        key: `${this.ip2location.$auth.api_key}`,
        ip: `${this.ip}`,
        package: `${this.package}`,
      },
    })
  },
})

Choose an API to Connect with IP2Location API

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Query IP address with IP2Location API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + IP2Location
 
Try it
Query IP address with IP2Location API on New Item in Feed from RSS API
RSS + IP2Location
 
Try it
Query IP address with IP2Location API on New Message from Discord API
Discord + IP2Location
 
Try it
Query IP address with IP2Location API on New Message In Channels from Slack API
Slack + IP2Location
 
Try it
Query IP address with IP2Location API on New Message in Channel from Discord Bot API
Discord Bot + IP2Location
 
Try it
Query IP address with the IP2Location API

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

 
Try it

Authentication

IP2Location uses API keys for authentication. When you connect your IP2Location account, Pipedream securely stores the keys so you can easily authenticate to IP2Location APIs in both code and no-code steps.

Access your API key from the License section in your IP2Location account in order to make authenticated requests to their API.