The Abstract - IP Geolocation API allows you to request detailed information about a specific IP address, including country, region, city, latitude and longitude, and more. This information can be used to build a variety of applications and services, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
abstract_ip_geo: {
type: "app",
app: "abstract_ip_geo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipgeolocation.abstractapi.com/v1/?api_key=${this.abstract_ip_geo.$auth.api_key}&ip_address=75.111.82.152`,
})
},
})
Abstract - IP Geolocation API uses API keys for authentication. When you connect your Abstract - IP Geolocation API account, Pipedream securely stores the keys so you can easily authenticate to Abstract - IP Geolocation API APIs in both code and no-code steps.
Your API key is your unique authentication key to be used to access Abstract's IP Geolocation API. Note that each of Abstract's APIs has a unique API key, so you will need different keys to access the IP Geolocation and Email Validation API, for example.