We're the trusted source for IP address data, handling over 40 billion API requests per month for over 500,000+ companies and developers.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipinfo_io: {
type: "app",
app: "ipinfo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipinfo.io/8.8.8.8`,
headers: {
Authorization: `Bearer ${this.ipinfo_io.$auth.api_token}`,
},
})
},
})
IPinfo.io uses API keys for authentication. When you connect your IPinfo.io account, Pipedream securely stores the keys so you can easily authenticate to IPinfo.io APIs in both code and no-code steps.
Sign in and copy your API Token from the dashboard under the Token page