import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
securitytrails: {
type: "app",
app: "securitytrails",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.securitytrails.com/v1/account/usage`,
headers: {
"APIKEY": `${this.securitytrails.$auth.api_key}`,
},
})
},
})
Returns the current data about the given hostname. See the documentation
Lists out specific historical information about the given hostname parameter. See the documentation
Returns the neighbors in any given IP level range and essentially allows you to explore closeby IP addresses.
SecurityTrails uses API keys for authentication. When you connect your SecurityTrails account, Pipedream securely stores the keys so you can easily authenticate to SecurityTrails APIs in both code and no-code steps.